CS2 Console Commands

Browse 397+ console commands for CS2 and CS:GO. Search, filter, and copy with one click.

The complete database of CS2 console commands including server (SV), client (CL), and multiplayer (MP) commands. Every command includes syntax, description, and examples. Use the search bar to find any command instantly, or filter by category. Need help with binds? Check our CS2 Binds page or Launch Options guide.

Showing 397 commands

cl_forwardspeed

BothMovement

Sets the forward movement speed multiplier.

Syntax: cl_forwardspeed <value>

cl_sidespeed

BothMovement

Sets the side movement speed multiplier.

Syntax: cl_sidespeed <value>

sv_maxspeed

BothMovement

Sets the maximum movement speed for all players on the server.

Syntax: sv_maxspeed <value>

sv_enablebunnyhopping

BothMovement

Enables or disables bunny hopping on the server.

Syntax: sv_enablebunnyhopping <0|1>

Example: sv_enablebunnyhopping 1

sv_autobunnyhopping

CS2Movement

Enables automatic bunny hopping. Hold jump to bhop.

Syntax: sv_autobunnyhopping <0|1>

Example: sv_autobunnyhopping 1

sv_staminamax

BothMovement

Controls the maximum stamina penalty for landing.

Syntax: sv_staminamax <value>

sv_staminalandcost

BothMovement

Stamina penalty for landing from a jump.

Syntax: sv_staminalandcost <value>

sv_staminajumpcost

BothMovement

Stamina cost for jumping.

Syntax: sv_staminajumpcost <value>

cl_showpos

BothMovement

Shows your position, velocity, and angles on screen.

Syntax: cl_showpos <0|1>

Example: cl_showpos 1

give

BothWeapon

Gives you the specified weapon.

Syntax: give <weapon_name>

Example: give weapon_ak47

mp_buy_anywhere

BothWeapon

Allow players to buy anywhere on the map.

Syntax: mp_buy_anywhere <0|1>

Example: mp_buy_anywhere 1

mp_buytime

BothWeapon

Sets the buy time in seconds after round start.

Syntax: mp_buytime <seconds>

Example: mp_buytime 9999

mp_maxmoney

BothWeapon

Sets the maximum amount of money a player can have.

Syntax: mp_maxmoney <amount>

Example: mp_maxmoney 65535

mp_startmoney

BothWeapon

Sets the starting money for all players.

Syntax: mp_startmoney <amount>

Example: mp_startmoney 65535

sv_infinite_ammo

BothWeapon

0 = disabled, 1 = infinite ammo no reload, 2 = infinite ammo with reload.

Syntax: sv_infinite_ammo <0|1|2>

Example: sv_infinite_ammo 1

mp_drop_knife_enable

CS2Weapon

Allow players to drop knives.

Syntax: mp_drop_knife_enable <0|1>

cl_hud_color

BothHUD

Changes the HUD color. 0=Default, 1=White, 2=Light Blue, etc.

Syntax: cl_hud_color <0-10>

cl_showfps

BothHUD

Shows FPS counter on screen. 0=off, 1=fps, 2=fps+smoothed.

Syntax: cl_showfps <0|1|2>

Example: cl_showfps 1

cl_draw_only_deathnotices

BothHUD

Removes the entire HUD except death notices. Great for movie making.

Syntax: cl_draw_only_deathnotices <0|1>

net_graph

CS:GOHUD

Shows network information including FPS, ping, and packet loss.

Syntax: net_graph <0|1>

cl_drawhud

BothHUD

Toggles the entire HUD on or off.

Syntax: cl_drawhud <0|1>

rate

BothNetwork

Max bytes per second the host can receive data.

Syntax: rate <value>

Example: rate 786432

cl_interp

CS:GONetwork

Sets the interpolation amount in seconds.

Syntax: cl_interp <value>

cl_interp_ratio

CS:GONetwork

Sets the interpolation amount as a ratio.

Syntax: cl_interp_ratio <value>

Example: cl_interp_ratio 1

cl_cmdrate

CS:GONetwork

Max number of command packets sent to server per second.

Syntax: cl_cmdrate <value>

Example: cl_cmdrate 128

cl_updaterate

CS:GONetwork

Number of packets per second of updates from server.

Syntax: cl_updaterate <value>

Example: cl_updaterate 128

fps_max

BothGraphics

Frame rate limiter. 0 = unlimited.

Syntax: fps_max <value>

Example: fps_max 0

r_drawparticles

BothGraphics

Toggle rendering of particles.

Syntax: r_drawparticles <0|1>

mat_queue_mode

CS:GOGraphics

Queued material system mode. -1=auto, 2=multi-threaded.

Syntax: mat_queue_mode <-1|0|1|2>

r_drawtracers_firstperson

BothGraphics

Toggle first-person bullet tracers.

Syntax: r_drawtracers_firstperson <0|1>

cl_disablehtmlmotd

BothGraphics

Disable HTML message of the day popups when joining servers.

Syntax: cl_disablehtmlmotd <0|1>

volume

BothSound

Sets the master volume level.

Syntax: volume <0-1>

Example: volume 0.5

snd_headphone_pan_exponent

BothSound

Adjusts headphone panning. Higher values = more directional.

Syntax: snd_headphone_pan_exponent <value>

snd_front_headphone_position

BothSound

Sets the front headphone position for sound.

Syntax: snd_front_headphone_position <value>

snd_rear_headphone_position

BothSound

Sets the rear headphone position for sound.

Syntax: snd_rear_headphone_position <value>

voice_scale

BothSound

Sets the volume of other players' voice chat.

Syntax: voice_scale <0-1>

cl_crosshairsize

BothCrosshair

Sets the size/length of the crosshair lines.

Syntax: cl_crosshairsize <value>

Example: cl_crosshairsize 2

cl_crosshairgap

BothCrosshair

Sets the gap between crosshair lines.

Syntax: cl_crosshairgap <value>

Example: cl_crosshairgap -2

cl_crosshairthickness

BothCrosshair

Sets the thickness of crosshair lines.

Syntax: cl_crosshairthickness <value>

Example: cl_crosshairthickness 0.5

cl_crosshairdot

BothCrosshair

Toggles the center dot on the crosshair.

