RobustToolbox icon indicating copy to clipboard operation
RobustToolbox copied to clipboard

Servers should report max players using game.soft_max_players instead of game.maxplayers

Open Elijahrane opened this issue 3 years ago • 3 comments

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.

Elijahrane avatar Jun 26 '22 23:06 Elijahrane

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.

PJB3005 avatar Jun 27 '22 01:06 PJB3005

Also this isn't related to the launcher so i'll move it to engine.

PJB3005 avatar Jun 27 '22 01:06 PJB3005

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.

Why is game.maxplayers visible but game_soft_max_players isn't?

Elijahrane avatar Jun 27 '22 02:06 Elijahrane