CSGOLuckTools
EN
Trade skins

CS2 console commands

Search 238 commands and variables that exist in CS2 today, with the defaults and limits the game itself reports. Anything that is gone is in its own tab, so you can tell old advice from current.

238 verifiedDefaults and rangesCheat flags shown

Try crosshair, fps_max, bot or demo. Pick a category to narrow it.

Console and config

Run, save and manage your settings.

CommandWhat it doesDefaultRangeWhere
exec
exec <file>
Runs a .cfg file from the game/csgo/cfg folder. Leave off the .cfg.Client
execifexists
execifexists <file>
Runs a config only if the file exists, with no error if it does not.Client
host_writeconfig
Saves your current settings to config.cfg.Client
bind
bind "<key>" "<command>"
Binds a key or mouse button to a command.Client
unbind
unbind <key>
Removes the binding on one key.Client
unbindall
Removes every binding. Re-bind your movement keys afterwards, or run binddefaults.Client
binddefaults
Puts all key bindings back to their defaults.Client
alias
alias "<name>" "<commands>"
Makes a short name that runs a list of commands.Client
echo
echo <text>
Prints a line in the console. Handy in configs to confirm they ran.Client
toggle
toggle <cvar> [value1 value2 ...]
Flips a cvar between values on each press, for example toggle cl_showfps 0 1.Client
incrementvar
incrementvar <cvar> <min> <max> <step>
Steps a cvar up by a fixed amount, wrapping between min and max.Client
cyclevar
cyclevar <cvar> <value1> <value2> ...
Cycles a cvar through a list of values.Client
toggleconsole
Opens or closes the console.Client
find
find <text>
Searches console commands and cvars for a word.Client
help
help <name>
Prints help for a command or cvar.Client
cvarlist
Lists every console variable and command the game knows.Client
differences
Lists the cvars you have changed from their defaults.Client
key_listboundkeys
Lists every key you have bound.Client
key_findbinding
key_findbinding <command>
Shows which key is bound to a command.Client
con_enable
Allows the console to be opened. Same as the Enable Developer Console setting.falseClient
status
Prints your connection, the server and the players on it.Client
maps
Lists the maps the game can load.Client
map
map <name>
Loads a map. Offline this starts a local game.Client
changelevel
changelevel <name>
Changes the map on a server you run.Client
connect
connect <address>
Connects to a server.Client
disconnect
Leaves the current game.Client
quit
Closes CS2.Client

Crosshair

Every crosshair setting is a separate cvar. Colour is set per channel, not with one number.

CommandWhat it doesDefaultRangeWhere
cl_crosshairstyle
Crosshair style. The game accepts 0 to 9.70 to 9Client
cl_crosshairdot
Draws a centre dot.falseClient
cl_crosshair_t
T-style crosshair: hides the top bar.falseClient
cl_crosshair_drawoutline
Outline: 0 off, 1 on, 2 the game's second outline mode.10 to 2Client
cl_crosshair_length
Length of each crosshair line.80 to 255Client
cl_crosshair_thickness
Thickness of the lines.20 to 32Client
cl_crosshair_gap
Gap between the centre and the lines. Negative values overlap the lines.4-3840 to 3840Client
cl_crosshaircolor_r
Red channel, 0 to 255.00 to 255Client
cl_crosshaircolor_g
Green channel, 0 to 255.2550 to 255Client
cl_crosshaircolor_b
Blue channel, 0 to 255.00 to 255Client
cl_crosshaircolor_a
Opacity, 0 to 255.2550 to 255Client
cl_crosshairoutline_r
Outline red, 0 to 255.00 to 255Client
cl_crosshairoutline_g
Outline green, 0 to 255.00 to 255Client
cl_crosshairoutline_b
Outline blue, 0 to 255.00 to 255Client
cl_crosshairoutline_a
Outline opacity, 0 to 255.2550 to 255Client
cl_crosshair_recoil
Makes the crosshair follow recoil.trueClient
cl_crosshair_sniper_width
Width of the scope cross lines. 1 is a one-pixel hairline.1Client
cl_crosshair_friendly_warning
Changes the crosshair when a teammate is in your line of fire.10 to 1Client
cl_crosshair_dynamic_splitdist
How far the lines split apart as the crosshair spreads.30 to 127Client
cl_crosshair_dynamic_spread_limit
Upper limit on how far a dynamic crosshair opens.2550 to 255Client
cl_grenadecrosshair_keepusercrosshair
Keeps your own crosshair while the grenade throw crosshair shows.trueClient
cl_show_observer_crosshair
Whose crosshair you see while spectating.2Client