Syntax: cl_crosshairdot <0|1>

cl_crosshaircolor

BothCrosshair

Sets the crosshair color preset. 5 = custom RGB.

Syntax: cl_crosshaircolor <0-5>

cl_crosshaircolor_r

BothCrosshair

Red value for custom crosshair color.

Syntax: cl_crosshaircolor_r <0-255>

cl_crosshaircolor_g

BothCrosshair

Green value for custom crosshair color.

Syntax: cl_crosshaircolor_g <0-255>

cl_crosshaircolor_b

BothCrosshair

Blue value for custom crosshair color.

Syntax: cl_crosshaircolor_b <0-255>

cl_crosshair_drawoutline

BothCrosshair

Draws a black outline around the crosshair for visibility.

Syntax: cl_crosshair_drawoutline <0|1>

cl_crosshairstyle

BothCrosshair

Sets the crosshair style. 4 = static, 5 = classic dynamic.

Syntax: cl_crosshairstyle <0-5>

Example: cl_crosshairstyle 4

bind

BothBinds

Binds a key to a command.

Syntax: bind <key> "<command>"

Example: bind "f" "use weapon_flashbang"

unbind

BothBinds

Removes the binding from a key.

Syntax: unbind <key>

unbindall

BothBinds

Removes all key bindings. Use with caution!

Syntax: unbindall

bindtoggle

BothBinds

Binds a key to toggle a command between 0 and 1.

Syntax: bindtoggle <key> "<command>"

Example: bindtoggle "h" "cl_righthand"

toggleconsole

BothBinds

Opens or closes the developer console.

Syntax: toggleconsole

changelevel

BothServer

Changes the current map on the server.

Syntax: changelevel <map_name>

Example: changelevel de_dust2

mp_warmup_end

BothServer

Ends the warmup period immediately.

Syntax: mp_warmup_end

mp_restartgame

BothServer

Restarts the game after the specified number of seconds.

Syntax: mp_restartgame <seconds>

Example: mp_restartgame 1

mp_roundtime

BothServer

Sets the round time in minutes.

Syntax: mp_roundtime <minutes>

Example: mp_roundtime 60

mp_roundtime_defuse

BothServer

Sets the round time for defuse maps.

Syntax: mp_roundtime_defuse <minutes>

mp_freezetime

BothServer

Sets the freeze time at the start of each round.

Syntax: mp_freezetime <seconds>

Example: mp_freezetime 0

bot_add

BothServer

Adds a bot to the game.

Syntax: bot_add

bot_kick

BothServer

Kicks all bots from the game.

Syntax: bot_kick

sv_cheats

BothServer

Enables or disables cheat commands on the server.

Syntax: sv_cheats <0|1>

Example: sv_cheats 1

mp_limitteams

BothServer

Max number of players one team can have over the other.

Syntax: mp_limitteams <value>

sv_showimpacts

BothPractice

Shows bullet impact positions. 1=server, 2=client, 3=both.

Syntax: sv_showimpacts <0|1|2|3>

Example: sv_showimpacts 1

sv_grenade_trajectory

CS:GOPractice

Shows grenade trajectory path.

Syntax: sv_grenade_trajectory <0|1>

sv_grenade_trajectory_prac_pipreview

CS2Practice

Shows picture-in-picture preview of grenade landing.

Syntax: sv_grenade_trajectory_prac_pipreview <0|1>

god

BothPractice

Toggles god mode (invincibility). Requires sv_cheats 1.

Syntax: god

noclip

BothPractice

Toggles noclip mode (fly through walls). Requires sv_cheats 1.

Syntax: noclip

sv_rethrow_last_grenade

BothPractice

Rethrows the last grenade thrown.

Syntax: sv_rethrow_last_grenade

mp_warmup_pausetimer

BothPractice

Pauses the warmup timer so it never ends.

Syntax: mp_warmup_pausetimer <0|1>

clear

BothMisc

Clears the developer console.

Syntax: clear

quit

BothMisc

Closes the game.

Syntax: quit

disconnect

BothMisc

Disconnects from the current server.

Syntax: disconnect

status

BothMisc

Shows server and player information.

Syntax: status

exec

BothMisc

Executes a config file from the cfg folder.

Syntax: exec <config_name>

Example: exec autoexec

host_writeconfig

BothMisc

Saves current settings to config.cfg.

Syntax: host_writeconfig

cl_righthand

BothMisc

Sets the viewmodel to left or right hand.

Syntax: cl_righthand <0|1>

sensitivity

BothMisc

Sets the mouse sensitivity.

Syntax: sensitivity <value>

Example: sensitivity 2.0

voice_enable

BothMisc

Enables or disables voice chat.

Syntax: voice_enable <0|1>

cl_mute_enemy_team

BothMisc

Mutes the enemy team's voice and text chat.

Syntax: cl_mute_enemy_team <0|1>

sv_accelerate

BothMovement

Controls the rate at which player speed increases.

Syntax: sv_accelerate <value>

sv_friction

BothMovement

World friction amount.

Syntax: sv_friction <value>

sv_gravity

BothMovement

Sets the gravity for the server.

Syntax: sv_gravity <value>

Example: sv_gravity 800

sv_airaccelerate

BothMovement

Controls air acceleration for air strafing.

Syntax: sv_airaccelerate <value>

Example: sv_airaccelerate 12

sv_wateraccelerate

BothMovement

Controls acceleration in water.

Syntax: sv_wateraccelerate <value>

sv_waterfriction

BothMovement

Controls friction in water.

Syntax: sv_waterfriction <value>

sv_stopspeed

BothMovement

Minimum stopping speed when on ground.

Syntax: sv_stopspeed <value>

cl_forwardspeed

BothMovement

Sets forward movement speed.

Syntax: cl_forwardspeed <value>

cl_backspeed

BothMovement

Sets backward movement speed.

Syntax: cl_backspeed <value>

sv_falldamage_scale

CS2Movement

Multiplier for fall damage.

Syntax: sv_falldamage_scale <value>

sv_jump_impulse

CS2Movement

Initial upward velocity when jumping.

Syntax: sv_jump_impulse <value>

sv_ladder_scale_speed

CS2Movement

Scale factor for ladder movement speed.

Syntax: sv_ladder_scale_speed <value>

