GEEKHUB / COUNTER-STRIKE 2

CS2 Server Commands

Browse documented server console commands.

249 documented commands
Browse command categories 18 topics
How to use console commands

Enable the developer console in game settings, open it using your assigned key, then enter a command. Check its context before use. Server commands require appropriate server permissions; practice-only commands belong in controlled sessions.

249 commands
CommandDescription & syntaxCompatibilityActions
sv_clantags_enabledServer · Server

Controls clan-tag display on a custom server, added in the September 25, 2026 update.

Syntax & details
sv_clantags_enabled <0 / 1>

Example

sv_clantags_enabled 0
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
game_modeServer · Server

Selects a mode within the selected game type before loading a map.

Syntax & details
game_mode <mode index>

Example

game_mode 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
game_typeServer · Server

Selects a game type together with game_mode.

Syntax & details
game_type <type index>

Example

game_type 0
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cash_team_bonus_shorthandedServer · Server

Changes the bonus paid to a team playing with fewer members.

Syntax & details
cash_team_bonus_shorthanded <cash amount>

Example

cash_team_bonus_shorthanded 1000
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_freezetimeServer · Server

Adjust the waiting period at the beginning of a round on your own server.

Syntax & details
mp_freezetime <seconds>

Example

mp_freezetime 0
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
sv_game_mode_convarsServer · Server

Inspect the variables associated with the selected game mode.

Syntax & details
sv_game_mode_convars

Example

sv_game_mode_convars
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
statsServer · Server

Display server performance information in the console.

Syntax & details
stats

Example

stats
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_warmuptimeServer · Server

Sets the duration of the warmup before the match.

Syntax & details
mp_warmuptime <seconds>

Example

mp_warmuptime 60
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_maxroundsServer · Server

Sets the maximum regulation round count.

Syntax & details
mp_maxrounds <rounds>

Example

mp_maxrounds 24
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_roundtimeServer · Server

Sets the general round time limit; mode-specific values can override it.

Syntax & details
mp_roundtime <minutes>

Example

mp_roundtime 2
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_friendlyfireServer · Server

Allows teammates to deal damage to one another.

Syntax & details
mp_friendlyfire <0 / 1>

Example

mp_friendlyfire 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_autoteambalanceServer · Server

Controls automatic team balancing.

Syntax & details
mp_autoteambalance <0 / 1>

Example

mp_autoteambalance 0
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_limitteamsServer · Server

Limits the difference in team sizes; zero removes the limit.

Syntax & details
mp_limitteams <players>

Example

mp_limitteams 0
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_halftimeServer · Server

Enables a halftime side swap.

Syntax & details
mp_halftime <0 / 1>

Example

mp_halftime 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_overtime_enableServer · Server

Allows tied matches to continue into overtime.

Syntax & details
mp_overtime_enable <0 / 1>

Example

mp_overtime_enable 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_c4timerServer · Server

Sets the planted bomb countdown duration.

Syntax & details
mp_c4timer <seconds>

Example

mp_c4timer 40
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_timelimitServer · Server

Controls the map time limit; zero removes it.

Syntax & details
mp_timelimit <minutes>

Example

mp_timelimit 0
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_warmup_startServer · Server

Begins the warmup phase.

Syntax & details
mp_warmup_start

Example

mp_warmup_start
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_warmup_pausetimerServer · Server

Holds the warmup countdown until resumed.

Syntax & details
mp_warmup_pausetimer <0 / 1>

Example

mp_warmup_pausetimer 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_overtime_maxroundsServer · Server

Sets the number of rounds in an overtime period.

Syntax & details
mp_overtime_maxrounds <rounds>

Example

mp_overtime_maxrounds 6
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_match_end_restartServer · Server

Restarts the match at its conclusion rather than rotating maps.

Syntax & details
mp_match_end_restart <0 / 1>

Example

mp_match_end_restart 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_max_armorServer · Server

Limits the armor types that players may purchase.

Syntax & details
mp_max_armor <0 / 1 / 2>

Example

mp_max_armor 2
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_overtime_halftime_pausetimerServer · Server

Enables a paused timer at overtime halftime.

Syntax & details
mp_overtime_halftime_pausetimer <0 / 1>

Example

mp_overtime_halftime_pausetimer 1
Category
Server
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
disconnectServer · Client

Leaves the current game and returns to the menu.

Syntax & details
disconnect

Example

disconnect
Category
Server
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →

Copy manually

Clipboard access is unavailable. Select and copy the text below.