host_players_show Command


host_players_show [0 / 1 / 2]

This command will set how the playercount is disclosed when your server is queried. See argument information for options.

Arguments


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

0 / 1 / 2Your desired option for how playercount is shown when the server is queried. Options are:
  • 0 - no playercount shown
  • 1 - maximum playercount without count of online players
  • 2 - full playercount

Extra Info

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

host_players_show Examples


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


host_players_show 0

This command will disable your playercount being shown when the server is queried.


host_players_show 1

This command will make it so that only your maximum playercount (the amount of slots your server has) is shown when the server is queried.


host_players_show 2

This command will make it so that your online player count and full playercount information is shown when the server is queried.


host_writeconfig

Use this command to save your settings you have changed with host_ commands so that they apply even when the server restarts.