Viewmodel and FOV

Where the weapon sits on screen. Ranges are the limits built into the game.

CommandWhat it doesDefaultRangeWhere
viewmodel_fov
Viewmodel field of view.6060 to 68Client
viewmodel_offset_x
Moves the gun left (negative) or right (positive).1-2 to 2.5Client
viewmodel_offset_y
Moves the gun toward or away from the camera.1-2 to 2Client
viewmodel_offset_z
Moves the gun down (negative) or up (positive).-1-2 to 2Client
viewmodel_presetpos
Applies a built-in position preset: 1 Desktop, 2 Classic.1Client
cl_prefer_lefthanded
Holds weapons in your left hand.falseClient
fov_desired
The base field of view.751 to 135Client
r_drawtracers_firstperson
Shows or hides your own bullet tracers.trueClient

HUD and radar

On-screen layout and the minimap.

CommandWhat it doesDefaultRangeWhere
cl_hud_color
0 = team color, 1 = white, 2 = bright white, 3 = light blue, 4 = blue, 5 = purple, 6 = red, 7 = orange, 8 = yellow, 9 = green, 10 = aqua, 11 = pink, 12 = teammate color.0Client
hud_scaling
Scales the HUD.10.9 to 1.1Client
cl_hud_radar_scale
Size of the radar on screen.10.8 to 1.3Client
cl_radar_scale
Map zoom inside the radar. Smaller shows more of the map.0.70.25 to 1Client
cl_radar_always_centered
If set to 0, the radar is maximally used. Otherwise the player is always centered, even at map extents.trueClient
cl_radar_rotate
Rotates the radar with your view.trueClient
cl_radar_icon_scale_min
Sets the minimum icon scale. Valid values are 0.4 to 1.25.0.60.4 to 1.25Client
cl_radar_square_with_scoreboard
Turns the radar square while the scoreboard is open.trueClient
cl_hud_radar_background_alpha
Opacity of the radar background.0.6270 to 1Client
cl_hud_radar_blur_background
Blurs the radar background.trueClient
cl_teamid_overhead_mode
Always show team id over teammates. 0 = off, 1 = pips; 2 = +name, 3 = +equipment3Client
cl_teammate_colors_show
In competitive, 1 = show teammates as separate colors in the radar, scoreboard, etc., 2 = show colors and letters1Client
cl_showloadout
Toggles display of current loadout.trueClient
hud_showtargetid
Enables display of target namestrueClient
cl_show_clan_in_death_notice
Is set, the clan name will show next to player names in the death notices.trueClient
cl_deathnotices_show_numbers
0: default; 1: draw names as just numbers; 2: append number on killer and victim to the name0Client
cl_draw_only_deathnotices
Hides the HUD except the crosshair and death notices. Used for video.falseClient
cl_drawhud
Enable the rendering of the hudtrueCheat-protected
cl_autohelp
Turns on the automatic helper hints.trueClient
gameinstructor_enable
Display in game lessons that teach new players.falseClient
cl_disable_round_end_report
Hides the round-end report.falseClient
cl_cursor_scale
Scales the mouse cursor in menus.1Client
cl_sanitize_player_names
Replace names of other players with something non-offensive.falseClient
cl_hide_avatar_images
Hide avatar images for other players. 0 - Off. 1 - Block All 2 - Block all but friends0Client

Audio

