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.

mp_weapons_allow_rifles

CS2 and CSGO

Command

mp_weapons_allow_rifles

<-1 / 0 / 2 / 3>

Set which teams can buy rifles on the server.

Command Details

mp_weapons_allow_smgs

CS2 and CSGO

Command

mp_weapons_allow_smgs

<-1 / 0 / 2 / 3>

Sets which teams are allowed to buy SMGs on the server.

Command Details

mp_weapons_allow_typecount

CS2 and CSGO

Command

mp_weapons_allow_typecount

<Max Weapons>

Sets the maximum number of the same weapon type a player can buy each round.

Command Details

mp_weapons_allow_zeus

CS2 and CSGO

Command

mp_weapons_allow_zeus

<0 / 1>

Toggle whether players can buy the Zeus taser from the buy menu. Set to 1 to allow purchasing (default), or 0 to disable buying it.

Command Details

mp_weapon_self_inflict_amount

CS2 and CSGO

Command

mp_weapon_self_inflict_amount

<Damage>

Sets how much damage you take when you miss a shot. This damage cannot kill you but can reduce your health down to 1 HP.

Command Details

mp_weapons_glow_on_ground

CS2 and CSGO

Command

mp_weapons_glow_on_ground

<0 / 1>

Enable or disable a glowing outline around weapons lying on the ground. The default setting is off (0).

Command Details

mp_weapons_max_gun_purchases_per_weapon_per_match

CS2 and CSGO

Command

mp_weapons_max_gun_purchases_per_weapon_per_match

<Max Purchases>

Sets the maximum number of times a player can buy each weapon per match.

Command Details

mp_win_panel_display_time

CS2 and CSGO

Command

mp_win_panel_display_time

<Seconds>

Sets how many seconds the win panel shows between rounds. Default is 3 seconds.

Command Details

m_yaw

CS2 and CSGO

Command

m_yaw

<X Sensitivity>

Adjust your mouse sensitivity on the X axis to control how fast you look left and right.

Command Details

nav_avoid_obstacles

CS2 Only

Command

nav_avoid_obstacles

<0 / 1>

Controls whether bots and characters avoid obstacles while navigating.

Command Details