Live 50 humans online 13 active servers Peak online today 70 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". 60 of the 70 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 60 of 70 tracked servers.

  • 040 servers
  • 646 servers
  • 204 servers
  • 324 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.