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

SettingDefaultDescription
hostname""Server name in browser
sv_password""Join password (empty = public)
rcon_password""RCON password
sv_lan00=internet, 1=LAN only
sv_cheats0Disable cheats
sv_maxrate00=unlimited bandwidth
sv_region255255=worldwide
sv_logfile1Enable logging

Gameplay Settings (Per-Mode Configs)

Put gameplay settings in the mode-specific _server.cfg files:

SettingDefaultDescription
mp_maxrounds24Max rounds per match (MR12)
mp_roundtime1.92Round time in minutes
mp_freezetime15Freeze time at round start
mp_buytime20Buy time in seconds
mp_startmoney800Starting money
mp_warmuptime60Warmup duration
mp_friendlyfire1Enable friendly fire
mp_autoteambalance1Auto-balance teams

Config Loading Order

  1. autoexec.cfg (runs first on startup)
  2. server.cfg (server-level settings)
  3. 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.

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

On this page