Volumes are 0 to 1.

CommandWhat it doesDefaultRangeWhere
volume
Master volume.10 to 1Client
snd_gamevolume
Game volume10 to 1Client
snd_gamevoicevolume
Game v.o. volume10 to 1Client
snd_voipvolume
Volume of other players' voice chat.10 to 2Client
snd_musicvolume
Music volume10 to 1Client
snd_menumusic_volume
Volume of Menu / Non-gameplay music0.040 to 1Client
snd_mvp_volume
Volume of MVP Music0.160 to 1Client
snd_roundstart_volume
Volume of Round Start Music00 to 1Client
snd_roundend_volume
Volume of Won/Lost Music0.160 to 1Client
snd_roundaction_volume
Volume of Move Action Music00 to 1Client
snd_tensecondwarning_volume
Volume of Ten Second Warnings0.040 to 1Client
snd_deathcamera_volume
Volume of Deathcam Timers0.160 to 1Client
snd_mapobjective_volume
Volume of Map Objective Music0.040 to 1Client
snd_headphone_eq
Chooses a headphone equaliser preset.0Client
snd_mute_losefocus
Mutes the game when its window is not focused.trueClient
snd_mute_mvp_music_live_players
If set, MVP music is muted if players from both teams are still alive.falseClient
snd_steamaudio_enable_perspective_correction
Enable perspective correction for 3D audio.falseClient

Mouse and input

Sensitivity and control behaviour.

CommandWhat it doesDefaultRangeWhere
sensitivity
Mouse sensitivity.1.250.0001 to 8Client
zoom_sensitivity_ratio
Additional mouse sensitivity scale factor applied when FOV is zoomed in.10.01 to 3Client
sensitivity_y_scale
Multiplies the mouse Y axis for finer pitch vs yaw aim10 to 2Client
m_yaw
Mouse yaw factor.0.022Client
m_pitch
Mouse pitch factor.0.022Client
mouse_inverty
Inverts vertical mouse movement.falseClient
option_duck_method
Toggle crouch instead of hold.falseClient
option_speed_method
Toggle walk instead of hold.falseClient
cl_debounce_zoom
Whether or not to disable holding secondary fire to cycle zoom levelstrueClient
cl_sniper_auto_rezoom
Auto-rezoom snipers after a shottrueClient
cl_silencer_mode
0: cannot detach; 1: press secondary fire to detach0Client
cl_use_opens_buy_menu
Pressing the +use key will open the buy menu if in a buy zone (just as if you pressed the 'buy' key).falseClient
cl_weapon_stealth_reload_toggle
Should the silent reload act like a togglefalseClient
cl_scoreboard_mouse_enable_binding
The binding that frees the mouse cursor on the scoreboard.+attack2Client
input_button_code_is_scan_code_scd
Bind keys based on keyboard position instead of key nametrueClient
cl_allow_multi_input_binds
Lets binds hold more than one input action. Cheat-protected, so it only works with sv_cheats 1.falseCheat-protected

Network, FPS and diagnostics

Frame rate, network display and timing. The old net_graph and cl_cmdrate family is gone; see the removed list below.