cl_predict

BothMovement

Enables client-side prediction of movement.

Syntax: cl_predict <0|1>

mp_weapons_allow_pistols

BothWeapon

Controls whether pistols can be purchased.

Syntax: mp_weapons_allow_pistols <-1|0|1>

mp_weapons_allow_rifles

BothWeapon

Controls whether rifles can be purchased.

Syntax: mp_weapons_allow_rifles <-1|0|1>

mp_weapons_allow_smgs

BothWeapon

Controls whether SMGs can be purchased.

Syntax: mp_weapons_allow_smgs <-1|0|1>

mp_weapons_allow_heavies

BothWeapon

Controls whether heavy weapons can be purchased.

Syntax: mp_weapons_allow_heavies <-1|0|1>

mp_weapons_allow_shotguns

BothWeapon

Controls whether shotguns can be purchased.

Syntax: mp_weapons_allow_shotguns <-1|0|1>

weapon_accuracy_nospread

BothWeapon

Disables weapon spread for perfect accuracy.

Syntax: weapon_accuracy_nospread <0|1>

Example: weapon_accuracy_nospread 1

weapon_recoil_scale

BothWeapon

Scales weapon recoil. 0 = no recoil.

Syntax: weapon_recoil_scale <value>

Example: weapon_recoil_scale 0

weapon_debug_spread_show

BothWeapon

Shows weapon spread as a visual overlay.

Syntax: weapon_debug_spread_show <0|1>

mp_ct_default_primary

BothWeapon

Sets the default primary weapon for CTs.

Syntax: mp_ct_default_primary <weapon>

mp_t_default_primary

BothWeapon

Sets the default primary weapon for Ts.

Syntax: mp_t_default_primary <weapon>

mp_ct_default_secondary

BothWeapon

Sets the default secondary weapon for CTs.

Syntax: mp_ct_default_secondary <weapon>

mp_t_default_secondary

BothWeapon

Sets the default secondary weapon for Ts.

Syntax: mp_t_default_secondary <weapon>

mp_weapons_allow_map_placed

BothWeapon

Allow map-placed weapons to be picked up.

Syntax: mp_weapons_allow_map_placed <0|1>

mp_death_drop_gun

BothWeapon

Whether players drop their gun on death.

Syntax: mp_death_drop_gun <0|1>

mp_death_drop_grenade

BothWeapon

Controls what grenades drop on death.

Syntax: mp_death_drop_grenade <0|1|2>

mp_death_drop_defuser

BothWeapon

Whether the defuser drops on death.

Syntax: mp_death_drop_defuser <0|1>

mp_free_armor

BothWeapon

0=none, 1=kevlar, 2=kevlar+helmet for free.

Syntax: mp_free_armor <0|1|2>

Example: mp_free_armor 2

mp_weapons_allow_typecount

BothWeapon

Max number of one weapon type per team.

Syntax: mp_weapons_allow_typecount <value>

cl_hud_radar_scale

BothHUD

Sets the radar HUD size.

Syntax: cl_hud_radar_scale <value>

Example: cl_hud_radar_scale 1.3

cl_radar_scale

BothHUD

Sets the radar map zoom level.

Syntax: cl_radar_scale <value>

Example: cl_radar_scale 0.4

cl_radar_always_centered

BothHUD

Centers the radar on your position.

Syntax: cl_radar_always_centered <0|1>

cl_radar_rotate

BothHUD

Whether the radar rotates with your view.

Syntax: cl_radar_rotate <0|1>

cl_radar_icon_scale_min

BothHUD

Minimum icon scale on the radar.

Syntax: cl_radar_icon_scale_min <value>

cl_hud_background_alpha

BothHUD

Controls HUD background transparency.

Syntax: cl_hud_background_alpha <value>

cl_hud_healthammo_style

BothHUD

Changes health/ammo HUD style.

Syntax: cl_hud_healthammo_style <0|1>

cl_hud_playercount_showcount

BothHUD

Shows player count as number instead of avatars.

Syntax: cl_hud_playercount_showcount <0|1>

cl_hud_playercount_pos

BothHUD

Position of player count. 0=top, 1=bottom.

Syntax: cl_hud_playercount_pos <0|1>

cl_showloadout

BothHUD

Always show your current loadout on screen.

Syntax: cl_showloadout <0|1>

hud_scaling

BothHUD

Scales the entire HUD. 0.5 to 0.95.

Syntax: hud_scaling <value>

Example: hud_scaling 0.85

cl_teamid_overhead_always

BothHUD

Shows teammate info overhead. 2=always with equipment.

Syntax: cl_teamid_overhead_always <0|1|2>

Example: cl_teamid_overhead_always 2

cl_show_clan_in_death_notice

BothHUD

Shows clan tags in death notices.

Syntax: cl_show_clan_in_death_notice <0|1>

cl_lagcompensation

BothNetwork

Enables lag compensation.

Syntax: cl_lagcompensation <0|1>

net_client_steamdatagram_enable_override

CS2Network

Controls Steam Datagram Relay. 1=enabled.

Syntax: net_client_steamdatagram_enable_override <value>

mm_dedicated_search_maxping

BothNetwork

Maximum acceptable ping for matchmaking.

Syntax: mm_dedicated_search_maxping <value>

Example: mm_dedicated_search_maxping 80

cl_timeout

BothNetwork

Seconds before client disconnects from unresponsive server.

Syntax: cl_timeout <value>

net_maxroutable

BothNetwork

Maximum packet size in bytes.

Syntax: net_maxroutable <value>

mat_monitorgamma

BothGraphics

Sets the monitor gamma (brightness).

Syntax: mat_monitorgamma <value>

Example: mat_monitorgamma 1.6

r_dynamic

BothGraphics

Enables or disables dynamic lighting.

Syntax: r_dynamic <0|1>

mat_savechanges

BothGraphics

Saves material system changes to disk.

Syntax: mat_savechanges

mat_disable_bloom

CS:GOGraphics

Disables bloom lighting effect.

Syntax: mat_disable_bloom <0|1>

r_drawdetailprops

BothGraphics

Toggles rendering of detail props (grass, debris).

Syntax: r_drawdetailprops <0|1>

fog_override

BothGraphics

