CS2 Console Commands List

  • Page 79

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
Loading...

Commands List

Command Description More
labelled_debug_helper_enabled

Enables or disables the labeled debug helper, which is used to display debugging information with labels in-game for development and testing purposes.

Examples, Generator & More
labelled_debug_helper_enabled <0 / 1>
labelled_debug_helper_scale

Adjusts the scale at which debug labels are displayed on screen. This is useful for developers or players who are using debugging features to tweak or inspect the game's inner workings.

Examples, Generator & More
labelled_debug_helper_scale <Scale>
labelled_debug_helper_show_position

This command displays the player's position in the game world when enabled, useful for debugging purposes.

Examples, Generator & More
labelled_debug_helper_show_position <0 / 1>
labelled_debug_helper_show_text

This command controls the visibility of debug helper text in game, which can include various information useful for debugging purposes.

Examples, Generator & More
labelled_debug_helper_show_text <0 / 1>
labelled_debug_helper_skeleton_show_bone_names

This command toggles the display of bone names in the debug helper skeleton view, aiding in development and debugging.

Examples, Generator & More
labelled_debug_helper_skeleton_show_bone_names <0 / 1>
lastinv

This console command immediately equips the weapon/item you took out most recently in your inventory.

Examples, Generator & More
lastinv
launch_warmup_map

This console command will place you in a 10 minute deathmatch game, filled entirely with bots. It is just like playing the deathmatch game mode, but is offline.

Examples, Generator & More
launch_warmup_map
lb_barnlight_shadowmap_scale

Changes the scale for the computed barnlight shadowmap size, affecting shadow resolution.

Examples, Generator & More
lb_barnlight_shadowmap_scale <Scale>
lb_shadow_map_culling

This command controls the culling of shadow maps, potentially improving performance by not calculating shadows for objects not in view.

Examples, Generator & More
lb_shadow_map_culling <0 / 1>
lb_show_light_fog_clipmap_cb_cost

Shows the cost of lights in the fog clipmap constant buffer, with yellow indicating a cost of 1 and red indicating a cost of 6. This is used for debugging and optimization purposes.

Examples, Generator & More
lb_show_light_fog_clipmap_cb_cost <0 / 1>
lightquery_debug_direct_lighting

Activates or deactivates the debugging of direct lighting effects in the game, primarily for development or debugging purposes.

Examples, Generator & More
lightquery_debug_direct_lighting <0 / 1>
lockMoveControllerRet

This is a client only command.

Examples, Generator & More
lockMoveControllerRet <0 / 1>
logaddress_add_http_delayed

This command is used to set a delay and URI of a listener to receive logs via HTTP POST. The URI must be wrapped in double quotes.

Examples, Generator & More
logaddress_add_http_delayed <URI><Delay>
log_dumpchannels

This console command is used to dump all of the information pertaining the logging channels in game into your developer console.

Examples, Generator & More
log_dumpchannels
log_flags

This cheat command produces a detailed list in the developer console on how to set up flags for the logging channel.

Examples, Generator & More
log_flags
log_level

This cheat command produces a detailed list in the developer console on how to set up the spew level for the logging channel.

Examples, Generator & More
log_level
mapgroup

This command will set the server's map group to the specified map group. Map groups are the groups of maps that a server will cycle through.

Examples, Generator & More
mapgroup <Map Group>
mapoverview_allow_client_draw
mapoverview_allow_client_draw
mapoverview_icon_scale

This command sets the scale multiplier for icons on the overview map (that spectators can open usually by pressing CTRL). If set to 2, icons would be 2x the size they usually are on the overview map. Default is 1.

Examples, Generator & More
mapoverview_icon_scale <Multiplier>
maps

This command prints to console a list of all of the maps you have installed/downloaded.

Examples, Generator & More
maps