CS2 Console Commands List

  • Page 35

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
joy_axisv_relative

This command sets whether the vertical axis of a joystick should be read in a relative mode as opposed to an absolute mode for game input.

Examples, Generator & More
joy_axisv_relative <0 / 1>
joy_axisz_deadzone

Adjusts the deadzone for the z-axis of a joystick, which is the range in which small movements are ignored, making it easier to keep the joystick in a neutral position without unwanted input.

Examples, Generator & More
joy_axisz_deadzone <Deadzone value>
joy_axisz_relative

Defines whether the Z-axis input from a joystick (controller) should be treated as relative movement or absolute position.

Examples, Generator & More
joy_axisz_relative <0 / 1>
joy_sidesensitivity

This is a joystick command that sets what sensitivity your sideways camera movement uses. The higher you set this value, the less you need to move the joystick to look sideways.

Examples, Generator & More
joy_sidesensitivity <Sensitivity>
kickid_hltv

This command is used to kick a player from the game by their user ID or unique ID, optionally allowing a custom message to be attached to the kick action.

Examples, Generator & More
kickid_hltv <User ID or Unique ID><Reason>
log_verbosity

This command adjusts the verbosity level of a logging channel, influencing the amount and type of data logged.

Examples, Generator & More
log_verbosity <Channel Name><Verbosity Level>
mat_max_lighting_complexity

Sets the maximum lighting complexity allowed in the scene. A higher value allows for more complex lighting scenarios at the cost of performance. Used primarily for debugging and optimization.

Examples, Generator & More
mat_max_lighting_complexity <Maximum Lighting Complexity>
mat_overdraw

This command is used to visualize overdraw by highlighting areas of the screen that are being excessively rendered, aiding developers and artists in optimizing performance.

Examples, Generator & More
mat_overdraw <0 / 1>
mat_overdraw_color

Sets the color for the overdraw visualization in RGB format.

Examples, Generator & More
mat_overdraw_color <Red><Green><Blue>
mat_shading_complexity

This command is used to visualize shading complexity in the game environments, making it easier for developers to optimize graphics performance.

Examples, Generator & More
mat_shading_complexity <0 / 1>
mat_shading_complexity_color

This command sets the color value for shading complexity visualization, using RGB values to define the specific color.

Examples, Generator & More
mat_shading_complexity_color <Red><Green><Blue>
mat_shadowmap_luxels

This command, when enabled, shows the luxel data from the shadow mapping. Generally used for debugging shadow mapping.

Examples, Generator & More
mat_shadowmap_luxels <0 / 1>
mat_show_distance_field

Controls the visualization of the distance field and trace from camera to determine occlusion. Meant for debugging.

Examples, Generator & More
mat_show_distance_field <0 / 1 / 2>
mesh_calculate_curvature_smooth_invert

This command influences the mesh curvature calculation by potentially inverting smoothing operations, used mainly for debugging or visual effect adjustments.

Examples, Generator & More
mesh_calculate_curvature_smooth_invert <0 / 1>
mesh_calculate_curvature_smooth_pass_count

Determines the number of smoothing passes applied when calculating mesh curvature. This affects how smooth the resulting curvature data will be.

Examples, Generator & More
mesh_calculate_curvature_smooth_pass_count <Smoothing passes>
mesh_calculate_curvature_smooth_weight

This command adjusts the smoothness weight for curvature calculation, influencing the rendering of mesh surfaces.

Examples, Generator & More
mesh_calculate_curvature_smooth_weight <Smooth Weight>
model_default_preview_sequence_name

This command sets the default model preview sequence name, affecting how models are displayed in previews.

Examples, Generator & More
model_default_preview_sequence_name <Sequence Name>
mp_buy_allow_guns

This console command adjusts the rules in your server on what guns players can purchase.

Examples, Generator & More
mp_buy_allow_guns <1 / 2 / 4 / 8 / 16 / 32 / 255>
mp_hostages_spawn_force_positions_xyz

Sets specific XYZ coordinates to force the spawn positions of hostages in the game. Useful for creating custom hostage scenarios or for testing.

Examples, Generator & More
mp_hostages_spawn_force_positions_xyz <X1,Y1,Z1,X2,Y2,Z2,...>
mp_promoted_item_enabled

This command is used to control whether players can purchase the promoted item in the game. When enabled, players will have the option to buy a specific item that is being promoted, typically for a limited time.

Examples, Generator & More
mp_promoted_item_enabled <0 / 1>