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
BothMovementSets the forward movement speed multiplier.
Syntax: cl_forwardspeed <value>
cl_sidespeed
BothMovementSets the side movement speed multiplier.
Syntax: cl_sidespeed <value>
sv_maxspeed
BothMovementSets the maximum movement speed for all players on the server.
Syntax: sv_maxspeed <value>
sv_enablebunnyhopping
BothMovementEnables or disables bunny hopping on the server.
Syntax: sv_enablebunnyhopping <0|1>
Example: sv_enablebunnyhopping 1
sv_autobunnyhopping
CS2MovementEnables automatic bunny hopping. Hold jump to bhop.
Syntax: sv_autobunnyhopping <0|1>
Example: sv_autobunnyhopping 1
sv_staminamax
BothMovementControls the maximum stamina penalty for landing.
Syntax: sv_staminamax <value>
sv_staminalandcost
BothMovementStamina penalty for landing from a jump.
Syntax: sv_staminalandcost <value>
sv_staminajumpcost
BothMovementStamina cost for jumping.
Syntax: sv_staminajumpcost <value>
cl_showpos
BothMovementShows your position, velocity, and angles on screen.
Syntax: cl_showpos <0|1>
Example: cl_showpos 1
give
BothWeaponGives you the specified weapon.
Syntax: give <weapon_name>
Example: give weapon_ak47
mp_buy_anywhere
BothWeaponAllow players to buy anywhere on the map.
Syntax: mp_buy_anywhere <0|1>
Example: mp_buy_anywhere 1
mp_buytime
BothWeaponSets the buy time in seconds after round start.
Syntax: mp_buytime <seconds>
Example: mp_buytime 9999
mp_maxmoney
BothWeaponSets the maximum amount of money a player can have.
Syntax: mp_maxmoney <amount>
Example: mp_maxmoney 65535
mp_startmoney
BothWeaponSets the starting money for all players.
Syntax: mp_startmoney <amount>
Example: mp_startmoney 65535
sv_infinite_ammo
BothWeapon0 = 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
CS2WeaponAllow players to drop knives.
Syntax: mp_drop_knife_enable <0|1>
cl_hud_color
BothHUDChanges the HUD color. 0=Default, 1=White, 2=Light Blue, etc.
Syntax: cl_hud_color <0-10>
cl_showfps
BothHUDShows 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
BothHUDRemoves the entire HUD except death notices. Great for movie making.
Syntax: cl_draw_only_deathnotices <0|1>
net_graph
CS:GOHUDShows network information including FPS, ping, and packet loss.
Syntax: net_graph <0|1>
cl_drawhud
BothHUDToggles the entire HUD on or off.
Syntax: cl_drawhud <0|1>
rate
BothNetworkMax bytes per second the host can receive data.
Syntax: rate <value>
Example: rate 786432
cl_interp
CS:GONetworkSets the interpolation amount in seconds.
Syntax: cl_interp <value>
cl_interp_ratio
CS:GONetworkSets the interpolation amount as a ratio.
Syntax: cl_interp_ratio <value>
Example: cl_interp_ratio 1
cl_cmdrate
CS:GONetworkMax number of command packets sent to server per second.
Syntax: cl_cmdrate <value>
Example: cl_cmdrate 128
cl_updaterate
CS:GONetworkNumber of packets per second of updates from server.
Syntax: cl_updaterate <value>
Example: cl_updaterate 128
fps_max
BothGraphicsFrame rate limiter. 0 = unlimited.
Syntax: fps_max <value>
Example: fps_max 0
r_drawparticles
BothGraphicsToggle rendering of particles.
Syntax: r_drawparticles <0|1>
mat_queue_mode
CS:GOGraphicsQueued material system mode. -1=auto, 2=multi-threaded.
Syntax: mat_queue_mode <-1|0|1|2>
r_drawtracers_firstperson
BothGraphicsToggle first-person bullet tracers.
Syntax: r_drawtracers_firstperson <0|1>
cl_disablehtmlmotd
BothGraphicsDisable HTML message of the day popups when joining servers.
Syntax: cl_disablehtmlmotd <0|1>
volume
BothSoundSets the master volume level.
Syntax: volume <0-1>
Example: volume 0.5
snd_headphone_pan_exponent
BothSoundAdjusts headphone panning. Higher values = more directional.
Syntax: snd_headphone_pan_exponent <value>
snd_front_headphone_position
BothSoundSets the front headphone position for sound.
Syntax: snd_front_headphone_position <value>
snd_rear_headphone_position
BothSoundSets the rear headphone position for sound.
Syntax: snd_rear_headphone_position <value>
voice_scale
BothSoundSets the volume of other players' voice chat.
Syntax: voice_scale <0-1>
cl_crosshairsize
BothCrosshairSets the size/length of the crosshair lines.
Syntax: cl_crosshairsize <value>
Example: cl_crosshairsize 2
cl_crosshairgap
BothCrosshairSets the gap between crosshair lines.
Syntax: cl_crosshairgap <value>
Example: cl_crosshairgap -2
cl_crosshairthickness
BothCrosshairSets the thickness of crosshair lines.
Syntax: cl_crosshairthickness <value>
Example: cl_crosshairthickness 0.5
cl_crosshairdot
BothCrosshairToggles the center dot on the crosshair.
Syntax: cl_crosshairdot <0|1>
cl_crosshaircolor
BothCrosshairSets the crosshair color preset. 5 = custom RGB.
Syntax: cl_crosshaircolor <0-5>
cl_crosshaircolor_r
BothCrosshairRed value for custom crosshair color.
Syntax: cl_crosshaircolor_r <0-255>
cl_crosshaircolor_g
BothCrosshairGreen value for custom crosshair color.
Syntax: cl_crosshaircolor_g <0-255>
cl_crosshaircolor_b
BothCrosshairBlue value for custom crosshair color.
Syntax: cl_crosshaircolor_b <0-255>
cl_crosshair_drawoutline
BothCrosshairDraws a black outline around the crosshair for visibility.
Syntax: cl_crosshair_drawoutline <0|1>
cl_crosshairstyle
BothCrosshairSets the crosshair style. 4 = static, 5 = classic dynamic.
Syntax: cl_crosshairstyle <0-5>
Example: cl_crosshairstyle 4
bind
BothBindsBinds a key to a command.
Syntax: bind <key> "<command>"
Example: bind "f" "use weapon_flashbang"
unbind
BothBindsRemoves the binding from a key.
Syntax: unbind <key>
unbindall
BothBindsRemoves all key bindings. Use with caution!
Syntax: unbindall
bindtoggle
BothBindsBinds a key to toggle a command between 0 and 1.
Syntax: bindtoggle <key> "<command>"
Example: bindtoggle "h" "cl_righthand"
toggleconsole
BothBindsOpens or closes the developer console.
Syntax: toggleconsole
changelevel
BothServerChanges the current map on the server.
Syntax: changelevel <map_name>
Example: changelevel de_dust2
mp_warmup_end
BothServerEnds the warmup period immediately.
Syntax: mp_warmup_end
mp_restartgame
BothServerRestarts the game after the specified number of seconds.
Syntax: mp_restartgame <seconds>
Example: mp_restartgame 1
mp_roundtime
BothServerSets the round time in minutes.
Syntax: mp_roundtime <minutes>
Example: mp_roundtime 60
mp_roundtime_defuse
BothServerSets the round time for defuse maps.
Syntax: mp_roundtime_defuse <minutes>
mp_freezetime
BothServerSets the freeze time at the start of each round.
Syntax: mp_freezetime <seconds>
Example: mp_freezetime 0
bot_add
BothServerAdds a bot to the game.
Syntax: bot_add
bot_kick
BothServerKicks all bots from the game.
Syntax: bot_kick
sv_cheats
BothServerEnables or disables cheat commands on the server.
Syntax: sv_cheats <0|1>
Example: sv_cheats 1
mp_limitteams
BothServerMax number of players one team can have over the other.
Syntax: mp_limitteams <value>
sv_showimpacts
BothPracticeShows bullet impact positions. 1=server, 2=client, 3=both.
Syntax: sv_showimpacts <0|1|2|3>
Example: sv_showimpacts 1
sv_grenade_trajectory
CS:GOPracticeShows grenade trajectory path.
Syntax: sv_grenade_trajectory <0|1>
sv_grenade_trajectory_prac_pipreview
CS2PracticeShows picture-in-picture preview of grenade landing.
Syntax: sv_grenade_trajectory_prac_pipreview <0|1>
god
BothPracticeToggles god mode (invincibility). Requires sv_cheats 1.
Syntax: god
noclip
BothPracticeToggles noclip mode (fly through walls). Requires sv_cheats 1.
Syntax: noclip
sv_rethrow_last_grenade
BothPracticeRethrows the last grenade thrown.
Syntax: sv_rethrow_last_grenade
mp_warmup_pausetimer
BothPracticePauses the warmup timer so it never ends.
Syntax: mp_warmup_pausetimer <0|1>
clear
BothMiscClears the developer console.
Syntax: clear
quit
BothMiscCloses the game.
Syntax: quit
disconnect
BothMiscDisconnects from the current server.
Syntax: disconnect
status
BothMiscShows server and player information.
Syntax: status
exec
BothMiscExecutes a config file from the cfg folder.
Syntax: exec <config_name>
Example: exec autoexec
host_writeconfig
BothMiscSaves current settings to config.cfg.
Syntax: host_writeconfig
cl_righthand
BothMiscSets the viewmodel to left or right hand.
Syntax: cl_righthand <0|1>
sensitivity
BothMiscSets the mouse sensitivity.
Syntax: sensitivity <value>
Example: sensitivity 2.0
voice_enable
BothMiscEnables or disables voice chat.
Syntax: voice_enable <0|1>
cl_mute_enemy_team
BothMiscMutes the enemy team's voice and text chat.
Syntax: cl_mute_enemy_team <0|1>
sv_accelerate
BothMovementControls the rate at which player speed increases.
Syntax: sv_accelerate <value>
sv_friction
BothMovementWorld friction amount.
Syntax: sv_friction <value>
sv_gravity
BothMovementSets the gravity for the server.
Syntax: sv_gravity <value>
Example: sv_gravity 800
sv_airaccelerate
BothMovementControls air acceleration for air strafing.
Syntax: sv_airaccelerate <value>
Example: sv_airaccelerate 12
sv_wateraccelerate
BothMovementControls acceleration in water.
Syntax: sv_wateraccelerate <value>
sv_waterfriction
BothMovementControls friction in water.
Syntax: sv_waterfriction <value>
sv_stopspeed
BothMovementMinimum stopping speed when on ground.
Syntax: sv_stopspeed <value>
cl_forwardspeed
BothMovementSets forward movement speed.
Syntax: cl_forwardspeed <value>
cl_backspeed
BothMovementSets backward movement speed.
Syntax: cl_backspeed <value>
sv_falldamage_scale
CS2MovementMultiplier for fall damage.
Syntax: sv_falldamage_scale <value>
sv_jump_impulse
CS2MovementInitial upward velocity when jumping.
Syntax: sv_jump_impulse <value>
sv_ladder_scale_speed
CS2MovementScale factor for ladder movement speed.
Syntax: sv_ladder_scale_speed <value>
cl_predict
BothMovementEnables client-side prediction of movement.
Syntax: cl_predict <0|1>
mp_weapons_allow_pistols
BothWeaponControls whether pistols can be purchased.
Syntax: mp_weapons_allow_pistols <-1|0|1>
mp_weapons_allow_rifles
BothWeaponControls whether rifles can be purchased.
Syntax: mp_weapons_allow_rifles <-1|0|1>
mp_weapons_allow_smgs
BothWeaponControls whether SMGs can be purchased.
Syntax: mp_weapons_allow_smgs <-1|0|1>
mp_weapons_allow_heavies
BothWeaponControls whether heavy weapons can be purchased.
Syntax: mp_weapons_allow_heavies <-1|0|1>
mp_weapons_allow_shotguns
BothWeaponControls whether shotguns can be purchased.
Syntax: mp_weapons_allow_shotguns <-1|0|1>
weapon_accuracy_nospread
BothWeaponDisables weapon spread for perfect accuracy.
Syntax: weapon_accuracy_nospread <0|1>
Example: weapon_accuracy_nospread 1
weapon_recoil_scale
BothWeaponScales weapon recoil. 0 = no recoil.
Syntax: weapon_recoil_scale <value>
Example: weapon_recoil_scale 0
weapon_debug_spread_show
BothWeaponShows weapon spread as a visual overlay.
Syntax: weapon_debug_spread_show <0|1>
mp_ct_default_primary
BothWeaponSets the default primary weapon for CTs.
Syntax: mp_ct_default_primary <weapon>
mp_t_default_primary
BothWeaponSets the default primary weapon for Ts.
Syntax: mp_t_default_primary <weapon>
mp_ct_default_secondary
BothWeaponSets the default secondary weapon for CTs.
Syntax: mp_ct_default_secondary <weapon>
mp_t_default_secondary
BothWeaponSets the default secondary weapon for Ts.
Syntax: mp_t_default_secondary <weapon>
mp_weapons_allow_map_placed
BothWeaponAllow map-placed weapons to be picked up.
Syntax: mp_weapons_allow_map_placed <0|1>
mp_death_drop_gun
BothWeaponWhether players drop their gun on death.
Syntax: mp_death_drop_gun <0|1>
mp_death_drop_grenade
BothWeaponControls what grenades drop on death.
Syntax: mp_death_drop_grenade <0|1|2>
mp_death_drop_defuser
BothWeaponWhether the defuser drops on death.
Syntax: mp_death_drop_defuser <0|1>
mp_free_armor
BothWeapon0=none, 1=kevlar, 2=kevlar+helmet for free.
Syntax: mp_free_armor <0|1|2>
Example: mp_free_armor 2
mp_weapons_allow_typecount
BothWeaponMax number of one weapon type per team.
Syntax: mp_weapons_allow_typecount <value>
cl_hud_radar_scale
BothHUDSets the radar HUD size.
Syntax: cl_hud_radar_scale <value>
Example: cl_hud_radar_scale 1.3
cl_radar_scale
BothHUDSets the radar map zoom level.
Syntax: cl_radar_scale <value>
Example: cl_radar_scale 0.4
cl_radar_always_centered
BothHUDCenters the radar on your position.
Syntax: cl_radar_always_centered <0|1>
cl_radar_rotate
BothHUDWhether the radar rotates with your view.
Syntax: cl_radar_rotate <0|1>
cl_radar_icon_scale_min
BothHUDMinimum icon scale on the radar.
Syntax: cl_radar_icon_scale_min <value>
cl_hud_background_alpha
BothHUDControls HUD background transparency.
Syntax: cl_hud_background_alpha <value>
cl_hud_healthammo_style
BothHUDChanges health/ammo HUD style.
Syntax: cl_hud_healthammo_style <0|1>
cl_hud_playercount_showcount
BothHUDShows player count as number instead of avatars.
Syntax: cl_hud_playercount_showcount <0|1>
cl_hud_playercount_pos
BothHUDPosition of player count. 0=top, 1=bottom.
Syntax: cl_hud_playercount_pos <0|1>
cl_showloadout
BothHUDAlways show your current loadout on screen.
Syntax: cl_showloadout <0|1>
hud_scaling
BothHUDScales the entire HUD. 0.5 to 0.95.
Syntax: hud_scaling <value>
Example: hud_scaling 0.85
cl_teamid_overhead_always
BothHUDShows 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
BothHUDShows clan tags in death notices.
Syntax: cl_show_clan_in_death_notice <0|1>
cl_lagcompensation
BothNetworkEnables lag compensation.
Syntax: cl_lagcompensation <0|1>
net_client_steamdatagram_enable_override
CS2NetworkControls Steam Datagram Relay. 1=enabled.
Syntax: net_client_steamdatagram_enable_override <value>
mm_dedicated_search_maxping
BothNetworkMaximum acceptable ping for matchmaking.
Syntax: mm_dedicated_search_maxping <value>
Example: mm_dedicated_search_maxping 80
cl_timeout
BothNetworkSeconds before client disconnects from unresponsive server.
Syntax: cl_timeout <value>
net_maxroutable
BothNetworkMaximum packet size in bytes.
Syntax: net_maxroutable <value>
mat_monitorgamma
BothGraphicsSets the monitor gamma (brightness).
Syntax: mat_monitorgamma <value>
Example: mat_monitorgamma 1.6
r_dynamic
BothGraphicsEnables or disables dynamic lighting.
Syntax: r_dynamic <0|1>
mat_savechanges
BothGraphicsSaves material system changes to disk.
Syntax: mat_savechanges
mat_disable_bloom
CS:GOGraphicsDisables bloom lighting effect.
Syntax: mat_disable_bloom <0|1>
r_drawdetailprops
BothGraphicsToggles rendering of detail props (grass, debris).
Syntax: r_drawdetailprops <0|1>
fog_override
BothGraphicsOverrides fog settings. Requires sv_cheats.
Syntax: fog_override <0|1>
fog_enable
BothGraphicsEnables or disables fog rendering.
Syntax: fog_enable <0|1>
cl_ragdoll_physics_enable
BothGraphicsEnables ragdoll physics for dead players.
Syntax: cl_ragdoll_physics_enable <0|1>
r_drawviewmodel
BothGraphicsShows or hides the weapon viewmodel.
Syntax: r_drawviewmodel <0|1>
cl_bob_lower_amt
BothGraphicsControls how much viewmodel lowers when running.
Syntax: cl_bob_lower_amt <value>
cl_bobamt_lat
BothGraphicsControls lateral viewmodel bobbing.
Syntax: cl_bobamt_lat <value>
cl_bobamt_vert
BothGraphicsControls vertical viewmodel bobbing.
Syntax: cl_bobamt_vert <value>
cl_viewmodel_shift_left_amt
BothGraphicsAmount viewmodel shifts left when firing.
Syntax: cl_viewmodel_shift_left_amt <value>
cl_viewmodel_shift_right_amt
BothGraphicsAmount viewmodel shifts right when firing.
Syntax: cl_viewmodel_shift_right_amt <value>
viewmodel_fov
BothGraphicsSets the field of view for the viewmodel.
Syntax: viewmodel_fov <value>
Example: viewmodel_fov 68
viewmodel_offset_x
BothGraphicsHorizontal offset of the viewmodel.
Syntax: viewmodel_offset_x <value>
viewmodel_offset_y
BothGraphicsDepth offset of the viewmodel.
Syntax: viewmodel_offset_y <value>
viewmodel_offset_z
BothGraphicsVertical offset of the viewmodel.
Syntax: viewmodel_offset_z <value>
viewmodel_presetpos
BothGraphicsViewmodel preset position. 1=desktop, 2=couch, 3=classic.
Syntax: viewmodel_presetpos <1|2|3>
snd_musicvolume
BothSoundSets the music volume.
Syntax: snd_musicvolume <0-1>
Example: snd_musicvolume 0
snd_menumusic_volume
BothSoundSets main menu music volume.
Syntax: snd_menumusic_volume <0-1>
snd_roundstart_volume
BothSoundSets round start music volume.
Syntax: snd_roundstart_volume <0-1>
snd_roundend_volume
BothSoundSets round end music volume.
Syntax: snd_roundend_volume <0-1>
snd_deathcamera_volume
BothSoundSets death camera music volume.
Syntax: snd_deathcamera_volume <0-1>
snd_mvp_volume
BothSoundSets MVP music volume.
Syntax: snd_mvp_volume <0-1>
snd_tensecondwarning_volume
BothSoundSets 10-second bomb warning music volume.
Syntax: snd_tensecondwarning_volume <0-1>
Example: snd_tensecondwarning_volume 0.1
snd_mapobjective_volume
BothSoundSets map objective music volume.
Syntax: snd_mapobjective_volume <0-1>
voice_mixer_volume
BothSoundSets the voice chat microphone volume.
Syntax: voice_mixer_volume <0-1>
snd_mix_async
BothSoundEnables async sound mixing for better performance.
Syntax: snd_mix_async <0|1>
windows_speaker_config
BothSoundSpeaker configuration. 1=headphones.
Syntax: windows_speaker_config <value>
voice_loopback
BothSoundHear your own microphone in-game for testing.
Syntax: voice_loopback <0|1>
cl_crosshair_sniper_width
BothCrosshairSets the width of the sniper crosshair.
Syntax: cl_crosshair_sniper_width <value>
cl_crosshair_sniper_show_normal_inaccuracy
CS2CrosshairShows inaccuracy on sniper scope crosshair.
Syntax: cl_crosshair_sniper_show_normal_inaccuracy <0|1>
cl_crosshairalpha
BothCrosshairSets the crosshair transparency.
Syntax: cl_crosshairalpha <0-255>
Example: cl_crosshairalpha 255
cl_crosshairgap_useweaponvalue
BothCrosshairUses weapon-specific crosshair gap values.
Syntax: cl_crosshairgap_useweaponvalue <0|1>
cl_crosshair_t
BothCrosshairT-style crosshair (removes top line).
Syntax: cl_crosshair_t <0|1>
cl_crosshair_friendly_warning
CS2CrosshairShows warning when aiming at teammates.
Syntax: cl_crosshair_friendly_warning <0|1|2>
cl_crosshair_recoil
CS2CrosshairCrosshair follows recoil pattern.
Syntax: cl_crosshair_recoil <0|1>
cl_fixedcrosshairgap
BothCrosshairFixed crosshair gap used with certain styles.
Syntax: cl_fixedcrosshairgap <value>
mp_warmuptime
BothServerSets the warmup time in seconds.
Syntax: mp_warmuptime <seconds>
Example: mp_warmuptime 30
mp_halftime
BothServerEnables or disables halftime.
Syntax: mp_halftime <0|1>
mp_maxrounds
BothServerMaximum number of rounds per match.
Syntax: mp_maxrounds <value>
Example: mp_maxrounds 30
mp_overtime_enable
BothServerEnables overtime when the score is tied.
Syntax: mp_overtime_enable <0|1>
mp_overtime_maxrounds
BothServerNumber of rounds in overtime.
Syntax: mp_overtime_maxrounds <value>
mp_match_can_clinch
BothServerEnds the match when one team clinches.
Syntax: mp_match_can_clinch <0|1>
mp_teammatchstat_txt
BothServerCustom text displayed on the scoreboard.
Syntax: mp_teammatchstat_txt <text>
mp_teamname_1
BothServerSets the name for team 1.
Syntax: mp_teamname_1 <name>
mp_teamname_2
BothServerSets the name for team 2.
Syntax: mp_teamname_2 <name>
mp_autoteambalance
BothServerAutomatically balance teams.
Syntax: mp_autoteambalance <0|1>
mp_friendlyfire
BothServerEnables or disables friendly fire.
Syntax: mp_friendlyfire <0|1>
mp_solid_teammates
BothServerControls teammate collision. 0=off, 1=on, 2=push.
Syntax: mp_solid_teammates <0|1|2>
mp_c4timer
BothServerSets the C4 bomb timer in seconds.
Syntax: mp_c4timer <seconds>
Example: mp_c4timer 40
mp_defuser_allocation
BothServer0=none, 1=random, 2=all CTs get defuser.
Syntax: mp_defuser_allocation <0|1|2>
mp_give_player_c4
BothServerWhether to give the bomb to a T player.
Syntax: mp_give_player_c4 <0|1>
mp_randomspawn
BothServerEnables random spawn locations.
Syntax: mp_randomspawn <0|1>
mp_spectators_max
BothServerMaximum number of spectators allowed.
Syntax: mp_spectators_max <value>
mp_forcecamera
BothServerControls spectator camera after death.
Syntax: mp_forcecamera <0|1|2>
mp_allowspectators
BothServerAllow spectators on the server.
Syntax: mp_allowspectators <0|1>
sv_pausable
BothServerAllow the game to be paused.
Syntax: sv_pausable <0|1>
sv_password
BothServerSets a password required to join the server.
Syntax: sv_password <password>
sv_lan
BothServerSets the server to LAN mode.
Syntax: sv_lan <0|1>
hostname
BothServerSets the server name.
Syntax: hostname <name>
mp_match_end_restart
BothServerRestart the game at the end of a match.
Syntax: mp_match_end_restart <0|1>
mp_do_warmup_period
BothServerEnables warmup period before the match.
Syntax: mp_do_warmup_period <0|1>
sv_allow_votes
BothServerAllow players to call votes.
Syntax: sv_allow_votes <0|1>
sv_voiceenable
BothServerEnables voice communication on the server.
Syntax: sv_voiceenable <0|1>
sv_alltalk
BothServerAll players can hear each other's voice chat.
Syntax: sv_alltalk <0|1>
sv_deadtalk
BothServerDead players can talk to living players.
Syntax: sv_deadtalk <0|1>
sv_full_alltalk
BothServerEveryone can hear everyone, dead or alive.
Syntax: sv_full_alltalk <0|1>
sv_grenade_trajectory_time
BothPracticeHow long grenade trajectories remain visible.
Syntax: sv_grenade_trajectory_time <seconds>
Example: sv_grenade_trajectory_time 10
sv_grenade_trajectory_thickness
BothPracticeThickness of grenade trajectory lines.
Syntax: sv_grenade_trajectory_thickness <value>
sv_showimpacts_time
BothPracticeHow long bullet impacts remain visible.
Syntax: sv_showimpacts_time <seconds>
Example: sv_showimpacts_time 10
mp_roundtime_hostage
BothPracticeRound time for hostage rescue maps.
Syntax: mp_roundtime_hostage <minutes>
mp_respawn_immunitytime
BothPracticeSpawn protection time in seconds.
Syntax: mp_respawn_immunitytime <seconds>
mp_respawn_on_death_ct
BothPracticeCTs respawn after death.
Syntax: mp_respawn_on_death_ct <0|1>
mp_respawn_on_death_t
BothPracticeTs respawn after death.
Syntax: mp_respawn_on_death_t <0|1>
mp_td_spawnsecurity
BothPracticeSpawn protection against team damage.
Syntax: mp_td_spawnsecurity <0|1>
bot_stop
BothPracticeStops all bots from moving.
Syntax: bot_stop <0|1>
Example: bot_stop 1
bot_mimic
BothPracticeBots mimic your movements.
Syntax: bot_mimic <0|1>
bot_crouch
BothPracticeForces bots to crouch.
Syntax: bot_crouch <0|1>
bot_place
BothPracticePlaces a bot at your crosshair position.
Syntax: bot_place
bot_zombie
BothPracticeBots don't move or shoot.
Syntax: bot_zombie <0|1>
Example: bot_zombie 1
bot_knives_only
BothPracticeBots only use knives.
Syntax: bot_knives_only <0|1>
bot_difficulty
BothPracticeBot skill level. 0=easy, 3=expert.
Syntax: bot_difficulty <0-3>
bot_quota
BothPracticeMaximum number of bots on the server.
Syntax: bot_quota <value>
bot_quota_mode
BothPracticeControls how bots are added. fill=fill empty slots.
Syntax: bot_quota_mode <normal|fill|match>
bot_dont_shoot
BothPracticePrevents bots from shooting.
Syntax: bot_dont_shoot <0|1>
kill
BothPracticeKills your own player. Requires sv_cheats.
Syntax: kill
ent_fire
BothPracticeFires an input on an entity. Advanced mapping command.
Syntax: ent_fire <entity> <input>
r_showclipbrushes
BothPracticeShows clip brushes used for collision.
Syntax: r_showclipbrushes <0|1|2>
sv_regeneration_force_on
BothPracticeForces health regeneration.
Syntax: sv_regeneration_force_on <0|1>
mp_ignore_round_win_conditions
BothPracticeIgnores all round win conditions. Round never ends.
Syntax: mp_ignore_round_win_conditions <0|1>
Example: mp_ignore_round_win_conditions 1
developer
BothMiscEnables developer messages in console.
Syntax: developer <0|1|2>
con_filter_enable
BothMiscEnables console output filtering.
Syntax: con_filter_enable <0|1|2>
con_filter_text
BothMiscFilter console output to only show matching text.
Syntax: con_filter_text <text>
echo
BothMiscPrints text to the console.
Syntax: echo <text>
alias
BothMiscCreates a shortcut command.
Syntax: alias <name> <command>
cl_autohelp
BothMiscEnables automatic help messages.
Syntax: cl_autohelp <0|1>
cl_showhelp
BothMiscShows help panels when appropriate.
Syntax: cl_showhelp <0|1>
cl_autowepswitch
BothMiscAuto-switch to picked up weapons.
Syntax: cl_autowepswitch <0|1>
cl_use_opens_buy_menu
BothMiscUse key opens the buy menu in buy zone.
Syntax: cl_use_opens_buy_menu <0|1>
cl_dm_buyrandomweapons
BothMiscRandomly buy weapons in deathmatch.
Syntax: cl_dm_buyrandomweapons <0|1>
gameinstructor_enable
BothMiscEnables in-game instructor hints.
Syntax: gameinstructor_enable <0|1>
r_cleardecals
BothMiscRemoves all blood and bullet decals from surfaces.
Syntax: r_cleardecals
cl_disablefreezecam
BothMiscDisables the freeze camera on death.
Syntax: cl_disablefreezecam <0|1>
cl_teammate_colors_show
BothMiscShows unique colors for each teammate.
Syntax: cl_teammate_colors_show <0|1|2>
cl_color
BothMiscSets your preferred player color.
Syntax: cl_color <0-4>
cl_join_advertise
BothMiscControls join game visibility to friends.
Syntax: cl_join_advertise <0|1|2>
cl_clanid
BothMiscSets your clan ID for the clan tag.
Syntax: cl_clanid <id>
player_nevershow_communityservermessage
BothMiscHides community server MOTD messages.
Syntax: player_nevershow_communityservermessage <0|1>
cl_buywheel_nonumberpurchasing
CS2MiscDisables number key purchasing in buy menu.
Syntax: cl_buywheel_nonumberpurchasing <0|1>
cl_sanitize_player_names
CS2MiscReplaces player names with generic names.
Syntax: cl_sanitize_player_names <0|1>
jpeg_quality
BothMiscJPEG screenshot quality.
Syntax: jpeg_quality <1-100>
Example: jpeg_quality 100
screenshot
BothMiscTakes a screenshot.
Syntax: screenshot
record
BothMiscStarts recording a demo.
Syntax: record <name>
Example: record mydemo
stop
BothMiscStops recording a demo.
Syntax: stop
playdemo
BothMiscPlays a recorded demo.
Syntax: playdemo <name>
demo_pause
BothMiscPauses demo playback.
Syntax: demo_pause
demo_resume
BothMiscResumes demo playback.
Syntax: demo_resume
demo_timescale
BothMiscSets demo playback speed. 1=normal, 0.5=half.
Syntax: demo_timescale <value>
Example: demo_timescale 0.25
demoui
BothMiscOpens the demo playback UI.
Syntax: demoui
tv_snapshotrate
BothMiscSets GOTV snapshot update rate.
Syntax: tv_snapshotrate <value>
tv_enable
BothMiscEnables GOTV on the server.
Syntax: tv_enable <0|1>
map
BothMiscChanges to the specified map and restarts.
Syntax: map <map_name>
Example: map de_mirage
maps
BothMiscLists all available maps matching a pattern.
Syntax: maps <pattern>
Example: maps de_*
mp_display_kill_assists
BothMiscShows kill assists in the killfeed.
Syntax: mp_display_kill_assists <0|1>
mp_playerid
BothMiscControls player ID display. 0=all, 1=team, 2=none.
Syntax: mp_playerid <0|1|2>
spec_show_xray
BothMiscShows X-ray vision when spectating.
Syntax: spec_show_xray <0|1>
sv_skyname
BothMiscChanges the skybox texture.
Syntax: sv_skyname <name>
mp_endmatch_votenextmap
BothMiscEnables end-of-match map voting.
Syntax: mp_endmatch_votenextmap <0|1>
mp_endmatch_votenextleveltime
BothMiscTime for end-of-match map vote.
Syntax: mp_endmatch_votenextleveltime <seconds>
writeid
BothMiscWrites the ban list to banned_user.cfg.
Syntax: writeid
writeip
BothMiscWrites the IP ban list to banned_ip.cfg.
Syntax: writeip
bind_osx
BothBindsBinds a key for macOS specifically.
Syntax: bind_osx <key> <command>
key_listboundkeys
BothBindsLists all currently bound keys.
Syntax: key_listboundkeys
key_findbinding
BothBindsFinds which key a command is bound to.
Syntax: key_findbinding <command>
Example: key_findbinding noclip
+jump
BothBindsJump command. Used in binds.
Syntax: +jump
+duck
BothBindsCrouch command. Used in binds.
Syntax: +duck
+sprint
BothBindsSprint/shift walk command.
Syntax: +sprint
+attack
BothBindsPrimary fire command.
Syntax: +attack
+attack2
BothBindsSecondary fire (scope/silencer) command.
Syntax: +attack2
+reload
BothBindsReload weapon command.
Syntax: +reload
+use
BothBindsUse/interact command (defuse, open doors).
Syntax: +use
+lookatweapon
BothBindsInspect weapon animation.
Syntax: +lookatweapon
+showscores
BothBindsShows the scoreboard.
Syntax: +showscores
messagemode
BothBindsOpens all-chat text input.
Syntax: messagemode
messagemode2
BothBindsOpens team-chat text input.
Syntax: messagemode2
say
BothBindsSends a message in all chat.
Syntax: say <message>
Example: say glhf
say_team
BothBindsSends a message in team chat.
Syntax: say_team <message>
toggle
BothBindsToggles a console variable between values.
Syntax: toggle <cvar>
Example: toggle cl_righthand 0 1
incrementvar
BothBindsIncrements a variable by a step within range.
Syntax: incrementvar <cvar> <min> <max> <step>
+voicerecord
BothBindsPush-to-talk voice chat command.
Syntax: +voicerecord
slot1
BothBindsSwitch to primary weapon.
Syntax: slot1
slot2
BothBindsSwitch to secondary weapon (pistol).
Syntax: slot2
slot3
BothBindsSwitch to knife.
Syntax: slot3
slot4
BothBindsSwitch to grenades.
Syntax: slot4
slot5
BothBindsSwitch to C4 bomb.
Syntax: slot5
slot6
BothBindsSwitch to slot 6 item.
Syntax: slot6
slot7
BothBindsSwitch to slot 7 item.
Syntax: slot7
slot8
BothBindsSwitch to slot 8 (flashbang).
Syntax: slot8
slot9
BothBindsSwitch to slot 9 (HE grenade).
Syntax: slot9
slot10
BothBindsSwitch to slot 10 (smoke).
Syntax: slot10
slot11
BothBindsSwitch to slot 11 (molotov).
Syntax: slot11
slot12
BothBindsSwitch to slot 12 (decoy).
Syntax: slot12
lastinv
BothBindsSwitch to the last used weapon.
Syntax: lastinv
invnext
BothBindsSwitch to the next weapon in inventory.
Syntax: invnext
invprev
BothBindsSwitch to the previous weapon in inventory.
Syntax: invprev
drop
BothBindsDrops the current weapon.
Syntax: drop
buymenu
BothBindsOpens the buy menu.
Syntax: buymenu
autobuy
BothBindsAutomatically buys your preferred weapons.
Syntax: autobuy
rebuy
BothBindsRebuys weapons from the previous round.
Syntax: rebuy
+radialradio
CS2BindsOpens the radio command wheel.
Syntax: +radialradio
+radialradio2
CS2BindsOpens the second radio command wheel.
Syntax: +radialradio2
+radialradio3
CS2BindsOpens the third radio command wheel.
Syntax: +radialradio3
radio1
CS:GOBindsOpens radio command menu 1.
Syntax: radio1
radio2
CS:GOBindsOpens radio command menu 2.
Syntax: radio2
radio3
CS:GOBindsOpens radio command menu 3.
Syntax: radio3
player_ping
CS2BindsPlaces a ping marker on the map.
Syntax: player_ping
m_rawinput
BothMiscEnables raw mouse input. 1=enabled.
Syntax: m_rawinput <0|1>
Example: m_rawinput 1
m_customaccel
BothMiscEnables custom mouse acceleration.
Syntax: m_customaccel <0|1>
m_customaccel_exponent
BothMiscMouse acceleration exponent.
Syntax: m_customaccel_exponent <value>
m_mousespeed
BothMiscWindows mouse speed. 0=disabled.
Syntax: m_mousespeed <0|1>
Example: m_mousespeed 0
m_yaw
BothMiscMouse yaw factor (horizontal sensitivity).
Syntax: m_yaw <value>
m_pitch
BothMiscMouse pitch factor (vertical sensitivity).
Syntax: m_pitch <value>
zoom_sensitivity_ratio
BothMiscSensitivity multiplier when zoomed/scoped.
Syntax: zoom_sensitivity_ratio <value>
Example: zoom_sensitivity_ratio 1.0
kick
BothServerKicks a player from the server.
Syntax: kick <name>
banid
BothServerBans a player by their user ID.
Syntax: banid <minutes> <userid>
banip
BothServerBans an IP address from the server.
Syntax: banip <minutes> <ip>
removeid
BothServerRemoves a player ban.
Syntax: removeid <userid>
removeip
BothServerRemoves an IP ban.
Syntax: removeip <ip>
users
BothServerLists all connected users with their IDs.
Syntax: users
rcon
BothServerSends a command to the remote server.
Syntax: rcon <command>
rcon_password
BothServerSets the RCON password for remote access.
Syntax: rcon_password <password>
rcon_address
BothServerSets the RCON server address.
Syntax: rcon_address <ip:port>
mp_autokick
BothServerAuto-kick idle or team-killing players.
Syntax: mp_autokick <0|1>
mp_tkpunish
BothServerPunish team killers next round.
Syntax: mp_tkpunish <0|1>
sv_rethrow_last_grenade
CS2PracticeRethrows the last grenade. For practice.
Syntax: sv_rethrow_last_grenade
mp_endwarmup_player_count
BothServerEnd warmup when this many players connect.
Syntax: mp_endwarmup_player_count <value>
viewmodel_recoil
CS2GraphicsAmount of visual recoil on the viewmodel.
Syntax: viewmodel_recoil <0-1>
cl_usenumberinsteadoficons
CS2HUDShows numbers instead of weapon icons in HUD.
Syntax: cl_usenumberinsteadoficons <0|1>
cl_show_equipped_character_for_player_avatars
CS2HUDShows equipped agent model as avatar.
Syntax: cl_show_equipped_character_for_player_avatars <0|1>
cash_player_bomb_defused
BothServerMoney reward for defusing the bomb.
Syntax: cash_player_bomb_defused <amount>
cash_player_bomb_planted
BothServerMoney reward for planting the bomb.
Syntax: cash_player_bomb_planted <amount>
cash_player_damage_hostage
BothServerMoney penalty for damaging hostages.
Syntax: cash_player_damage_hostage <amount>
cash_player_killed_enemy_default
BothServerDefault money reward for killing enemies.
Syntax: cash_player_killed_enemy_default <amount>
cash_player_killed_enemy_factor
BothServerKill reward factor multiplier.
Syntax: cash_player_killed_enemy_factor <value>
cash_player_killed_hostage
BothServerMoney penalty for killing hostages.
Syntax: cash_player_killed_hostage <amount>
cash_player_killed_teammate
BothServerMoney penalty for killing teammates.
Syntax: cash_player_killed_teammate <amount>
cash_player_rescued_hostage
BothServerMoney reward for rescuing a hostage.
Syntax: cash_player_rescued_hostage <amount>
cash_team_elimination_bomb_map
BothServerTeam reward for elimination win on bomb maps.
Syntax: cash_team_elimination_bomb_map <amount>
cash_team_elimination_hostage_map_ct
BothServerCT team reward for elimination on hostage maps.
Syntax: cash_team_elimination_hostage_map_ct <amount>
cash_team_elimination_hostage_map_t
BothServerT team reward for elimination on hostage maps.
Syntax: cash_team_elimination_hostage_map_t <amount>
cash_team_hostage_alive
BothServerTeam bonus for each hostage kept alive.
Syntax: cash_team_hostage_alive <amount>
cash_team_loser_bonus
BothServerBase losing team bonus.
Syntax: cash_team_loser_bonus <amount>
cash_team_loser_bonus_consecutive_rounds
BothServerAdditional bonus per consecutive loss.
Syntax: cash_team_loser_bonus_consecutive_rounds <amount>
cash_team_planted_bomb_but_defused
BothServerT team reward when bomb planted but defused.
Syntax: cash_team_planted_bomb_but_defused <amount>
cash_team_rescued_hostage
BothServerTeam reward for hostage rescue.
Syntax: cash_team_rescued_hostage <amount>
cash_team_survive_guardian_wave
BothServerTeam reward for surviving guardian wave.
Syntax: cash_team_survive_guardian_wave <amount>
cash_team_terrorist_win_bomb
BothServerT team reward for winning by bomb detonation.
Syntax: cash_team_terrorist_win_bomb <amount>
cash_team_win_by_defusing_bomb
BothServerCT team reward for winning by defusing.
Syntax: cash_team_win_by_defusing_bomb <amount>
cash_team_win_by_hostage_rescue
BothServerCT team reward for winning by hostage rescue.
Syntax: cash_team_win_by_hostage_rescue <amount>
cash_team_win_by_time_running_out_bomb
BothServerCT 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
BothServerT reward for time running out on hostage maps.
Syntax: cash_team_win_by_time_running_out_hostage <amount>
cl_grenadepreview
CS2PracticeShows grenade trajectory preview before throwing.
Syntax: cl_grenadepreview <0|1>
sv_party_mode
BothPracticeEnables party mode with balloons and confetti on headshots.
Syntax: sv_party_mode <0|1>
thirdperson
BothPracticeSwitches to third-person camera view.
Syntax: thirdperson
firstperson
BothPracticeReturns to first-person camera view.
Syntax: firstperson
cam_idealdist
BothPracticeSets the third-person camera distance.
Syntax: cam_idealdist <value>
mirrorvectors
BothPracticeMirrors the view for screenshots.
Syntax: mirrorvectors
mat_fullbright
BothPracticeFullbright lighting. Everything fully lit.
Syntax: mat_fullbright <0|1>
r_drawothermodels
BothPracticeControls rendering of other player models. 2=wireframe.
Syntax: r_drawothermodels <0|1|2>
r_drawworld
BothPracticeToggles world rendering. 0 shows only entities.
Syntax: r_drawworld <0|1>
sv_enablebunnyhopping
BothPracticeEnables bunny hopping without speed cap.
Syntax: sv_enablebunnyhopping <0|1>
host_timescale
BothPracticeGame speed multiplier. 0.5=slow, 2=fast.
Syntax: host_timescale <value>
Example: host_timescale 0.5
phys_pushscale
BothPracticePhysics push scale for ragdolls and objects.
Syntax: phys_pushscale <value>
cl_spec_mode
BothPracticeSpectator camera mode.
Syntax: cl_spec_mode <value>
spec_player_by_name
BothPracticeSpectate a specific player by name.
Syntax: spec_player_by_name <name>
spec_next
BothPracticeSpectate the next player.
Syntax: spec_next
spec_prev
BothPracticeSpectate the previous player.
Syntax: spec_prev
getpos
BothPracticePrints your current position and angles.
Syntax: getpos
setpos
BothPracticeTeleports you to the specified coordinates.
Syntax: setpos <x y z>
setang
BothPracticeSets your view angles.
Syntax: setang <pitch yaw roll>
ent_create
BothPracticeCreates an entity at your crosshair.
Syntax: ent_create <classname>
ent_remove
BothPracticeRemoves the entity you are looking at.
Syntax: ent_remove
ent_remove_all
BothPracticeRemoves all entities of a type.
Syntax: ent_remove_all <classname>
mat_info
BothMiscDisplays material system information.
Syntax: mat_info
snd_restart
BothSoundRestarts the sound system.
Syntax: snd_restart
cl_downloadfilter
BothMiscFilters custom downloads from servers.
Syntax: cl_downloadfilter <all|nosounds|none>
net_status
BothNetworkDisplays current network status.
Syntax: net_status
ping
BothNetworkShows your current ping to the server.
Syntax: ping
retry
BothMiscReconnects to the last server.
Syntax: retry
connect
BothMiscConnects to a server by IP address.
Syntax: connect <ip:port>
Example: connect 192.168.1.1:27015
version
BothMiscDisplays the game version.
Syntax: version
find
BothMiscFinds all commands containing the text.
Syntax: find <text>
Example: find crosshair
help
BothMiscShows help for a specific command.
Syntax: help <command>
cvarlist
BothMiscLists all console variables.
Syntax: cvarlist
differences
BothMiscShows all changed console variables.
Syntax: differences
condump
BothMiscDumps console text to a file.
Syntax: condump
contimes
BothMiscHow long console text stays on screen.
Syntax: contimes <value>
hideconsole
BothMiscHides the developer console.
Syntax: hideconsole
showconsole
BothMiscShows the developer console.
Syntax: showconsole
cl_language
BothMiscSets the game language.
Syntax: cl_language <language>
fps_max_ui
CS2GraphicsFPS limit for UI/menus.
Syntax: fps_max_ui <value>
engine_no_focus_sleep
CS2GraphicsFPS limit when game is not focused.
Syntax: engine_no_focus_sleep <value>
Example: engine_no_focus_sleep 0
r_fullscreen_gamma
CS2GraphicsFullscreen gamma correction value.
Syntax: r_fullscreen_gamma <value>
mat_dynamic_tonemapping
BothGraphicsEnables dynamic tone mapping.
Syntax: mat_dynamic_tonemapping <0|1>
cl_crosshair_dynamic_splitdist
BothCrosshairDistance at which dynamic crosshair splits.
Syntax: cl_crosshair_dynamic_splitdist <value>
cl_crosshair_dynamic_splitalpha_innermod
BothCrosshairAlpha modifier for inner dynamic crosshair.
Syntax: cl_crosshair_dynamic_splitalpha_innermod <value>
cl_crosshair_dynamic_splitalpha_outermod
BothCrosshairAlpha modifier for outer dynamic crosshair.
Syntax: cl_crosshair_dynamic_splitalpha_outermod <value>
cl_crosshair_dynamic_maxdist_splitratio
BothCrosshairMax distance split ratio for dynamic crosshair.
Syntax: cl_crosshair_dynamic_maxdist_splitratio <value>