CS2 Console Commands

Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details. Click (Command Details) to view each specific command in more detail.

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

sv_ladder_slack_z_mult

CS2 Only

Command

sv_ladder_slack_z_mult

<Multiplier>

Adjusts how much the ladder's vertical position shifts towards the middle, affecting vertical movement on a slack ladder.

Command Details

sv_lan

CS2 and CSGO

Command

sv_lan

<0 / 1>

Sets the server to LAN mode or normal mode. LAN servers disable heartbeat, Steam authentication, and restrict connections to class C IP addresses. Default is 0 (normal server).

Command Details

sv_late_commands_allowed

CS2 Only

Command

sv_late_commands_allowed

<Number of allowed late commands>

Sets how many late commands can run at 0 timescale before the next on-time command executes. Supports negative values to enable network round trip calculations, capped by the absolute value.

Command Details

sv_lightquery_debug

CS2 Only

Command

sv_lightquery_debug

<0 / 1>

Toggle lighting debug mode to help developers troubleshoot lighting issues in the game environment on the server.

Command Details

sv_load_random_client_names_file

CS2 and CSGO

Command

sv_load_random_client_names_file

<File Name>

Loads the specified file containing random client names.

Command Details

sv_logbans

CS2 and CSGO

Command

sv_logbans

<0 / 1>

Enable this command to log all server bans in the server log. By default, ban logging is off.

Command Details

sv_logblocks

CS2 and CSGO

Command

sv_logblocks

<0 / 1>

Enable logging to record when server queries are blocked. Off by default to prevent large log files, but turning it on helps track blocked queries.

Command Details