Overrides fog settings. Requires sv_cheats.

Syntax: fog_override <0|1>

fog_enable

BothGraphics

Enables or disables fog rendering.

Syntax: fog_enable <0|1>

cl_ragdoll_physics_enable

BothGraphics

Enables ragdoll physics for dead players.

Syntax: cl_ragdoll_physics_enable <0|1>

r_drawviewmodel

BothGraphics

Shows or hides the weapon viewmodel.

Syntax: r_drawviewmodel <0|1>

cl_bob_lower_amt

BothGraphics

Controls how much viewmodel lowers when running.

Syntax: cl_bob_lower_amt <value>

cl_bobamt_lat

BothGraphics

Controls lateral viewmodel bobbing.

Syntax: cl_bobamt_lat <value>

cl_bobamt_vert

BothGraphics

Controls vertical viewmodel bobbing.

Syntax: cl_bobamt_vert <value>

cl_viewmodel_shift_left_amt

BothGraphics

Amount viewmodel shifts left when firing.

Syntax: cl_viewmodel_shift_left_amt <value>

cl_viewmodel_shift_right_amt

BothGraphics

Amount viewmodel shifts right when firing.

Syntax: cl_viewmodel_shift_right_amt <value>

viewmodel_fov

BothGraphics

Sets the field of view for the viewmodel.

Syntax: viewmodel_fov <value>

Example: viewmodel_fov 68

viewmodel_offset_x

BothGraphics

Horizontal offset of the viewmodel.

Syntax: viewmodel_offset_x <value>

viewmodel_offset_y

BothGraphics

Depth offset of the viewmodel.

Syntax: viewmodel_offset_y <value>

viewmodel_offset_z

BothGraphics

Vertical offset of the viewmodel.

Syntax: viewmodel_offset_z <value>

viewmodel_presetpos

BothGraphics

Viewmodel preset position. 1=desktop, 2=couch, 3=classic.

Syntax: viewmodel_presetpos <1|2|3>

snd_musicvolume

BothSound

Sets the music volume.

Syntax: snd_musicvolume <0-1>

Example: snd_musicvolume 0

snd_menumusic_volume

BothSound

Sets main menu music volume.

Syntax: snd_menumusic_volume <0-1>

snd_roundstart_volume

BothSound

Sets round start music volume.

Syntax: snd_roundstart_volume <0-1>

snd_roundend_volume

BothSound

Sets round end music volume.

Syntax: snd_roundend_volume <0-1>

snd_deathcamera_volume

BothSound

Sets death camera music volume.

Syntax: snd_deathcamera_volume <0-1>

snd_mvp_volume

BothSound

Sets MVP music volume.

Syntax: snd_mvp_volume <0-1>

snd_tensecondwarning_volume

BothSound

Sets 10-second bomb warning music volume.

Syntax: snd_tensecondwarning_volume <0-1>

Example: snd_tensecondwarning_volume 0.1

snd_mapobjective_volume

BothSound

Sets map objective music volume.

Syntax: snd_mapobjective_volume <0-1>

voice_mixer_volume

BothSound

Sets the voice chat microphone volume.

Syntax: voice_mixer_volume <0-1>

snd_mix_async

BothSound

Enables async sound mixing for better performance.

Syntax: snd_mix_async <0|1>

windows_speaker_config

BothSound

Speaker configuration. 1=headphones.

Syntax: windows_speaker_config <value>

voice_loopback

BothSound

Hear your own microphone in-game for testing.

Syntax: voice_loopback <0|1>

cl_crosshair_sniper_width

BothCrosshair

Sets the width of the sniper crosshair.

Syntax: cl_crosshair_sniper_width <value>

cl_crosshair_sniper_show_normal_inaccuracy

CS2Crosshair

Shows inaccuracy on sniper scope crosshair.

Syntax: cl_crosshair_sniper_show_normal_inaccuracy <0|1>

cl_crosshairalpha

BothCrosshair

Sets the crosshair transparency.

Syntax: cl_crosshairalpha <0-255>

Example: cl_crosshairalpha 255

cl_crosshairgap_useweaponvalue

BothCrosshair

Uses weapon-specific crosshair gap values.

Syntax: cl_crosshairgap_useweaponvalue <0|1>

cl_crosshair_t

BothCrosshair

T-style crosshair (removes top line).

Syntax: cl_crosshair_t <0|1>

cl_crosshair_friendly_warning

CS2Crosshair

Shows warning when aiming at teammates.

Syntax: cl_crosshair_friendly_warning <0|1|2>

cl_crosshair_recoil

CS2Crosshair

Crosshair follows recoil pattern.

Syntax: cl_crosshair_recoil <0|1>

cl_fixedcrosshairgap

BothCrosshair

Fixed crosshair gap used with certain styles.

Syntax: cl_fixedcrosshairgap <value>

mp_warmuptime

BothServer

Sets the warmup time in seconds.

Syntax: mp_warmuptime <seconds>

Example: mp_warmuptime 30

mp_halftime

BothServer

Enables or disables halftime.

Syntax: mp_halftime <0|1>

mp_maxrounds

BothServer

Maximum number of rounds per match.

Syntax: mp_maxrounds <value>

Example: mp_maxrounds 30

mp_overtime_enable

BothServer

Enables overtime when the score is tied.

Syntax: mp_overtime_enable <0|1>

mp_overtime_maxrounds

BothServer

Number of rounds in overtime.

Syntax: mp_overtime_maxrounds <value>

mp_match_can_clinch

BothServer

Ends the match when one team clinches.

Syntax: mp_match_can_clinch <0|1>

mp_teammatchstat_txt

BothServer

Custom text displayed on the scoreboard.

Syntax: mp_teammatchstat_txt <text>

mp_teamname_1

BothServer

Sets the name for team 1.

Syntax: mp_teamname_1 <name>

mp_teamname_2

BothServer

Sets the name for team 2.

Syntax: mp_teamname_2 <name>

mp_autoteambalance

BothServer

Automatically balance teams.

Syntax: mp_autoteambalance <0|1>

mp_friendlyfire

BothServer

Enables or disables friendly fire.

Syntax: mp_friendlyfire <0|1>

mp_solid_teammates

BothServer

Controls teammate collision. 0=off, 1=on, 2=push.

