Game modes + maps
Casual, competitive, deathmatch, and how to set the map pool.
CS2 server configuration is driven by two values: game_type and
game_mode. Common combinations:
| Mode | game_type | game_mode |
|---|---|---|
| Casual | 0 | 0 |
| Competitive | 0 | 1 |
| Wingman | 0 | 2 |
| Deathmatch | 1 | 2 |
| Arms Race | 1 | 0 |
| Custom | 3 | 0 |
Set these in your panel's startup variables. Restart to apply.
Map pool
A "map group" defines which maps cycle. Common groups:
mg_active— Active Duty (current competitive pool)mg_reserves— Reserves (older comp maps)mg_hostage— Hostage mapsmg_de_dust2— Single map (dust2 only)
Set in mapgroups.txt (in /cs2/game/csgo/). Or set
mapgroup env var in panel settings.
Starting map
startmap env var, e.g. de_dust2, de_mirage. This is the
map the server boots into.
Workshop maps
Set host_workshop_collection <id> in server.cfg (or
host_workshop_map <id> for a single map). Players download
maps on first join.
Find collection / map IDs on the Steam Workshop URL — the ?id=
number.
Server settings
server.cfg in /cs2/game/csgo/cfg/ is your main config. Common
edits:
hostname "Your Server Name"
sv_password "your-password" // empty for public
rcon_password "your-rcon-pass"
sv_maxplayers 10
sv_pure 1
mp_maxrounds 24
mp_overtime_enable 1
Restart after edits.