sv_visiblemaxplayers Command


sv_visiblemaxplayers [Amount]

This command can be used to set a "maximum players" number that's visible to people in the server browser and server queries. This number is only for show, and the actual maximum number of players that can join is set by the "maxplayers" command.

Arguments


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

AmountThe maximum amount of players ("slots") that are shown to players in the server browser and in server queries for server lists.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value -1

sv_visiblemaxplayers Examples


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


sv_visiblemaxplayers 100

This command would make it seem as if there were 100 slots on your server to people (the playercount would show x/100), but the maximum amount of players that can connect to your server is what the "maxplayers" cvar is set to.