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.

csm_viewmodel_max_shadow_dist

CS2 Only

Command

csm_viewmodel_max_shadow_dist

<Distance>

Sets the maximum distance at which shadows of the player's weapon and arms are shown.

Command Details

csm_viewmodel_max_visible_dist

CS2 Only

Command

csm_viewmodel_max_visible_dist

<Distance>

Sets the maximum distance at which viewmodels are visible in the game.

Command Details

csm_viewmodel_nearz

CS2 Only

Command

csm_viewmodel_nearz

<Z-axis proximity>

Sets how close the viewmodel (weapon and hands) appears on the Z-axis, helping you fine-tune its position on your screen.

Command Details

cs_quit_prompt

CS2 Only

Command

cs_quit_prompt

Use this command to exit the game.

Command Details

cs_ShowStateTransitions

CS2 and CSGO

Command

cs_ShowStateTransitions

<-2 / -1>

Displays player state transitions on the server to help monitor player actions.

Command Details

CS_WarnFriendlyDamageInterval

CS2 and CSGO

Command

CS_WarnFriendlyDamageInterval

<Frequency>

Sets how often the server notifies players when a teammate takes damage from another player.

Command Details

custom_bot_difficulty

CS2 and CSGO

Command

custom_bot_difficulty

<Difficulty>

Set the difficulty level for custom bots on your server.

Command Details

cv_bot_ai_bt_debug_target

CS2 Only

Command

cv_bot_ai_bt_debug_target

<Bot ID>

Displays the behavior tree of a specified bot to help developers and testers analyze and debug the bot's decision-making.

Command Details

cv_bot_ai_bt_hiding_spot_show

CS2 Only

Command

cv_bot_ai_bt_hiding_spot_show

<0 / 1>

Shows or hides bot hiding spots on the map to help test and debug bot AI behavior in CS2.

Command Details

cv_bot_ai_bt_moveto_show_next_hiding_spot

CS2 Only

Command

cv_bot_ai_bt_moveto_show_next_hiding_spot

<0 / 1>

Enables visualization of the next hiding spot bots plan to check, helping you understand their movement and pathfinding.

Command Details