CommandWhat it doesDefaultRangeWhere
fps_max
Frame rate limiter. 0=no limit. Does not apply to dedicated server.120Client
fps_max_ui
Frame rate limiter while the game UI is displayed. 0=no limit. Does not apply to dedicated server.0Client
engine_low_latency_sleep_after_client_tick
When r_low_latency is enabled, this moves the low latency sleep on tick frames to happen after client simulation.falseClient
cl_showfps
Draw fps meter at top of screen (1 = fps, 2 = smooth fps, 3 = server MS, 4 = Show FPS and Log to file )0Client
cl_showpos
Shows your position and speed. Cheat-protected in the current game.0Cheat-protected
cl_hud_telemetry_ping_show
Show ping in the HUD. 0=never, 1=only in poor conditions, 2=always1Client
cl_hud_telemetry_frametime_show
Show frame time (FPS) in the HUD. 0=never, 1=only if poor, 2=always1Client
cl_hud_telemetry_net_misdelivery_show
Show percentage of user commands & server snapshots that are missed due to network conditions. 0=never, 1=only in poor conditions, 2=always1Client
cl_hud_telemetry_net_quality_graph_show
Show packet jitter and netframe loss/reordering in the HUD. 0=never, 1=only in poor conditions, 2=always0Client
cl_hud_telemetry_serverrecvmargin_graph_show
Show graph of the server recv margin in the HUD. (How early/late user commands are arriving at the server before they are executed.) 0=never, 1=only when there are command queue problems, 2=always0Client
cl_ticktiming
cl_ticktiming {print|<interval>} [summary|detail]
{print|<interval>} [summary|detail] Print timing stats now, or set report intervalClient
net_status
Prints network status.Client
rate
Min bytes/sec the host can receive data80000Client
cl_net_buffer_ticks
Number of ticks of delay for server snapshots and user commands. This value controls the value of cl_interp_ratio, which you should not modify directly.00 to 2Client
cl_interp_ratio
Set number of client simulation interpolation ticks.20 to 19Client
cl_timeout
After this many seconds without receiving a packet from the server, the client will disconnect itself30Client
mm_dedicated_search_maxping
The longest ping matchmaking will prefer when it searches for a server.15025 to 350Client
r_fullscreen_gamma
Screen Gamma (only in fullscreen modes)2.21 to 4Client
cl_ragdoll_limit
Maximum number of ragdolls to show (-1 disables limit)20Client

Voice, chat and pings

Communication settings.

CommandWhat it doesDefaultRangeWhere
voice_modenable
Enable/disable voice in this mod.trueClient
voice_vox
Voice chat uses a vox-style always on0Client
voice_threshold
decibel threshold for how loud the talker's input signal is before we think they are talking.-120Client
voice_loopback
Plays your own voice back to you.falseClient
voice_toggle_open_mic
Toggles open mic.Client
voice_modenable_toggle
Toggle the voice_modenable convar.Client
+voicerecord
Push to talk while held.Client
cl_mute_enemy_team
Block all communication from players on the enemy team.falseClient
cl_mute_all_but_friends_and_party
Only allow communication from friends and matchmaking party members. Set to 1 to apply the in non-competitive game modes. Set to 2 will apply the setting in all modes.0Client
cl_player_ping_mute
Controls whether pings make a sound. Valve's description says 1 makes them audible and 0 silent, the reverse of what the name suggests.0Client
player_ping
Creates a ping notification where the player is looking.Server
cl_radial_radio_tap_to_ping
When tapping the radial radio button, leave a ping if nothing is selected within the time in seconds set in cl_radial_menu_tap_durationtrueClient
say
say "<text>"
Sends a message to everyone.Server
say_team
say_team "<text>"
Sends a message to your team.Server
callvote
callvote <issue>
Start a vote on an issue.Server

Buying and inventory

Commands for buy binds and weapon switching.

CommandWhat it doesDefaultRangeWhere
buy
buy <weapon>
Buys an item by name while you can buy, for example buy ak47. Several can be chained with ;.Client
autobuy
Attempt to purchase items with the order listed in cl_autobuyClient
rebuy
Attempt to repurchase items with the order listed in cl_rebuyClient
cl_autobuy
The order autobuy tries to purchase in, for example cl_autobuy "ak47 m4a1 vesthelm".Client
cl_rebuy
The order in which rebuy will attempt to repurchase itemsClient
buymenu
Show or hide main buy menuClient
buyrandom
Buy random primary and secondary. Primarily for deathmatch where cost is not an issue.Server
use
use <weapon_name>
Switches to a weapon or item you are carrying, for example use weapon_smokegrenade.Client
drop
Drops the weapon you are holding.Client
lastinv
Switches to your previous weapon.Client
slot1
Selects the weapon in slot 1 (primary).Client
slot2
Selects the weapon in slot 2 (secondary).Client
slot3
Selects the weapon in slot 3 (knife).Client
+lookatweapon
Inspects your weapon while held.Client
+cl_show_team_equipment
Shows your teammates' equipment while the key is held.Client