Syntax: mp_solid_teammates <0|1|2>

mp_c4timer

BothServer

Sets the C4 bomb timer in seconds.

Syntax: mp_c4timer <seconds>

Example: mp_c4timer 40

mp_defuser_allocation

BothServer

0=none, 1=random, 2=all CTs get defuser.

Syntax: mp_defuser_allocation <0|1|2>

mp_give_player_c4

BothServer

Whether to give the bomb to a T player.

Syntax: mp_give_player_c4 <0|1>

mp_randomspawn

BothServer

Enables random spawn locations.

Syntax: mp_randomspawn <0|1>

mp_spectators_max

BothServer

Maximum number of spectators allowed.

Syntax: mp_spectators_max <value>

mp_forcecamera

BothServer

Controls spectator camera after death.

Syntax: mp_forcecamera <0|1|2>

mp_allowspectators

BothServer

Allow spectators on the server.

Syntax: mp_allowspectators <0|1>

sv_pausable

BothServer

Allow the game to be paused.

Syntax: sv_pausable <0|1>

sv_password

BothServer

Sets a password required to join the server.

Syntax: sv_password <password>

sv_lan

BothServer

Sets the server to LAN mode.

Syntax: sv_lan <0|1>

hostname

BothServer

Sets the server name.

Syntax: hostname <name>

mp_match_end_restart

BothServer

Restart the game at the end of a match.

Syntax: mp_match_end_restart <0|1>

mp_do_warmup_period

BothServer

Enables warmup period before the match.

Syntax: mp_do_warmup_period <0|1>

sv_allow_votes

BothServer

Allow players to call votes.

Syntax: sv_allow_votes <0|1>

sv_voiceenable

BothServer

Enables voice communication on the server.

Syntax: sv_voiceenable <0|1>

sv_alltalk

BothServer

All players can hear each other's voice chat.

Syntax: sv_alltalk <0|1>

sv_deadtalk

BothServer

Dead players can talk to living players.

Syntax: sv_deadtalk <0|1>

sv_full_alltalk

BothServer

Everyone can hear everyone, dead or alive.

Syntax: sv_full_alltalk <0|1>

sv_grenade_trajectory_time

BothPractice

How long grenade trajectories remain visible.

Syntax: sv_grenade_trajectory_time <seconds>

Example: sv_grenade_trajectory_time 10

sv_grenade_trajectory_thickness

BothPractice

Thickness of grenade trajectory lines.

Syntax: sv_grenade_trajectory_thickness <value>

sv_showimpacts_time

BothPractice

How long bullet impacts remain visible.

Syntax: sv_showimpacts_time <seconds>

Example: sv_showimpacts_time 10

mp_roundtime_hostage

BothPractice

Round time for hostage rescue maps.

Syntax: mp_roundtime_hostage <minutes>

mp_respawn_immunitytime

BothPractice

Spawn protection time in seconds.

Syntax: mp_respawn_immunitytime <seconds>

mp_respawn_on_death_ct

BothPractice

CTs respawn after death.

Syntax: mp_respawn_on_death_ct <0|1>

mp_respawn_on_death_t

BothPractice

Ts respawn after death.

Syntax: mp_respawn_on_death_t <0|1>

mp_td_spawnsecurity

BothPractice

Spawn protection against team damage.

Syntax: mp_td_spawnsecurity <0|1>

bot_stop

BothPractice

Stops all bots from moving.

Syntax: bot_stop <0|1>

Example: bot_stop 1

bot_mimic

BothPractice

Bots mimic your movements.

Syntax: bot_mimic <0|1>

bot_crouch

BothPractice

Forces bots to crouch.

Syntax: bot_crouch <0|1>

bot_place

BothPractice

Places a bot at your crosshair position.

Syntax: bot_place

bot_zombie

BothPractice

Bots don't move or shoot.

Syntax: bot_zombie <0|1>

Example: bot_zombie 1

bot_knives_only

BothPractice

Bots only use knives.

Syntax: bot_knives_only <0|1>

bot_difficulty

BothPractice

Bot skill level. 0=easy, 3=expert.

Syntax: bot_difficulty <0-3>

bot_quota

BothPractice

Maximum number of bots on the server.

Syntax: bot_quota <value>

bot_quota_mode

BothPractice

Controls how bots are added. fill=fill empty slots.

Syntax: bot_quota_mode <normal|fill|match>

bot_dont_shoot

BothPractice

Prevents bots from shooting.

Syntax: bot_dont_shoot <0|1>

kill

BothPractice

Kills your own player. Requires sv_cheats.

Syntax: kill

ent_fire

BothPractice

Fires an input on an entity. Advanced mapping command.

Syntax: ent_fire <entity> <input>

r_showclipbrushes

BothPractice

Shows clip brushes used for collision.

Syntax: r_showclipbrushes <0|1|2>

sv_regeneration_force_on

BothPractice

Forces health regeneration.

Syntax: sv_regeneration_force_on <0|1>

mp_ignore_round_win_conditions

BothPractice

Ignores all round win conditions. Round never ends.

Syntax: mp_ignore_round_win_conditions <0|1>

Example: mp_ignore_round_win_conditions 1

developer

BothMisc

Enables developer messages in console.

Syntax: developer <0|1|2>

con_filter_enable

BothMisc

Enables console output filtering.

Syntax: con_filter_enable <0|1|2>

con_filter_text

BothMisc

Filter console output to only show matching text.

Syntax: con_filter_text <text>

echo

BothMisc

Prints text to the console.

Syntax: echo <text>

alias

BothMisc

Creates a shortcut command.

Syntax: alias <name> <command>

cl_autohelp

BothMisc

Enables automatic help messages.

Syntax: cl_autohelp <0|1>

cl_showhelp

BothMisc

Shows help panels when appropriate.

Syntax: cl_showhelp <0|1>

cl_autowepswitch

BothMisc

Auto-switch to picked up weapons.

Syntax: cl_autowepswitch <0|1>

cl_use_opens_buy_menu

BothMisc

Use key opens the buy menu in buy zone.

Syntax: cl_use_opens_buy_menu <0|1>

cl_dm_buyrandomweapons

BothMisc

Randomly buy weapons in deathmatch.

