Live 33 humans online 4 active servers Peak online today 34 Record 102

g_maxGameClients

SoF2 CVAR Console Commands for Soldier of Fortune 2

g_maxGameClients is a Soldier of Fortune 2 console variable (CVAR) in the Server group. Maximum number of clients that can be actively playing (not spectating). Its default value is "0". 69 of the 79 game servers we track set it; the most common value is "0".

Default
0
Syntax
seta g_maxGameClients "0"
Example
seta g_maxGameClients "8"
Notes
0 = no limit (all connected clients may play). Set to a number to force excess players to spectate.
On the servers

Set on 69 of 79 tracked servers.

  • 046 servers
  • 327 servers
  • 646 servers
  • 204 servers
  • 102 servers
  • + 4 more servers with other values

How to change it

Open the console with ~ and type the command:

seta g_maxGameClients "8"

To keep the setting, put the same line (starting with seta) in your config file, such as sof2mp.cfg in the game's base folder.