Practice and private server

Server-side commands. They only work on a server you run: an offline map, a practice server or a workshop map. Entries marked as cheat-protected also need sv_cheats 1. None of this works on Valve's matchmaking servers.

CommandWhat it doesDefaultRangeWhere
sv_cheats
Allow cheats on serverfalseClient
mp_restartgame
mp_restartgame <seconds>
If non-zero, game will restart in the specified number of seconds0Server
mp_warmup_end
End warmup immediately.Server
mp_warmup_pausetimer
Set to 1 to stay in warmup indefinitely. Set to 0 to resume the timer.0Client
mp_roundtime
How many minutes each round takes.50.1 to 60Server
mp_roundtime_defuse
How many minutes each round of Bomb Defuse takes. If 0 then use mp_roundtime instead.00 to 60Server
mp_freezetime
how many seconds to keep players frozen when the round starts60 to 60Server
mp_buytime
How many seconds after round start players can buy items for.900 to …Client
mp_buy_anywhere
When set, players can buy anywhere, not only in buyzones. 0 = default. 1 = both teams. 2 = Terrorists. 3 = Counter-Terrorists.0Client
mp_maxmoney
maximum amount of money allowed in a player's account160000 to …Client
mp_startmoney
amount of money each player gets when they reset8000 to …Client
mp_c4timer
how long from when the C4 is armed until it blows4010 to …Client
mp_ignore_round_win_conditions
Ignore conditions which would end the current roundfalseServer
mp_round_restart_delay
Number of seconds to delay before restarting a round after a win70 to …Client
mp_respawn_on_death_ct
When set to 1, counter-terrorists will respawn after dying.falseClient
mp_respawn_on_death_t
When set to 1, terrorists will respawn after dying.falseClient
mp_free_armor
Determines whether kevlar (1+) and/or helmet (2+) are given automatically.0Client
mp_defuser_allocation
How to allocate defusers to CTs at start or round: 0=none, 1=random, 2=everyone00 to 2Client
mp_give_player_c4
Whether this map should spawn a c4 bomb for a player or not.trueClient
mp_autoteambalance
Moves players between teams automatically to keep the sides even.trueServer
mp_limitteams
Max # of players 1 team can have over another (0 disables check)20 to 30Server
mp_friendlyfire
Allows team members to injure other members of their teamfalseClient
mp_solid_teammates
How solid are teammates: 0 = transparent; 1 = fully solid; 2 = can stand on top of heads1Client
mp_pause_match
Pause the match in the next freeze timeServer
mp_unpause_match
Resume the matchServer
mp_teamname_1
A non-empty string overrides the first team's name.Server
mp_teamname_2
A non-empty string overrides the second team's name.Server
ammo_grenade_limit_total
The most grenades a player can carry in total.3Client
sv_infinite_ammo
Player's active weapon will never run out of ammo0Cheat-protected
sv_grenade_trajectory_prac_pipreview
Shows grenade trajectory practice picture-in-picture preview.falseClient
sv_grenade_trajectory_prac_trailtime
Shows grenade trajectory practice visualization for this number of seconds.00 to 8Client
sv_rethrow_last_grenade
Emit the last grenade thrown on the server.Cheat-protected
sv_showimpacts
Shows client (red) and server (blue) bullet impact point (1=both, 2=client-only, 3=server-only)0Client
sv_showimpacts_time
Duration bullet impact indicators remain before disappearing40 to 10Client
weapon_accuracy_nospread
Disable weapon inaccuracy spreadfalseClient
sv_gravity
World gravity.800Client
sv_airaccelerate
How much you can steer while airborne. Raising it makes air strafing easier.12Client
host_timescale
Prescale the clock by this amount.1Cheat-protected
god
Toggle by default, or 0 to disable and 1 to enable. Player becomes invulnerable.Cheat-protected
noclip
Toggle. Player becomes non-solid and flies. Optional argument of 0 or 1 to force enable/disableCheat-protected
give
give <item>
Give item to player. Arguments: <item_name>Server
kick
kick <name>
Kick a player by name.Client
kickid
kickid <userid>
Kick a player by userid or uniqueid, with a message.Client

