How to Configure Your CS2 Dedicated Server (server.cfg)
Complete Counter-Strike 2 server.cfg reference — hostname, password, RCON, gameplay settings, and config file structure.
CS2 server settings are spread across multiple config files in /game/csgo/cfg/.
Config File Structure
server.cfg
autoexec.cfg
gamemode_casual_server.cfg
gamemode_competitive_server.cfg
gamemode_competitive2v2_server.cfg
gamemode_deathmatch_server.cfg
gamemodes_server.txt
mapcycle.txt
server.cfg — Core Settings
| Setting | Default | Description |
|---|---|---|
hostname | "" | Server name in browser |
sv_password | "" | Join password (empty = public) |
rcon_password | "" | RCON password |
sv_lan | 0 | 0=internet, 1=LAN only |
sv_cheats | 0 | Disable cheats |
sv_maxrate | 0 | 0=unlimited bandwidth |
sv_region | 255 | 255=worldwide |
sv_logfile | 1 | Enable logging |
Gameplay Settings (Per-Mode Configs)
Put gameplay settings in the mode-specific _server.cfg files:
| Setting | Default | Description |
|---|---|---|
mp_maxrounds | 24 | Max rounds per match (MR12) |
mp_roundtime | 1.92 | Round time in minutes |
mp_freezetime | 15 | Freeze time at round start |
mp_buytime | 20 | Buy time in seconds |
mp_startmoney | 800 | Starting money |
mp_warmuptime | 60 | Warmup duration |
mp_friendlyfire | 1 | Enable friendly fire |
mp_autoteambalance | 1 | Auto-balance teams |
Config Loading Order
autoexec.cfg(runs first on startup)server.cfg(server-level settings)gamemode_*_server.cfg(mode-specific overrides)
Later-loaded values override earlier ones. Best practice: "Less is more" — only set what you need to change.
Finding Available Settings
Use the server console:
find sv_
find mp_This lists all convars matching the keyword with descriptions.
Related Guides
How is this guide?

40% Off — Limited TimeGet your Counter Strike 2 server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server