Syntax: cl_dm_buyrandomweapons <0|1>

gameinstructor_enable

BothMisc

Enables in-game instructor hints.

Syntax: gameinstructor_enable <0|1>

r_cleardecals

BothMisc

Removes all blood and bullet decals from surfaces.

Syntax: r_cleardecals

cl_disablefreezecam

BothMisc

Disables the freeze camera on death.

Syntax: cl_disablefreezecam <0|1>

cl_teammate_colors_show

BothMisc

Shows unique colors for each teammate.

Syntax: cl_teammate_colors_show <0|1|2>

cl_color

BothMisc

Sets your preferred player color.

Syntax: cl_color <0-4>

cl_join_advertise

BothMisc

Controls join game visibility to friends.

Syntax: cl_join_advertise <0|1|2>

cl_clanid

BothMisc

Sets your clan ID for the clan tag.

Syntax: cl_clanid <id>

player_nevershow_communityservermessage

BothMisc

Hides community server MOTD messages.

Syntax: player_nevershow_communityservermessage <0|1>

cl_buywheel_nonumberpurchasing

CS2Misc

Disables number key purchasing in buy menu.

Syntax: cl_buywheel_nonumberpurchasing <0|1>

cl_sanitize_player_names

CS2Misc

Replaces player names with generic names.

Syntax: cl_sanitize_player_names <0|1>

jpeg_quality

BothMisc

JPEG screenshot quality.

Syntax: jpeg_quality <1-100>

Example: jpeg_quality 100

screenshot

BothMisc

Takes a screenshot.

Syntax: screenshot

record

BothMisc

Starts recording a demo.

Syntax: record <name>

Example: record mydemo

stop

BothMisc

Stops recording a demo.

Syntax: stop

playdemo

BothMisc

Plays a recorded demo.

Syntax: playdemo <name>

demo_pause

BothMisc

Pauses demo playback.

Syntax: demo_pause

demo_resume

BothMisc

Resumes demo playback.

Syntax: demo_resume

demo_timescale

BothMisc

Sets demo playback speed. 1=normal, 0.5=half.

Syntax: demo_timescale <value>

Example: demo_timescale 0.25

demoui

BothMisc

Opens the demo playback UI.

Syntax: demoui

tv_snapshotrate

BothMisc

Sets GOTV snapshot update rate.

Syntax: tv_snapshotrate <value>

tv_enable

BothMisc

Enables GOTV on the server.

Syntax: tv_enable <0|1>

map

BothMisc

Changes to the specified map and restarts.

Syntax: map <map_name>

Example: map de_mirage

maps

BothMisc

Lists all available maps matching a pattern.

Syntax: maps <pattern>

Example: maps de_*

mp_display_kill_assists

BothMisc

Shows kill assists in the killfeed.

Syntax: mp_display_kill_assists <0|1>

mp_playerid

BothMisc

Controls player ID display. 0=all, 1=team, 2=none.

Syntax: mp_playerid <0|1|2>

spec_show_xray

BothMisc

Shows X-ray vision when spectating.

Syntax: spec_show_xray <0|1>

sv_skyname

BothMisc

Changes the skybox texture.

Syntax: sv_skyname <name>

mp_endmatch_votenextmap

BothMisc

Enables end-of-match map voting.

Syntax: mp_endmatch_votenextmap <0|1>

mp_endmatch_votenextleveltime

BothMisc

Time for end-of-match map vote.

Syntax: mp_endmatch_votenextleveltime <seconds>

writeid

BothMisc

Writes the ban list to banned_user.cfg.

Syntax: writeid

writeip

BothMisc

Writes the IP ban list to banned_ip.cfg.

Syntax: writeip

bind_osx

BothBinds

Binds a key for macOS specifically.

Syntax: bind_osx <key> <command>

key_listboundkeys

BothBinds

Lists all currently bound keys.

Syntax: key_listboundkeys

key_findbinding

BothBinds

Finds which key a command is bound to.

Syntax: key_findbinding <command>

Example: key_findbinding noclip

+jump

BothBinds

Jump command. Used in binds.

Syntax: +jump

+duck

BothBinds

Crouch command. Used in binds.

Syntax: +duck

+sprint

BothBinds

Sprint/shift walk command.

Syntax: +sprint

+attack

BothBinds

Primary fire command.

Syntax: +attack

+attack2

BothBinds

Secondary fire (scope/silencer) command.

Syntax: +attack2

+reload

BothBinds

Reload weapon command.

Syntax: +reload

+use

BothBinds

Use/interact command (defuse, open doors).

Syntax: +use

+lookatweapon

BothBinds

Inspect weapon animation.

Syntax: +lookatweapon

+showscores

BothBinds

Shows the scoreboard.

Syntax: +showscores

messagemode

BothBinds

Opens all-chat text input.

Syntax: messagemode

messagemode2

BothBinds

Opens team-chat text input.

Syntax: messagemode2

say

BothBinds

Sends a message in all chat.

Syntax: say <message>

Example: say glhf

say_team

BothBinds

Sends a message in team chat.

Syntax: say_team <message>

toggle

BothBinds

Toggles a console variable between values.

Syntax: toggle <cvar>

Example: toggle cl_righthand 0 1

incrementvar

BothBinds

Increments a variable by a step within range.

Syntax: incrementvar <cvar> <min> <max> <step>

+voicerecord

BothBinds

Push-to-talk voice chat command.

Syntax: +voicerecord

slot1

BothBinds

Switch to primary weapon.

Syntax: slot1

slot2

BothBinds

Switch to secondary weapon (pistol).

Syntax: slot2

slot3

BothBinds

Switch to knife.

Syntax: slot3

slot4

BothBinds

Switch to grenades.

Syntax: slot4

slot5

BothBinds

Switch to C4 bomb.

Syntax: slot5

slot6

BothBinds

Switch to slot 6 item.

Syntax: slot6

slot7

BothBinds

Switch to slot 7 item.

Syntax: slot7

slot8

BothBinds

Switch to slot 8 (flashbang).

Syntax: slot8

slot9

BothBinds

Switch to slot 9 (HE grenade).

Syntax: slot9

slot10

BothBinds

Switch to slot 10 (smoke).

Syntax: slot10