Bots

Bots on a server you run.

CommandWhat it doesDefaultRangeWhere
bot_add
bot_add <t|ct> <type> <difficulty> <name> - Adds a bot matching the given criteria.Server
bot_add_t
bot_add_t <type> <difficulty> <name> - Adds a terrorist bot matching the given criteria.Server
bot_add_ct
bot_add_ct <type> <difficulty> <name> - Adds a Counter-Terrorist bot matching the given criteria.Server
bot_kick
bot_kick <all> <t|ct> <type> <difficulty> <name> - Kicks a specific bot, or all bots, matching the given criteria.Server
bot_difficulty
Defines the skill of bots joining the game. Values are: 0=easy, 1=normal, 2=hard, 3=expert.1Server
bot_stop
bot_stop <1|all> | <not_bomber> | <t> | <ct>0Cheat-protected
bot_freeze
Bots stand still.falseCheat-protected
bot_zombie
If nonzero, bots will stay in idle mode and not attack.falseCheat-protected
bot_crouch
Bots crouch.falseCheat-protected
bot_dont_shoot
If nonzero, bots will not fire weapons (for debugging).falseCheat-protected
bot_knives_only
Restricts the bots to only using knivesServer
bot_pistols_only
Restricts the bots to only using pistolsServer
bot_place
bot_place - Places a bot from the map at where the local player is pointing.Cheat-protected

Demos and spectating

Recording and watching replays.

CommandWhat it doesDefaultRangeWhere
record
record <name>
Record a demo.Cheat-protected
stop
Finish recording demo.Client
playdemo
playdemo <name>
Play a recorded demo file (.dem ).Client
demoui
Show/hide demo playback uiClient
demo_pause
Pauses demo playback.Client
demo_resume
Resumes demo playback.Client
demo_togglepause
Toggles demo playback.Client
demo_timescale
demo_timescale <speed>
Sets demo replay speed.Client
demo_gototick
demo_gototick <tick>
Skips to a tick in demo.Client
demo_goto
Skips to location in demo.Client
demo_info
Print information about currently playing demo.Client
demolist
Print demo sequence list.Client
demo_highlight_seconds_before
How many seconds before the actual highlight event to show when viewing highlights.6Client
spec_mode
Set spectator modeClient
spec_next
Spectate next playerClient
spec_prev
Spectate previous playerClient
spec_player
Spectate a player by name or slotClient
spec_goto
Move the spectator camera to a specific location. `spec_goto x y z pitch yaw`Client
cl_obs_interp_enable
Enables interpolation between observer targetstrueClient

Old commands that no longer exist

These appear in CS:GO guides and are not in CS2's command list, so they print an unknown-command error. Checked against game files dated 28 October 2026.

Old commandWhat it wasUse instead
net_graphOn-screen network and FPS graphcl_showfps and the cl_hud_telemetry_* cvars
cq_netgraphOften passed around as the net_graph replacementIt is not a CS2 command. Use cl_showfps and cl_hud_telemetry_*
cl_cmdrateClient command rateNothing to set. The game manages its own update rates
cl_updaterateServer update rateNothing to set. The game manages its own update rates
cl_righthandLeft or right handcl_prefer_lefthanded
cl_bobamt_latSideways viewmodel bobNothing. The bob cvars are gone
cl_bobamt_vertVertical viewmodel bobNothing. The bob cvars are gone
cl_bob_lower_amtWeapon lower bobNothing. The bob cvars are gone
cl_bobcycleBob cycle lengthNothing. The bob cvars are gone
cl_usenewbobSwitches viewmodel bob styleNothing. The bob cvars are gone
viewmodel_recoilViewmodel recoil amountNothing. The cvar is gone
m_rawinputRaw mouse inputNothing to set in the console
cl_lagcompensationLag compensation toggleNothing. It cannot be turned off from the client
cl_predictClient prediction toggleNothing. It cannot be turned off from the client
voice_scaleVoice volumesnd_voipvolume
voice_enableVoice on or offvoice_modenable
cl_crosshaircolorPreset crosshair colour 0 to 5cl_crosshaircolor_r, _g, _b and _a
cl_grenadepreviewGrenade trajectory previewsv_grenade_trajectory_prac_pipreview on a practice server

