RobustToolbox
RobustToolbox copied to clipboard
Servers should report max players using game.soft_max_players instead of game.maxplayers
For e.g., discord integration, it uses the wrong number. Also, soft_max_players should show up when listing cvars even for people who can't edit it so it's more clear there are two.
Also, soft_max_players should show up when listing cvars even for people who can't edit it so it's more clear there are two.
This is a problem with all SERVERONLY cvars and is not specific to game.soft_max_players. We could have the config system keep track of them for a more useful error message maybe, but not much more than that.
Also this isn't related to the launcher so i'll move it to engine.
Also, soft_max_players should show up when listing cvars even for people who can't edit it so it's more clear there are two.
This is a problem with all
SERVERONLYcvars and is not specific togame.soft_max_players. We could have the config system keep track of them for a more useful error message maybe, but not much more than that.
Why is game.maxplayers visible but game_soft_max_players isn't?