CS2 Server Commands

Commands in this category can be used to change server and host settings like IP addresses, query settings, etc. They're useful in private servers, dedicated servers and for use as rcon commands.

sv_hide_roundtime_until_seconds

CS2 Only

Command

sv_hide_roundtime_until_seconds

<Seconds>

Sets how long before the round ends the round timer becomes visible. By default, the timer is always shown.

Command Details

sv_holiday_mode

CS2 and CSGO

Command

sv_holiday_mode

<0 / 1 / 2>

Enable or disable the server's holiday mode. Defaults to 0 (off). Use the options below to choose a holiday theme.

Command Details

sv_hoststate_quit_syscall

CS2 Only

Command

sv_hoststate_quit_syscall

<0 / 1>

When enabled, this command makes the server quit immediately using a system call instead of following the normal shutdown steps.

Command Details

sv_human_autojoin_team

CS2 Only

Command

sv_human_autojoin_team

<0 / 1>

Controls whether players are automatically assigned to a team when they join the game. If disabled, players can pick their team manually.

Command Details

sv_ignoregrenaderadio

CS2 and CSGO

Command

sv_ignoregrenaderadio

<0 / 1>

Enable this command (set to 1) to disable grenade radio messages like "Fire in the hole!" on your server.

Command Details

sv_infinite_ammo

CS2 and CSGO

Command

sv_infinite_ammo

<0 / 1 / 2>

Set infinite ammo mode for your weapons. Choose 1 to have unlimited ammo and never reload, or 2 to have infinite ammo for reloading only, requiring manual reload after each clip is empty.

Command Details

sv_invites_only_mainmenu

CS2 Only

Command

sv_invites_only_mainmenu

<0 / 1>

When enabled, this command blocks game invites while you're in a match and only accepts them when you're in the main menu.

Command Details

sv_jump_spam_penalty_time

CS2 Only

Command

sv_jump_spam_penalty_time

<Penalty Time>

Sets the time penalty for rapidly pressing the jump key. Lower values reduce this penalty, making bunnyhopping easier.

Command Details

sv_kick_ban_duration

CS2 and CSGO

Command

sv_kick_ban_duration

<Minutes>

Sets how long, in minutes, a player remains banned from the server after being kicked.

Command Details

sv_kick_players_with_cooldown

CS2 and CSGO

Command

sv_kick_players_with_cooldown

<0 / 1 / 2>

Control whether players with VAC, Overwatch, or other bans and cooldowns are allowed to connect to your server. Default (1) blocks only players with VAC or Overwatch bans, while ignoring griefing or matchmaking cooldowns.

Command Details