CS2 Console Commands List

  • Page 6

Below is Total CS' searchable list of all CS2 console commands. Each command in our database has detailed documentation, with help and argument explanation (hover over a command to view). Click on a command's name to visit its individual page, on which you can find more information including working examples and its default setting or value.

Type the name of a command into the search box to instantly filter our entire database of commands. Toggle between different views by pressing the "Card View" and "Table View" buttons.

If you are looking for a more specific selection of commands, you may prefer to sort by category.

Updated for CS2: We've updated our list to include over 1,000 console commands that were added in CS2.

We're the only website that has a complete list of all Counter-Strike 2 commands with complete documentation and examples. CS:GO Commands are hidden from this list by default. If you're playing on CS:GO, check the "Show CS:GO Commands" box to show commands that exist in Counter-Strike: Global Offensive.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help
Ad

Commands List

plant_bomb

Forces the player to plant a bomb at the location they are currently looking at, regardless of whether they are in a bomb site. This command is useful for testing purposes.

Examples, Generator & More
r_csgo_effects_bloom_when_smoked <0 / 1>

Controls the bloom effects when a smoke grenade is deployed in the game.

Name Description
0 / 1

Enable or disable bloom effects when a smoke grenade is deployed.

Examples, Generator & More
r_drawcsplayers <0 / 1>

This command is used to toggle the rendering of Counter-Strike players on or off. It requires 'cheat' flag to be enabled to work.

Name Description
0 / 1

Whether to render CS players or not.

Examples, Generator & More
snd_headphone_eq <0 / 1>

This command selects a preset for the headphone equalizer settings.

Name Description
0 / 1

Sets the headphone EQ to a specific preset or disables it.

Examples, Generator & More
snd_mvp_volume <Volume>

This useful console command sets how long the MVP music is when a player with a MVP kit wins MVP award that round.

Name Description
Volume

The volume of MVP music. The default value for this command is 1. Set this number lower to reduce the volume.

Examples, Generator & More
snd_voipvolume <Volume>

This command sets the volume of voice communication (VOIP) in the game.

Name Description
Volume

Volume level of voice communication.

Examples, Generator & More
spec_xray_dropped_defusekits <0 / 1>

This command configures whether dropped defuse kits are highlighted with an X-ray effect for spectators.

Name Description
0 / 1

Determines if the X-ray effect is enabled for dropped defuse kits.

Examples, Generator & More
spec_xray_dropped_unoccluded <0 / 1>

Controls whether dropped C4 explosives and defuse kits are always shown with the X-ray effect in spectator mode, making them easier to spot.

Name Description
0 / 1

Enable or disable the X-ray effect for dropped C4 and defuse kits in spectator mode.

Examples, Generator & More
sv_autobunnyhopping <0 / 1>

This command, if set to 1, will make you automatically bunny hop by holding down the space bar. Default is disabled (1).

Name Description
0 / 1

Set to 0 to disable (default). Set to 1 to enable automatic bunny hopping when you hold down the space bar.

Examples, Generator & More
sv_disable_teamselect_menu <0 / 1>

This command is used to disable the team selection menu on client interfaces. When enabled (set to 1), players will not be able to access the team selection menu in-game.

Name Description
0 / 1

Disable or enable the team selection menu.

Examples, Generator & More
sv_human_autojoin_team <0 / 1>

This command controls whether human players are automatically placed onto a team upon joining a game. When disabled, players can choose their team.

Name Description
0 / 1

Whether to automatically place human players onto a team.

Examples, Generator & More
sv_invites_only_mainmenu <0 / 1>

This command, when enabled, will make the game ignore any game invites received while the user is playing a match, only allowing invites to be acknowledged when in the main menu.

Name Description
0 / 1

Set to '1' to ignore invites during matches, '0' to allow invites.

Examples, Generator & More
sv_log_roundstats <0 / 1>

This command enables or disables the logging of round statistics in server logs.

Name Description
0 / 1

Determines whether logging of round statistics is enabled or disabled.

Examples, Generator & More
sv_prime_accounts_only <0 / 1>

This command, if set to 1, makes it so that only prime accounts can connect to the server. Default on most servers is 0 (meaning non-prime players can connect).

Name Description
0 / 1

Set to 0 to allow all CS:GO accounts to connect. Set to 1 to allow only CS:GO accounts with the prime status to connect to the server.

Examples, Generator & More
sv_showhitregistration <0 / 1>

This command controls the visualization of lag_compensated hitboxes, allowing to see where shots are hitting on players, which can be helpful for debugging issues with lag. The visualization can be set for server, client, or both.

Name Description
0 / 1

Toggles the display of lag_compensated hitboxes.

Examples, Generator & More
trusted_launch <0 / 1>

This command controls the trusted launch feature in CS2, which enhances the game's security measures.

Name Description
0 / 1

Determines whether the trusted launch feature is enabled or disabled.

Examples, Generator & More
ui_playsettings_directchallengekey <Challenge Key>

Sets or displays the current direct challenge key value, used for initiating or participating in direct challenges within the game.

Name Description
Challenge Key

The key used to connect directly for a challenge.

Examples, Generator & More
ui_playsettings_flags_listen_casual <0 / 1>

This command is used to configure settings related to casual matches in a listen server environment. It likely adjusts parameters that affect the casual game mode when playing in a non-dedicated server setup.

Name Description
0 / 1

Enables or disables casual match configurations in a listen server setup.

Examples, Generator & More
ui_playsettings_flags_listen_competitive <Flags Value>

This command is likely used to configure user interface elements related to competitive settings in a listen server environment. The default value '16' might correspond to specific UI flags.

Name Description
Flags Value

Value to set the UI play settings flags for competitive listen servers.

Examples, Generator & More
ui_playsettings_flags_listen_deathmatch <Value>

This command controls specific settings for a listen server in deathmatch mode. The default value is 32, which relates to certain predefined settings in deathmatch.

Name Description
Value

The settings value for a listen server in deathmatch mode.

Examples, Generator & More
1 5 6 7 130