Player slots
Player slots are determined by four factors:
-
The max-cap, which is the number of player slots in your plan. You see it in the Current plan card on the Billing tab of your server in the Fragnet dashboard. To get more or fewer slots, change your plan: see Upgrade or downgrade your server.
-
The admin (you) also has a max cap that can be set with vars.maxPlayers, between 0 and the number of slots in your plan. In
Startup.txtit follows your plan: the Configuration tab shows it as Max players in the Players and teams group, marked "Set by your plan. Change the plan on the Billing tab." To run with fewer players for a while, sendvars.maxPlayerswith the number you want (for examplevars.maxPlayers 32) from the Console on the Overview tab or from PRoCon. A value set this way lasts until the server restarts. -
During runtime the game engine will not allow the desired max-cap to be set to anything lower than the current number of players.
-
Depending on game mode there may also be a commander on each team, who is included in the maximum number of players and takes up one of your player slots, unless commanders are disabled. The same applies to spectators. In the Players and teams group of
Startup.txt, turn off Commander or lower Max spectators to keep those slots for players. See Change a setting.
The current desired max number of players is the minimum of the max-cap and the vars.maxPlayers value. Normally the engine will accept runtime changes to the setting within a second. However, if the vars.maxPlayers setting is set to anything lower than the current number of players on the server, the effective max number of players on the server will remain unchanged. The server will then retry changing the effective max-cap every 10 seconds until it succeeds.
The Players tab shows how many players are on the server and the current maximum while the server is running.
Some game modes are made for fewer players than your plan allows. The Maps tab warns you when a mode in your rotation is made for fewer players than your server has slots. See Map handling.