CS2 Console Commands List

  • Page 29

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
IPS

Commands List

Command Description More
repeat_last_console_command

Repeats the last command that was entered into the console. This is useful for quickly re-executing commands without needing to type them again.

Examples, Generator & More
repeat_last_console_command
r_flashlighttracedistcutoff

This command adjusts the cutoff distance for the flashlight's trace in the game, impacting how the flashlight beam interacts with surfaces and objects.

Examples, Generator & More
r_flashlighttracedistcutoff <Distance>
r_indirectlighting

This command enables or disables the use of indirect lighting in the game, which can affect the game's visual appearance.

Examples, Generator & More
r_indirectlighting <0 / 1>
r_muzzleflashlinear

Adjusts the linear scale of muzzle flashes. Lower values decrease the size, while higher values increase it.

Examples, Generator & More
r_muzzleflashlinear <Linear Scale>
r_showdebugoverlays

This command toggles the rendering of debug overlays, which can provide valuable information for developers or players looking to debug specific features within the game.

Examples, Generator & More
r_showdebugoverlays <0 / 1>
r_size_cull_threshold_shadow

Specifies the threshold as a percentage of the sun shadow map size beneath which objects are culled, used as a performance optimization technique.

Examples, Generator & More
r_size_cull_threshold_shadow <Threshold value>
sc_disable_shadow_materials

This command disables the rendering of shadow materials, which can affect the visual appearance of shadows in the game.

Examples, Generator & More
sc_disable_shadow_materials <0 / 1>
sc_extended_stats

Enables or disables the display of extended statistics in the console.

Examples, Generator & More
sc_extended_stats <0 / 1>
script_reload

This command reloads all scripts currently in use by the game. It's useful for developers or during debugging to apply changes without restarting the game entirely.

Examples, Generator & More
script_reload
sellbackall

Attempts to refund all equipment owned by the player, effectively selling it back.

Examples, Generator & More
sellbackall
shatterglass_break

This command simulates the breaking of glass objects within the game environment.

Examples, Generator & More
shatterglass_break
shatterglass_cleanup

Determines whether broken glass debris is automatically cleaned up in the game environment, aiding in performance and visual clarity.

Examples, Generator & More
shatterglass_cleanup <0 / 1>
shatterglass_cleanup_max

This command determines the maximum amount of shattered glass pieces that can exist in the environment at one time before older pieces are cleaned up to make room for new ones.

Examples, Generator & More
shatterglass_cleanup_max <Max Shattered Glass Pieces>
shatterglass_distort

This command enables or disables the distortion effect when glass shatters in-game.

Examples, Generator & More
shatterglass_distort <0 / 1>
shatterglass_hit_tolerance

Determines the tolerance level for the shattering of glass upon being hit in the game.

Examples, Generator & More
shatterglass_hit_tolerance <Tolerance Level>
snd_cast

Casts a ray from the player's viewpoint, creating a sound event where the ray intersects with an object in the game world. This command is primarily used for debugging audio issues. The sound can be set to retrigger periodically, and previous sound events can be cleared.

Examples, Generator & More
snd_cast
snd_occlusion_min_wall_thickness

Defines the minimum thickness of walls for sound occlusion calculations in the game.

Examples, Generator & More
snd_occlusion_min_wall_thickness <Wall Thickness>
snd_rear_stereo_scale

This command adjusts the scale of stereo sound for rear speakers in a surround sound setup, enhancing or reducing spatial sound effects.

Examples, Generator & More
snd_rear_stereo_scale <Scale>
splitscreen_mode

This command toggles the splitscreen mode in-game, allowing for multiple views on the same screen, typically used for local multiplayer.

Examples, Generator & More
splitscreen_mode <0 / 1>
status_json

This command is used to print the current game status, including player and server information, in JSON format for easier parsing and automation tasks.

Examples, Generator & More
status_json