Server Settings (server.cfg)

Edit cfg/server.cfg of a Counter-Strike 2 server from the CS2 Settings tab: server name, passwords, round rules and bots, then save or apply live over RCON.

PlaySafe Team Β· Counter-Strike 2 Β· Updated

Server Settings (server.cfg)

The CS2 Settings tab is a form for the most common cvars of cfg/server.cfg, the file CS2 reads when it starts and on every map change.

To open it, go to Hosting > Game Servers > your server and click the CS2 Settings tab. The page is titled Server settings (cfg/server.cfg).


Change settings

  1. Change one or more fields. Each field shows its label and the cvar name next to it.
  2. Click one of the two buttons at the top right (they are enabled once something changed):
    • Save: writes the file. The message says β€œSaved. Effective on next map change.”
    • Save + apply live: writes the file and also sends the changed cvars to the running server over RCON, so they apply now. The message says β€œSaved + applied live via RCON.”

Save works while the server is stopped. Save + apply live needs RCON turned on, see Before you start.

Only the cvars in this form are written. Other lines already in server.cfg stay as they are; edit them in the Files tab.


Fields

Identity

FieldCvarNotes
Server namehostnameShown in the Steam server browser.
Server passwordsv_passwordEmpty means public.
RCON passwordrcon_passwordSee the note below.
Steam groupsv_steamgroupOptional Steam group ID for group-only access.

Game rules

FieldCvarRange
Max roundsmp_maxrounds1 to 60
Round time (minutes)mp_roundtime0.5 to 10
Freeze time (seconds)mp_freezetime0 to 60
Warmup time (seconds)mp_warmuptime0 to 600
Friendly firemp_friendlyfireOn / Off
Auto team balancemp_autoteambalanceOn / Off
Limit teams (diff)mp_limitteams0 to 30
Buy time (seconds)mp_buytime0 to 120
Starting moneymp_startmoney800 to 16000

Bots

FieldCvarValues
Bot quotabot_quota0 to 32 bots filling empty slots
Bot difficultybot_difficultyEasy, Normal, Hard, Expert
Bot chatterbot_chatterOff, Minimal, Normal, Radio only

Server

FieldCvar
Cheats enabledsv_cheats
Pausablesv_pausable
Allow votessv_allow_votes
Voice chat enabledsv_voiceenable
All talksv_alltalk
!

Keep cheats off on a public server

With `sv_cheats` on, admins can use commands like `noclip` or `god`. Turn it on only for testing.

Changing the RCON password

The panel itself uses the RCON Password variable to talk to your server. When you change RCON password here, the panel also updates that variable, so it keeps access. The new password must follow the same rule: 1 to 30 letters, numbers, dashes or underscores.

Do not change rcon_password with an RCON command: the panel would not know the new password.