Skip to content

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 August 07, 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 with your Counter-Strike 2 server.

The main config is at game/csgo/cfg/server.cfg. CS2 inherits most cvars from CS:GO with small differences. Admin permissions are not set here - they need a plugin, which the CS2 admin setup guide walks through.

What Goes in server.cfg

The blocks below are one file, split by what each group controls. Paste them in order, or take only the sections you need.

Identity and access

Everything that decides who can see the server and who can administer it.

hostname "My GSK CS2 Server"
sv_password ""
rcon_password "STRONG_RANDOM"
sv_region 1
sv_lan 0
sv_pure 1
server.cfg - identity and access
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
sv_region 0=US East, 1=US West, 2=SA, 3=EU, 4=Asia, 5=Aus, 6=ME, 7=Africa

Match format

mp_maxrounds 24
mp_match_can_clinch 1
mp_halftime 1
mp_overtime_enable 1
mp_overtime_maxrounds 6
mp_overtime_startmoney 12500
mp_match_end_restart 0
mp_match_restart_delay 15
server.cfg - match format
Setting Notes
mp_maxrounds 24 = first to 13 (MR12 competitive)

Round timing

mp_warmuptime 30
mp_warmup_pausetimer 0
mp_freezetime 15
mp_buytime 20
mp_buy_anywhere 0
mp_roundtime 1.92
mp_roundtime_defuse 1.92
mp_timelimit 0
mp_round_restart_delay 5
server.cfg - round timing
Setting Notes
mp_freezetime Seconds before round start
mp_buytime Buy window in seconds

Economy

mp_startmoney 800
mp_maxmoney 16000
cash_team_terrorist_loser_bonus 1400
cash_team_loser_bonus 1400
server.cfg - economy

Teams, voice and friendly fire

mp_friendlyfire 0
mp_autoteambalance 1
mp_limitteams 2
mp_solid_teammates 1
mp_teammates_are_enemies 0
sv_alltalk 0
sv_voiceenable 1
sv_deadtalk 0
sv_full_alltalk 0
cl_disablefreezecam 1
server.cfg - teams and voice

Downloads and persistence

sv_downloadurl ""
sv_allowdownload 1
sv_allowupload 1

writeid
writeip
server.cfg - downloads and persistence

Edits do not apply until you reload the config

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. For scrims and matches rather than practice, running competitive matches covers match configs and the plugins they need:

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
practice.cfg

See the throw arc while you line up

sv_grenade_trajectory_prediction draws the throw arc while you line up, which is the setting most practice servers exist for.


Made with 💜 by GameServerKings

Need a Counter-Strike 2 server?

Deploy an instantly-provisioned Counter-Strike 2 server on high-clock hardware — DDoS protected, no contracts, cancel anytime.

From $11.50 /month