maxplayers Command

maxplayers [Amount]

This command sets the maximum amount of players that can connect to your server (i.e. the player cap).


Arguments are parameters that you add to a command. Find information about this command's arguments below.

AmountThe maximum amount of players that can connect. 10 would mean only 10 can connect at any given time.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both

maxplayers Examples

Find below working examples of this command (copy and paste into console).

maxplayers 24

This command would give your server 24 slots, allowing 24 people to connect.