slot11

BothBinds

Switch to slot 11 (molotov).

Syntax: slot11

slot12

BothBinds

Switch to slot 12 (decoy).

Syntax: slot12

lastinv

BothBinds

Switch to the last used weapon.

Syntax: lastinv

invnext

BothBinds

Switch to the next weapon in inventory.

Syntax: invnext

invprev

BothBinds

Switch to the previous weapon in inventory.

Syntax: invprev

drop

BothBinds

Drops the current weapon.

Syntax: drop

buymenu

BothBinds

Opens the buy menu.

Syntax: buymenu

autobuy

BothBinds

Automatically buys your preferred weapons.

Syntax: autobuy

rebuy

BothBinds

Rebuys weapons from the previous round.

Syntax: rebuy

+radialradio

CS2Binds

Opens the radio command wheel.

Syntax: +radialradio

+radialradio2

CS2Binds

Opens the second radio command wheel.

Syntax: +radialradio2

+radialradio3

CS2Binds

Opens the third radio command wheel.

Syntax: +radialradio3

radio1

CS:GOBinds

Opens radio command menu 1.

Syntax: radio1

radio2

CS:GOBinds

Opens radio command menu 2.

Syntax: radio2

radio3

CS:GOBinds

Opens radio command menu 3.

Syntax: radio3

player_ping

CS2Binds

Places a ping marker on the map.

Syntax: player_ping

m_rawinput

BothMisc

Enables raw mouse input. 1=enabled.

Syntax: m_rawinput <0|1>

Example: m_rawinput 1

m_customaccel

BothMisc

Enables custom mouse acceleration.

Syntax: m_customaccel <0|1>

m_customaccel_exponent

BothMisc

Mouse acceleration exponent.

Syntax: m_customaccel_exponent <value>

m_mousespeed

BothMisc

Windows mouse speed. 0=disabled.

Syntax: m_mousespeed <0|1>

Example: m_mousespeed 0

m_yaw

BothMisc

Mouse yaw factor (horizontal sensitivity).

Syntax: m_yaw <value>

m_pitch

BothMisc

Mouse pitch factor (vertical sensitivity).

Syntax: m_pitch <value>

zoom_sensitivity_ratio

BothMisc

Sensitivity multiplier when zoomed/scoped.

Syntax: zoom_sensitivity_ratio <value>

Example: zoom_sensitivity_ratio 1.0

kick

BothServer

Kicks a player from the server.

Syntax: kick <name>

banid

BothServer

Bans a player by their user ID.

Syntax: banid <minutes> <userid>

banip

BothServer

Bans an IP address from the server.

Syntax: banip <minutes> <ip>

removeid

BothServer

Removes a player ban.

Syntax: removeid <userid>

removeip

BothServer

Removes an IP ban.

Syntax: removeip <ip>

users

BothServer

Lists all connected users with their IDs.

Syntax: users

rcon

BothServer

Sends a command to the remote server.

Syntax: rcon <command>

rcon_password

BothServer

Sets the RCON password for remote access.

Syntax: rcon_password <password>

rcon_address

BothServer

Sets the RCON server address.

Syntax: rcon_address <ip:port>

mp_autokick

BothServer

Auto-kick idle or team-killing players.

Syntax: mp_autokick <0|1>

mp_tkpunish

BothServer

Punish team killers next round.

Syntax: mp_tkpunish <0|1>

sv_rethrow_last_grenade

CS2Practice

Rethrows the last grenade. For practice.

Syntax: sv_rethrow_last_grenade

mp_endwarmup_player_count

BothServer

End warmup when this many players connect.

Syntax: mp_endwarmup_player_count <value>

viewmodel_recoil

CS2Graphics

Amount of visual recoil on the viewmodel.

Syntax: viewmodel_recoil <0-1>

cl_usenumberinsteadoficons

CS2HUD

Shows numbers instead of weapon icons in HUD.

Syntax: cl_usenumberinsteadoficons <0|1>

cl_show_equipped_character_for_player_avatars

CS2HUD

Shows equipped agent model as avatar.

Syntax: cl_show_equipped_character_for_player_avatars <0|1>

cash_player_bomb_defused

BothServer

Money reward for defusing the bomb.

Syntax: cash_player_bomb_defused <amount>

cash_player_bomb_planted

BothServer

Money reward for planting the bomb.

Syntax: cash_player_bomb_planted <amount>

cash_player_damage_hostage

BothServer

Money penalty for damaging hostages.

Syntax: cash_player_damage_hostage <amount>

cash_player_killed_enemy_default

BothServer

Default money reward for killing enemies.

Syntax: cash_player_killed_enemy_default <amount>

cash_player_killed_enemy_factor

BothServer

Kill reward factor multiplier.

Syntax: cash_player_killed_enemy_factor <value>

cash_player_killed_hostage

BothServer

Money penalty for killing hostages.

Syntax: cash_player_killed_hostage <amount>

cash_player_killed_teammate

BothServer

Money penalty for killing teammates.

Syntax: cash_player_killed_teammate <amount>

cash_player_rescued_hostage

BothServer

Money reward for rescuing a hostage.

Syntax: cash_player_rescued_hostage <amount>

cash_team_elimination_bomb_map

BothServer

Team reward for elimination win on bomb maps.

Syntax: cash_team_elimination_bomb_map <amount>

cash_team_elimination_hostage_map_ct

BothServer

CT team reward for elimination on hostage maps.

Syntax: cash_team_elimination_hostage_map_ct <amount>

cash_team_elimination_hostage_map_t

BothServer

T team reward for elimination on hostage maps.

Syntax: cash_team_elimination_hostage_map_t <amount>

cash_team_hostage_alive

BothServer

Team bonus for each hostage kept alive.

Syntax: cash_team_hostage_alive <amount>

cash_team_loser_bonus

BothServer

Base losing team bonus.

Syntax: cash_team_loser_bonus <amount>

cash_team_loser_bonus_consecutive_rounds

BothServer

Additional bonus per consecutive loss.

Syntax: cash_team_loser_bonus_consecutive_rounds <amount>

cash_team_planted_bomb_but_defused

BothServer

T team reward when bomb planted but defused.

Syntax: cash_team_planted_bomb_but_defused <amount>

