Counter Strike 2 configuration
Build a clean server.cfg for CS2, set secure passwords, customize hostnames, and configure the settings that matter for community servers.
Updated July 23, 2026
Counter Strike 2 This guide covers the configuration files and key settings for your Counter-Strike 2 server. For first boot and connecting, see Getting Started.
The main config is at game/csgo/cfg/server.cfg. CS2 inherits most cvars from CS:GO with small differences.
hostname "My GSK CS2 Server"
sv_password ""
rcon_password "STRONG_RANDOM"
sv_region 1
sv_lan 0
sv_pure 1
mp_friendlyfire 0
sv_alltalk 0
sv_voiceenable 1
mp_warmuptime 30
mp_warmup_pausetimer 0
mp_halftime 1
mp_maxrounds 24
mp_match_can_clinch 1
mp_overtime_enable 1
mp_overtime_maxrounds 6
mp_overtime_startmoney 12500
mp_round_restart_delay 5
mp_buytime 20
mp_buy_anywhere 0
mp_freezetime 15
mp_roundtime 1.92
mp_roundtime_defuse 1.92
mp_timelimit 0
mp_autoteambalance 1
mp_limitteams 2
mp_solid_teammates 1
mp_teammates_are_enemies 0
mp_match_end_restart 0
mp_match_restart_delay 15
sv_deadtalk 0
sv_full_alltalk 0
cash_team_terrorist_loser_bonus 1400
cash_team_loser_bonus 1400
mp_startmoney 800
mp_maxmoney 16000
cl_disablefreezecam 1
sv_downloadurl ""
sv_allowdownload 1
sv_allowupload 1
writeid
writeip
| Setting | Notes |
|---|---|
| hostname | Server browser display |
| sv_password | Set for private |
| rcon_password | Required for remote management |
| sv_pure | 1 enforces consistency; 0 allows custom assets |
| mp_maxrounds | 24 = first to 13 (MR12 competitive) |
| mp_freezetime | Seconds before round start |
| mp_buytime | Buy window in seconds |
| sv_region | 0=US East, 1=US West, 2=SA, 3=EU, 4=Asia, 5=Aus, 6=ME, 7=Africa |
After editing, run exec server.cfg in the console or restart.
Practice Server Config
For a nade-practice or warmup setup, save this as game/csgo/cfg/practice.cfg and run exec practice in the console:
sv_cheats 1
mp_warmup_end
mp_freezetime 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_maxmoney 60000
mp_startmoney 60000
mp_buytime 9999
mp_buy_anywhere 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory_prediction 1
mp_restartgame 1
bot_kick
sv_grenade_trajectory_prediction draws the throw arc while you line up, which is the setting most practice servers exist for.
What to Read Next
- Getting Started for first boot and the basics
- Counter-Strike 2 Admin Setup
- Counter-Strike 2 Workshop Maps
Made with 💜 by GameServerKings