CS2 server.cfg Builder

Fill in the form to generate a complete server.cfg for your CS2 dedicated server. The preview updates live — copy or download when ready.

Place the file at game/csgo/cfg/server.cfg on your server. It is loaded automatically on startup.
1. Server Identity hostname · rcon · password

Displayed in the server browser and scoreboard.

rcon_password — remote console access.

sv_password — players prompted on join.

2. Game Mode game_type · game_mode
game_type 0 + game_mode 1 — 5v5 Bomb Defusal — ranked/premier format.
3. Round Settings rounds · time · overtime · freeze

Total rounds before match ends. 30 = standard competitive.

0 = no time limit (use rounds instead).

Used for non-defuse modes. Default 5.

Round time for Bomb Defusal mode. Default 1.92.

Buy phase duration at round start. Default 15.

Rounds per overtime period. Default 6.

4. Player Settings teams · friendly fire · comms

Max players one team can lead by. 0 = no limit.

5. Network Rates rate · cmdrate · updaterate
Tip: For a 128-tick competitive server set min and max rates to the same value: sv_minrate 250000, sv_maxrate 250000, cmdrate/updaterate 128.

Bytes/sec minimum. 0 = no floor.

Bytes/sec maximum. 0 = unlimited.

Minimum client command packets/sec.

Maximum client command packets/sec.

Min server state snapshots/sec sent to clients.

Max server state snapshots/sec sent to clients.

6. Warmup warmuptime · pause

Duration of the warmup phase. Default 30.

7. Voting map change · surrender
8. Bots quota · difficulty

Number of bots to fill empty slots. 0 = no bots.

AI difficulty level.

9. Logging log · HTTP log endpoint

Optional. Sends log events via HTTP POST. Leave blank to log to file only.

Generated server.cfg

Live preview
// CS2 server.cfg — generated by DustBowl.Games
// https://dustbowl.games/tools/cs2-server-config

// ── Server Identity ────────────────────────────────────
hostname "My CS2 Server"
// rcon_password ""  // disabled
sv_password ""  // public server
sv_cheats 0
sv_lan 0

// ── Game Mode ─────────────────────────────────────────
// Competitive: 5v5 Bomb Defusal — ranked/premier format.
game_type 0
game_mode 1

// ── Round Settings ────────────────────────────────────
mp_maxrounds 30
mp_timelimit 0
mp_roundtime 5
mp_roundtime_defuse 2
mp_freezetime 15
mp_overtime_enable 1
mp_overtime_maxrounds 6

// ── Player Settings ───────────────────────────────────
mp_autoteambalance 1
mp_limitteams 2
sv_alltalk 0
mp_friendlyfire 0

// ── Network Rates ─────────────────────────────────────
sv_minrate 80000
sv_maxrate 0
sv_mincmdrate 64
sv_maxcmdrate 128
sv_minupdaterate 64
sv_maxupdaterate 128

// ── Warmup ────────────────────────────────────────────
mp_warmuptime 30
mp_warmup_pausetimer 0

// ── Voting ────────────────────────────────────────────
sv_vote_to_changelevel_before_match_point 0
mp_vote_allow_surrender 1

// ── Bots ──────────────────────────────────────────────
bot_quota 0
bot_difficulty 1

// ── Logging ───────────────────────────────────────────
log on

Where to place this file:
game/csgo/cfg/server.cfg
It loads automatically on server start. You can also reload it in-game with exec server.

Need a CS2 server?

Get a fully managed CS2 dedicated server with custom tick rates, plugins, and instant setup — no command line required.

Get a CS2 Server