cash_team_rescued_hostage

BothServer

Team reward for hostage rescue.

Syntax: cash_team_rescued_hostage <amount>

cash_team_survive_guardian_wave

BothServer

Team reward for surviving guardian wave.

Syntax: cash_team_survive_guardian_wave <amount>

cash_team_terrorist_win_bomb

BothServer

T team reward for winning by bomb detonation.

Syntax: cash_team_terrorist_win_bomb <amount>

cash_team_win_by_defusing_bomb

BothServer

CT team reward for winning by defusing.

Syntax: cash_team_win_by_defusing_bomb <amount>

cash_team_win_by_hostage_rescue

BothServer

CT team reward for winning by hostage rescue.

Syntax: cash_team_win_by_hostage_rescue <amount>

cash_team_win_by_time_running_out_bomb

BothServer

CT reward for winning when time runs out.

Syntax: cash_team_win_by_time_running_out_bomb <amount>

cash_team_win_by_time_running_out_hostage

BothServer

T reward for time running out on hostage maps.

Syntax: cash_team_win_by_time_running_out_hostage <amount>

cl_grenadepreview

CS2Practice

Shows grenade trajectory preview before throwing.

Syntax: cl_grenadepreview <0|1>

sv_party_mode

BothPractice

Enables party mode with balloons and confetti on headshots.

Syntax: sv_party_mode <0|1>

thirdperson

BothPractice

Switches to third-person camera view.

Syntax: thirdperson

firstperson

BothPractice

Returns to first-person camera view.

Syntax: firstperson

cam_idealdist

BothPractice

Sets the third-person camera distance.

Syntax: cam_idealdist <value>

mirrorvectors

BothPractice

Mirrors the view for screenshots.

Syntax: mirrorvectors

mat_fullbright

BothPractice

Fullbright lighting. Everything fully lit.

Syntax: mat_fullbright <0|1>

r_drawothermodels

BothPractice

Controls rendering of other player models. 2=wireframe.

Syntax: r_drawothermodels <0|1|2>

r_drawworld

BothPractice

Toggles world rendering. 0 shows only entities.

Syntax: r_drawworld <0|1>

sv_enablebunnyhopping

BothPractice

Enables bunny hopping without speed cap.

Syntax: sv_enablebunnyhopping <0|1>

host_timescale

BothPractice

Game speed multiplier. 0.5=slow, 2=fast.

Syntax: host_timescale <value>

Example: host_timescale 0.5

phys_pushscale

BothPractice

Physics push scale for ragdolls and objects.

Syntax: phys_pushscale <value>

cl_spec_mode

BothPractice

Spectator camera mode.

Syntax: cl_spec_mode <value>

spec_player_by_name

BothPractice

Spectate a specific player by name.

Syntax: spec_player_by_name <name>

spec_next

BothPractice

Spectate the next player.

Syntax: spec_next

spec_prev

BothPractice

Spectate the previous player.

Syntax: spec_prev

getpos

BothPractice

Prints your current position and angles.

Syntax: getpos

setpos

BothPractice

Teleports you to the specified coordinates.

Syntax: setpos <x y z>

setang

BothPractice

Sets your view angles.

Syntax: setang <pitch yaw roll>

ent_create

BothPractice

Creates an entity at your crosshair.

Syntax: ent_create <classname>

ent_remove

BothPractice

Removes the entity you are looking at.

Syntax: ent_remove

ent_remove_all

BothPractice

Removes all entities of a type.

Syntax: ent_remove_all <classname>

mat_info

BothMisc

Displays material system information.

Syntax: mat_info

snd_restart

BothSound

Restarts the sound system.

Syntax: snd_restart

cl_downloadfilter

BothMisc

Filters custom downloads from servers.

Syntax: cl_downloadfilter <all|nosounds|none>

net_status

BothNetwork

Displays current network status.

Syntax: net_status

ping

BothNetwork

Shows your current ping to the server.

Syntax: ping

retry

BothMisc

Reconnects to the last server.

Syntax: retry

connect

BothMisc

Connects to a server by IP address.

Syntax: connect <ip:port>

Example: connect 192.168.1.1:27015

version

BothMisc

Displays the game version.

Syntax: version

find

BothMisc

Finds all commands containing the text.

Syntax: find <text>

Example: find crosshair

help

BothMisc

Shows help for a specific command.

Syntax: help <command>

cvarlist

BothMisc

Lists all console variables.

Syntax: cvarlist

differences

BothMisc

Shows all changed console variables.

Syntax: differences

condump

BothMisc

Dumps console text to a file.

Syntax: condump

contimes

BothMisc

How long console text stays on screen.

Syntax: contimes <value>

hideconsole

BothMisc

Hides the developer console.

Syntax: hideconsole

showconsole

BothMisc

Shows the developer console.

Syntax: showconsole

cl_language

BothMisc

Sets the game language.

Syntax: cl_language <language>

fps_max_ui

CS2Graphics

FPS limit for UI/menus.

Syntax: fps_max_ui <value>

engine_no_focus_sleep

CS2Graphics

FPS limit when game is not focused.

Syntax: engine_no_focus_sleep <value>

Example: engine_no_focus_sleep 0

r_fullscreen_gamma

CS2Graphics

Fullscreen gamma correction value.

Syntax: r_fullscreen_gamma <value>

mat_dynamic_tonemapping

BothGraphics

Enables dynamic tone mapping.

Syntax: mat_dynamic_tonemapping <0|1>

cl_crosshair_dynamic_splitdist

BothCrosshair

Distance at which dynamic crosshair splits.

Syntax: cl_crosshair_dynamic_splitdist <value>

cl_crosshair_dynamic_splitalpha_innermod

BothCrosshair

Alpha modifier for inner dynamic crosshair.

Syntax: cl_crosshair_dynamic_splitalpha_innermod <value>

cl_crosshair_dynamic_splitalpha_outermod

BothCrosshair

Alpha modifier for outer dynamic crosshair.

Syntax: cl_crosshair_dynamic_splitalpha_outermod <value>

cl_crosshair_dynamic_maxdist_splitratio

BothCrosshair

Max distance split ratio for dynamic crosshair.

Syntax: cl_crosshair_dynamic_maxdist_splitratio <value>