NB! It seems this console command is not compatible with CS2.
Command Profile

HOST_PLAYERS_SHOW

CS:GO

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

Syntax
host_players_show [0 / 1 / 2]

Description

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

Syntax And Arguments

host_players_show [0 / 1 / 2]
0 / 1 / 2 Your 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