How we checked

Every command and variable above, apart from a few the game handles itself (buy, use, drop, +jump, +duck, +attack, +voicerecord), was looked up in an automated dump of CS2's own command and variable tables, dated 28 October 2026. Defaults, ranges and the cheat and server flags come straight from that dump. Where the game's own description was missing or unclear we wrote one. If a command is not in the dump, it is not in this list.

The Where column reads the game's flags: Cheat-protected needs sv_cheats 1, Server runs on a server you control, and Client runs on your own game.

How to open the console and run a command

Turn on Enable Developer Console in Settings, Game, then press the console key (the tilde, ~). Type a command and press Enter. A variable, or cvar, takes a value after its name, so fps_max 0 sets the frame cap. A command does something when you run it, like disconnect. To open the console at start-up without touching the settings, add -console to your CS2 launch options.

Anything you type in the console is gone next time unless the game saves it. Many variables are marked as saved and carry over on their own. For the rest, keep the lines in an autoexec.cfg, which our CS2 autoexec generator builds, or give a key its own command with the CS2 bind generator.

What the Where column means

The list has 238 entries. The Where column reads the flags the game itself sets on each one. 198 are Client and run on your own game, 25 are Server and only take effect on a server you control, such as the mp_, bot_ and sv_ families, and 15are Cheat-protected, which means they need sv_cheats 1 and so only work offline or on your own server. On Valve's matchmaking servers, Server and Cheat-protected commands print an error and do nothing.

That is why the Range column matters. When a variable has a range, the game clamps anything outside it. The viewmodel offsets are a good example, and our CS2 viewmodel generator stops its sliders at the same limits. The Crosshair tab lists the variables behind a crosshair, and the CS2 crosshair generator writes them for you with a live preview.

For aim, the sensitivity variable sits in the Mouse and input tab with its range of 0.0001 to 8. Multiply it by your DPI for eDPI, or move a sensitivity over from another game with the sensitivity converter.

FAQ

How do I open the console in CS2?

Go to Settings, then Game, and set Enable Developer Console to Yes. Then press the console key, which is the tilde key (~) by default. Adding -console to your launch options also opens it at startup.

What is the difference between a command and a cvar?

A command does something when you run it, like quit or disconnect. A cvar (console variable) holds a setting, like sensitivity or fps_max, and is changed by typing its name followed by a value.

What does cheat-protected mean?

Commands marked cheat-protected only run when the server has sv_cheats 1, which means your own server or an offline map. On matchmaking and most community servers they print an error and do nothing.

Which commands only work on my own server?

The ones marked Server, which cover mp_, bot_ and sv_ commands such as mp_roundtime or bot_add. They change how a match runs, so only a server you control accepts them. They do nothing on Valve's matchmaking servers.

How do I make settings permanent?

Put them in an autoexec.cfg in the game/csgo/cfg folder and add +exec autoexec to your launch options. Our autoexec generator builds the file for you.

Why is net_graph or cl_cmdrate not in the list?

They are not in CS2's command list. Use cl_showfps and the cl_hud_telemetry commands for FPS, ping and packet loss. The removed table below lists the old commands that fail.

Can I get banned for using console commands?

Not for the console commands listed here. They are part of the game. Cheat-protected commands cannot be used on servers where cheats are off.

More CS2 tools