Here’s a list of ConVars and their values to help optimize your Source Engine game server.
These ConVars and commands should be set in a CFG file located in <gamedir>/cfg/
or set using the command line (prepending +
to each command). I recommend writing the configuration to <gamedir>/cfg/server.cfg
(e.g. cstrike/cfg/server.cfg
or garrysmod/cfg/server.cfg
).
All Games
sv_maxrate 0
sv_minrate 128000
sv_maxupdaterate <tickrate>
sv_minupdaterate <tickrate/2>
sv_maxcmdrate <tickrate>
sv_mincmdrate <tickrate/2>
net_splitpacket_maxrate 256000 // Does not exist for CS:GO. net_splitrate is useful in CS:GO instead.
sm_cvar net_maxcleartime 0.0001 // sm_cvar requires SourceMod and is only required for some games where the net_maxcleartime command is a hidden convar.
net_splitrate 4
The value of tickrate is 66 by default on most games, but you may see servers running 33, 100, or 128 tick.
CS:GO & CS2
These are additional ConVars and commands for Counter-Strike: Global Offensive and Counter-Strike 2.
sv_force_transmit_players 0
sv_force_transmit_ents 0