CS2 console commands
All 2154 settings and 682 commands from the game's own list, with defaults and examples to copy, marked server or client.
2836 commands
- mp_freezetime Server
Sets how many seconds players stay frozen at the start of each round, time they use to buy and plan.
Default 5
Rounds and match
- mp_roundtime Server
Sets how many minutes each round lasts on maps without a bomb or hostage objective.
Default 3
Rounds and match
-
Command
Rounds and match
- mp_restartgame Server
Restarts the match after the given number of seconds, resetting scores, money and rounds.
Default 0
Rounds and match
-
Default false
Cheats and practice
-
Default 45
Economy and buying
- mp_startmoney Server
Sets how much money each player starts with at the beginning of a match and each half, in dollars.
Default 1000
Economy and buying
-
Default 10000
Economy and buying
-
Default 15
Rounds and match
-
Command
Bots
- sv_infinite_ammo Server
Gives players unlimited ammo, either with no reloading or with unlimited reserve ammo.
Default 0 (Off)
Cheats and practice
-
Default 0 (Buy zones only)
Economy and buying
- cl_crosshairsize Client
Sets the length of each crosshair line; smaller numbers give a shorter, tighter crosshair.
Default Not listed
Crosshair
- viewmodel_fov Client
Sets the field of view of your weapon model, from 54 to 68; higher values show the gun smaller and further away.
Default Not listed
Viewmodel
- cl_showfps Client
Shows an FPS counter at the top of the screen; higher values show smoothed FPS or server timing.
Default 0 (Off)
Graphics and performance
-
Command
Cheats and practice
-
Command
Rounds and match
- mp_backup_restore_load_file Server
Restores a match from a round backup file: money, kills, scores and team scores.
Command
Rounds and match
- mp_backup_round_file Server
Sets the file name prefix for round backups that let you restore a match after a crash.
Default backup
Rounds and match
-
Default 40
Rounds and match
-
Default true
Rounds and match
-
Default false
Rounds and match
-
Default 15
Rounds and match
-
Default 0 (Halftime counts down normally)
Rounds and match
- mp_ignore_round_win_conditions Server
Stops rounds from ending when a team is eliminated or an objective is completed.
Default false
Rounds and match
- mp_join_grace_time Server
Sets how many seconds after round start a joining player still spawns in that round.
Default 15
Rounds and match
- mp_match_can_clinch Server
Toggles whether a team can win early once the other team can no longer catch up.
Default true
Rounds and match
-
Default false
Rounds and match
-
Default 6
Rounds and match
- mp_overtime_startmoney Server
Sets the money every player gets at the start of each overtime half, in dollars.
Default 10000
Rounds and match
-
Command
Rounds and match
- mp_plant_c4_anywhere Server
Lets Terrorists plant the bomb anywhere on the map, not only at bomb sites.
Default false
Rounds and match
-
Default 0
Rounds and match
-
Default false
Rounds and match
-
Default false
Rounds and match
- mp_round_restart_delay Server
Sets the delay in seconds between the end of a round and the start of the next.
Default 10
Rounds and match
- mp_roundtime_defuse Server
Sets how many minutes each round lasts on bomb defusal maps such as Dust II or Mirage.
Default 2.25
Rounds and match
- mp_roundtime_hostage Server
Sets how many minutes each round lasts on hostage rescue maps such as Office or Italy.
Default 2
Rounds and match
-
Default 1
Rounds and match
-
Default 0
Rounds and match
-
Command
Rounds and match
-
Default false
Rounds and match
-
Default 0 (Warmup timer runs normally)
Rounds and match
-
Command
Rounds and match
-
Default 90
Rounds and match
- cash_player_killed_enemy_default Server
Sets the base money a player earns for each kill, in dollars.
Default 300
Economy and buying
- cash_player_killed_teammate Server
Sets the money a player gets for killing a teammate, usually a negative amount.
Default -300
Economy and buying
- cash_team_elimination_bomb_map Server
Sets the money a team gets for winning by eliminating the enemy on a bomb map, in dollars.
Default 3250
Economy and buying
-
Default 1400
Economy and buying
- cash_team_loser_bonus_consecutive_rounds Server
Sets the extra money added to the loss bonus for each consecutive loss, in dollars.
Default 500
Economy and buying
- mp_afterroundmoney Server
Gives every player this much money after each round, in dollars, on top of normal rewards.
Default 0
Economy and buying
-
Default true
Economy and buying
-
Default 255
Economy and buying
-
Default 2 (Every CT)
Economy and buying
-
Default 2 (Kevlar and helmet)
Economy and buying
-
Default 2 (Kevlar and helmet)
Economy and buying
- mp_playercashawards Server
Toggles players earning money for their own actions, such as kills and bomb plants.
Default true
Economy and buying
-
Default true
Economy and buying
-
Default -1 (Any team)
Economy and buying
-
Default 2
Economy and buying
-
Default 2
Economy and buying
- mp_autokick Server
Toggles kicking idle players and players who team kill or deal too much team damage.
Default true
Teams and players
-
Default true
Teams and players
-
Default 0 (Spectate anyone)
Teams and players
-
Default true
Teams and players
-
Default any (Humans can join either team)
Teams and players
-
Default 2
Teams and players
-
Default 0 (All names)
Teams and players
-
Default 0 (Normal spawns)
Teams and players
-
Command
Teams and players
- mp_solid_teammates Server
Controls whether players collide with teammates and can stand on their heads.
Default 2 (Solid and you can stand on heads)
Teams and players
-
Default 2
Teams and players
-
Command
Teams and players
-
Default false
Teams and players
-
Default 0
Teams and players
-
Default 0
Teams and players
-
Default 0 (Radar on)
Teams and players
-
Default true
Teams and players
-
Command
Bots
-
Command
Bots
-
Command
Bots
-
Command
Bots
-
Default true
Bots
-
Default false
Bots
-
Default normal (Full chatter)
Bots
-
Default false
Bots
-
Default 2 (Hard)
Bots
-
Default false
Bots
-
Default false
Bots
-
Default true
Bots
-
Default any (Either team)
Bots
-
Command
Bots
-
Command
Bots
-
Default 0
Bots
-
Command
Bots
-
Command
Bots
-
Default 1
Bots
- bot_quota_mode Server
Controls how bot_quota is applied: a fixed number, fill to a player count, or a ratio to humans.
Default competitive
Bots
-
Command
Bots
-
Default 0 (Off)
Bots
- sv_auto_adjust_bot_difficulty Server
Toggles bots changing their difficulty each round based on how well humans are doing.
Default true
Bots
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Default 1
Maps and game modes
-
Default 0
Maps and game modes
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Command
Maps and game modes
-
Default 0 (Personal scoring)
Maps and game modes
-
Default false
Maps and game modes
-
Default 0
Maps and game modes
-
Default 5.5
Movement and physics
-
Default 12
Movement and physics
-
Default false
Movement and physics
- sv_enablebunnyhopping Server
Removes the speed cap on jumps so players can gain speed by bunny hopping.
Default false
Movement and physics
-
Default 1
Movement and physics
-
Default 5.2
Movement and physics
- sv_gravity Server
Sets the world gravity, which controls how high players jump and how fast things fall.
Default 800
Movement and physics
-
Default 301.993
Movement and physics
-
Default false
Movement and physics
-
Default 320
Movement and physics
-
Default 3500
Movement and physics
-
Default 1200
Movement and physics
-
Default 80
Movement and physics
-
Default 1
Weapons and damage
-
Default 2
Weapons and damage
-
Default 4
Weapons and damage
- ff_damage_reduction_bullets Server
Sets how much bullet damage teammates take when friendly fire is on.
Default 0.33
Weapons and damage
- ff_damage_reduction_grenade Server
Sets how much grenade damage teammates take when friendly fire is on.
Default 0.85
Weapons and damage
-
Default 7
Weapons and damage
-
Default 0
Weapons and damage
- mp_ct_default_melee Server
Sets the melee items Counter-Terrorists spawn with, such as the knife or a Zeus.
Default weapon_knife
Weapons and damage
-
Default 0
Weapons and damage
-
Default weapon_hkp2000
Weapons and damage
-
Default false
Weapons and damage
-
Default 0
Weapons and damage
-
Default 1 (Best gun)
Weapons and damage
-
Default false
Weapons and damage
-
Default 0
Weapons and damage
-
Default 0
Weapons and damage
-
Default 0
Weapons and damage
-
Default weapon_glock
Weapons and damage
-
Default 30
Weapons and damage
-
Default 1
Weapons and damage
- weapon_accuracy_nospread Server
Removes weapon inaccuracy so every bullet goes exactly where you aim.
Default false
Weapons and damage
-
Command
Server and access
-
Default (empty)
Server and access
-
Command
Server and access
-
Command
Server and access
-
Default 0 (Off)
Server and access
-
Command
Server and access
-
Command
Server and access
-
Command
Server and access
-
Default (empty)
Server and access
- status Both
Shows the server name, map, player count and every connected player with user ID, ping and Steam ID.
Command
Server and access
- sv_hibernate_when_empty Both
Puts the server into a very low CPU sleep mode when nobody is connected.
Default true
Server and access
- sv_kick_players_with_cooldown Server
Controls whether players with a matchmaking cooldown or Untrusted status are kicked.
Default 1 (Kick Untrusted or Overwatch convicted)
Server and access
-
Default false
Server and access
-
Default false
Server and access
-
Default (empty)
Server and access
-
Default 0 (Off)
Server and access
-
Default false
Server and access
-
Default (empty)
Server and access
- sv_setsteamaccount Server
Sets the Game Server Login Token (GSLT) the server uses to log in to Steam.
Command
Server and access
-
Command
Server and access
-
Default 0
Server and access
-
Default -1
Server and access
-
Default (empty)
Network and rates
-
Default (empty)
Network and rates
-
Command
Network and rates
-
Default 0
Network and rates
-
Default 0.2
Network and rates
-
Default 98304
Network and rates
-
Default 0 (Off)
GOTV and demos
-
Default false
GOTV and demos
-
Default false
GOTV and demos
-
Default 105
GOTV and demos
-
Default false
GOTV and demos
- tv_enable_dynamic Both
Makes changes to tv_enable take effect right away instead of on the next map.
Default false
GOTV and demos
-
Default 128
GOTV and demos
-
Default SourceTV
GOTV and demos
-
Default (empty)
GOTV and demos
-
Default 27020
GOTV and demos
-
Command
GOTV and demos
-
Default true
GOTV and demos
-
Command
GOTV and demos
-
Command
GOTV and demos
-
Default false
GOTV and demos
-
Command
Chat and voice
-
Default true
Chat and voice
-
Default false
Chat and voice
-
Default true
Chat and voice
-
Default false
Chat and voice
-
Default 1 (All players)
Chat and voice
- sv_talk_after_dying_time Server
Sets how many seconds a player can keep talking to the living after dying.
Default 0
Chat and voice
-
Default true
Chat and voice
-
Command
Admin and bans
-
Command
Admin and bans
-
Command
Admin and bans
-
Default true
Admin and bans
-
Default 15
Admin and bans
-
Default true
Admin and bans
- sv_vote_kick_ban_duration Server
Sets how many minutes a player removed by a vote kick stays banned.
Default 15
Admin and bans
-
Default 0.501
Admin and bans
-
Default false
Cheats and practice
- cl_showpos Client
Shows your position, view angles and speed at the top of the screen; requires sv_cheats 1.
Default 0 (Off)
Cheats and practice
- cl_sim_grenade_trajectory Client
Draws the path your current grenade would take if thrown from where you stand; requires sv_cheats 1.
Command
Cheats and practice
-
Command
Cheats and practice
- ent_fire Server
Sends an input to map entities by name or class, such as opening doors; requires sv_cheats 1.
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
- getpos Client
Prints your current position and view angles as a setpos and setang line you can copy; requires sv_cheats 1.
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
-
Default 1
Cheats and practice
-
Command
Cheats and practice
- impulse Client
Sends a numbered impulse command to the game, an old Source mechanism for one-off actions.
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
-
Command
Cheats and practice
- sv_grenade_trajectory_prac_pipreview Server
Shows a picture-in-picture preview of where your grenade will land while you aim it.
Default false
Cheats and practice
- sv_grenade_trajectory_prac_trailtime Server
Shows the path of thrown grenades for this many seconds.
Default 0
Cheats and practice
- sv_rethrow_last_grenade Server
Throws the last grenade thrown on the server again, from the same spot.
Command
Cheats and practice
-
Default 0 (Off)
Cheats and practice
- sv_showimpacts Server
Shows where bullets hit, with client impacts in red and server impacts in blue.
Default 0 (Off)
Cheats and practice
-
Default 4
Cheats and practice
-
Command
Cheats and practice
- cl_crosshair_drawoutline Client
Toggles a black outline around the crosshair so it stays visible on bright backgrounds.
Default Not listed
Crosshair
- cl_crosshair_dynamic_maxdist_splitratio Client
Sets how the crosshair line length is divided between the inner and outer parts with crosshair style 2.
Default Not listed
Crosshair
- cl_crosshair_dynamic_splitalpha_innermod Client
Sets the opacity of the inner crosshair lines after they split, from 0 to 1, with crosshair style 2.
Default Not listed
Crosshair
- cl_crosshair_dynamic_splitalpha_outermod Client
Sets the opacity of the outer crosshair lines after they split, from 0.3 to 1, with crosshair style 2.
Default Not listed
Crosshair
- cl_crosshair_dynamic_splitdist Client
Sets how far the outer crosshair lines split away from the center with crosshair style 2.
Default Not listed
Crosshair
- cl_crosshair_friendly_warning Client
Toggles the warning icon shown on your crosshair when you aim at a teammate.
Default Not listed
Crosshair
-
Default Not listed
Crosshair
- cl_crosshair_recoil Client
Toggles whether the crosshair follows your weapon's recoil while you spray.
Default Not listed
Crosshair
- cl_crosshair_sniper_width Client
Sets the width of the sniper scope lines; 1 is a single-pixel hairline, higher values are thicker.
Default Not listed
Crosshair
-
Default Not listed
Crosshair
-
Default Not listed
Crosshair
- cl_crosshaircolor Client
Sets the crosshair color from a preset list, or 5 to use your own RGB values.
Default Not listed
Crosshair
-
Default Not listed
Crosshair
-
Default Not listed
Crosshair
-
Default Not listed
Crosshair
-
Default Not listed
Crosshair
- cl_crosshairgap Client
Sets the space between the crosshair lines and the center; negative values pull the lines closer together.
Default Not listed
Crosshair
- cl_crosshairgap_useweaponvalue Client
Toggles whether the crosshair gap changes depending on the weapon you hold.
Default Not listed
Crosshair
- cl_crosshairstyle Client
Sets the crosshair style, such as static, dynamic with a fixed center, or the legacy style with fake recoil.
Default Not listed
Crosshair
-
Default Not listed
Crosshair
- cl_crosshairusealpha Client
Toggles whether the crosshair uses the transparency set in cl_crosshairalpha.
Default Not listed
Crosshair
- cl_show_observer_crosshair Client
Controls whether you see the crosshair of the player you are spectating: off, friends only, or everyone.
Default Not listed
Crosshair
-
Default Not listed
Crosshair
-
Default true
Viewmodel
- viewmodel_offset_randomize Client
Toggles random viewmodel offsets to preview the allowed range; requires sv_cheats 1.
Default false
Viewmodel
-
Default Not listed
Viewmodel
-
Default Not listed
Viewmodel
-
Default Not listed
Viewmodel
-
Default Not listed
Viewmodel
-
Default Not listed
HUD and radar
- cl_draw_only_deathnotices Client
Hides the HUD except for the crosshair and kill feed, without needing cheats.
Default false
HUD and radar
-
Default true
HUD and radar
-
Default 0 (Default)
HUD and radar
- cl_hud_color Client
Sets the color of the HUD elements like health, armor and ammo, from team color to one of eleven presets.
Default Not listed
HUD and radar
-
Default Not listed
HUD and radar
- cl_radar_always_centered Client
Toggles whether the radar keeps you in the center, or uses the full radar area near map edges.
Default Not listed
HUD and radar
- cl_radar_icon_scale_min Client
Sets the minimum size of player icons on the radar, from 0.4 to 1.25.
Default Not listed
HUD and radar
- cl_radar_rotate Client
Toggles whether the radar rotates with your view or stays fixed with north up.
Default Not listed
HUD and radar
- cl_radar_scale Client
Sets the radar zoom from 0.25 to 1.0; lower values zoom in, higher values show more of the map.
Default Not listed
HUD and radar
- cl_radar_square_with_scoreboard Client
Toggles whether the radar switches to a larger square map while the scoreboard is open.
Default Not listed
HUD and radar
- cl_showloadout Client
Toggles whether your weapon and grenade list stays visible on the HUD all the time.
Default Not listed
HUD and radar
- cl_teamid_overhead_colors_show Client
Toggles drawing the teammate markers above heads in each teammate's own color.
Default Not listed
HUD and radar
- cl_teamid_overhead_mode Client
Sets what appears above teammates' heads: just a marker, or a marker with name and equipment.
Default Not listed
HUD and radar
- cl_teammate_colors_show Client
Controls whether teammates get their own colors on the radar and scoreboard, and whether letters are added.
Default Not listed
HUD and radar
- hidehud Client
Hides selected HUD elements using a bitmask, 4 hides everything; requires sv_cheats 1.
Default 0
HUD and radar
- hud_scaling Client
Sets the overall size of the HUD; lower values make health, ammo and other elements smaller.
Default Not listed
HUD and radar
-
Default Not listed
HUD and radar
- safezonex Client
Sets how much of the screen width the HUD uses; lower values pull HUD elements in from the sides.
Default Not listed
HUD and radar
- safezoney Client
Sets how much of the screen height the HUD uses; lower values pull HUD elements in from top and bottom.
Default Not listed
HUD and radar
- cl_buywheel_nonumberpurchasing Client
Toggles blocking number keys from buying items in the buy menu.
Default Not listed
Mouse and input
- cl_inventory_radial_immediate_select Client
Toggles whether weapon radial menus select an item as soon as the cursor highlights it.
Default Not listed
Mouse and input
- cl_silencer_mode Client
Controls whether you can take the silencer off: 0 cannot detach, 1 secondary fire detaches it.
Default Not listed
Mouse and input
- cl_sniper_auto_rezoom Client
Toggles whether a sniper rifle zooms back in automatically after each shot.
Default Not listed
Mouse and input
-
Default Not listed
Mouse and input
- input_button_code_is_scan_code Client
Toggles binding keys by their physical position instead of the letter printed on them.
Default Not listed
Mouse and input
-
Default Not listed
Mouse and input
- m_pitch Client
Sets how much vertical mouse movement turns your view up and down, before sensitivity.
Default Not listed
Mouse and input
- m_yaw Client
Sets how much horizontal mouse movement turns you, as degrees per mouse count before sensitivity.
Default Not listed
Mouse and input
-
Default Not listed
Mouse and input
-
Default Not listed
Mouse and input
-
Default Not listed
Mouse and input
- sensitivity Client
Sets your mouse sensitivity; together with your mouse DPI it decides how far you turn per inch.
Default Not listed
Mouse and input
- zoom_sensitivity_ratio Client
Scales your mouse sensitivity while scoped in with a sniper or other zoom weapon.
Default Not listed
Mouse and input
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
- bind Both
Assigns a command to a key so pressing the key runs it; with only a key it shows the current binding.
Command
Binds and aliases
-
Command
Binds and aliases
-
Default vesthelm vest m4a1 ak47 famas galilar mp7 nova defuser
Binds and aliases
-
Default Armor PrimaryWeapon Flashbang SmokeGrenade Defuser HEGrenade Flashbang SecondaryWeapon Molotov IncGrenade Decoy Taser
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
- slot10 Client
Switches to your Molotov or incendiary grenade; bind it to a key for direct weapon selection.
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Command
Binds and aliases
-
Default false
Graphics and performance
-
Default Not listed
Graphics and performance
- cq_netgraph Client
Shows command queue statistics on the HUD, useful for spotting network and timing problems.
Default 0 (Off)
Graphics and performance
- engine_no_focus_sleep Both
Sets how many milliseconds the game sleeps each frame while it is not the focused window.
Default 20
Graphics and performance
-
Default 400
Graphics and performance
-
Default 200
Graphics and performance
- r_fullscreen_gamma Both
Sets screen gamma in fullscreen mode, the value behind the brightness slider.
Default 2.2
Graphics and performance
- r_player_visibility_mode Client
Toggles boost player contrast, which makes player models stand out from the background.
Default Not listed
Graphics and performance
-
Default Not listed
Graphics and performance
- cl_clutch_mode Client
Toggles clutch mode, which silences voice and other distracting sounds until the round ends or you die.
Default false
Sound and voice
- cl_mute_all_but_friends_and_party Client
Blocks voice and chat from everyone except Steam friends and party members.
Default Not listed
Sound and voice
-
Default Not listed
Sound and voice
-
Command
Sound and voice
-
Command
Sound and voice
- snd_deathcamera_volume Client
Sets the volume of the music played for the death camera after you die.
Default Not listed
Sound and voice
- snd_headphone_eq Client
Selects the headphone EQ preset, the audio profile option in the sound settings.
Default Not listed
Sound and voice
- snd_mapobjective_volume Client
Sets the volume of the music played for the map objectives such as a planted bomb.
Default Not listed
Sound and voice
- snd_menumusic_volume Client
Sets the volume of the music played for the main menu and other non-gameplay screens.
Default Not listed
Sound and voice
-
Default 1
Sound and voice
- snd_mute_mvp_music_live_players Client
Toggles muting MVP music while players from both teams are still alive.
Default Not listed
Sound and voice
-
Default Not listed
Sound and voice
- snd_roundaction_volume Client
Sets the volume of the music played for the action moments during a round.
Default Not listed
Sound and voice
- snd_roundend_volume Client
Sets the volume of the music played for the end of a round when your team wins or loses.
Default Not listed
Sound and voice
-
Default Not listed
Sound and voice
- snd_tensecondwarning_volume Client
Sets the volume of the music played for the warning when 10 seconds are left on the round or bomb timer.
Default Not listed
Sound and voice
-
Default 1
Sound and voice
-
Default false
Sound and voice
-
Default Not listed
Sound and voice
- voice_threshold Both
Sets how loud your microphone input must be before the game treats it as speech.
Default -120
Sound and voice
-
Default Not listed
Sound and voice
-
Default 1
Sound and voice
- cl_timeout Both
Sets how many seconds without data from the server pass before your game disconnects itself.
Default 30
Connection
-
Command
Connection
-
Command
Connection
- mm_dedicated_search_maxping Both
Sets the highest ping you accept when matchmaking looks for official servers.
Default 150
Connection
- net_client_steamdatagram_enable_override Client
Forces how you connect to servers: through Valve's relay network, directly, or the matchmaking default.
Default 0 (Default, as matchmaking requests)
Connection
- net_fakelag Both
Adds fake network lag in milliseconds, for testing how the game plays with a worse connection.
Command
Connection
- net_print_sdr_ping_times Server
Prints your ping to Valve's relay locations and the route the game picked.
Command
Connection
-
Default 0
Connection
- rate Both
Sets the maximum network data rate your game accepts from the server, in bytes per second.
Default 786432
Connection
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
-
Command
Demos
- timedemo Both
Plays a demo as fast as possible and reports your average frame rate, a common benchmark.
Command
Demos
-
Default Not listed
Interface and misc
- cl_dm_buyrandomweapons Client
Toggles getting a random weapon automatically on each spawn in deathmatch.
Default Not listed
Interface and misc
-
Default Not listed
Interface and misc
- cl_join_advertise Client
Controls whether Steam friends can join your game in progress: on all servers, official servers only, or never.
Default Not listed
Interface and misc
-
Default Not listed
Interface and misc
-
Default true
Interface and misc
- cl_sanitize_player_names Client
Toggles replacing other players' names with neutral names, useful for streaming.
Default Not listed
Interface and misc
-
Command
Interface and misc
- con_enable Both
Toggles whether the developer console can be opened, the Enable Developer Console setting.
Default false
Interface and misc
-
Command
Interface and misc
-
Command
Interface and misc
-
Default false
Interface and misc
-
Command
Interface and misc
- spec_replay_autostart Client
Toggles whether the killer replay starts automatically after you die, when available.
Default Not listed
Interface and misc
-
Default Not listed
Interface and misc
-
Command
Interface and misc
-
Command
Debug and developer
-
Command
Debug and developer
-
Command
Debug and developer
-
Command
Debug and developer
-
Command
Debug and developer
-
Command
Debug and developer
Nothing matches.
Try part of the name, like freeze or money, or a word from what it does.
Questions
How do I run CS2 commands on my server?
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg.
How do I use client commands in CS2?
Type it in your own game console: turn on the developer console in the game's settings, then press the key under Esc. To keep it, put the line in game/csgo/cfg/autoexec.cfg.
How do I keep a setting after a restart?
Settings typed in the console last until the server restarts. Put them in game/csgo/cfg/server.cfg, one per line, and they apply every time the server starts.
What is the difference between server and client commands?
Server commands change the server for everyone and are run in the server console or over RCON. Client commands change your own game, like your crosshair or viewmodel, and are typed in your game console. Entries marked both exist in both places.
Where does this list come from?
It is the game's own list: cvarlist on a SLASHPLAY CS2 server, plus the client list Valve publishes on the Valve Developer Community. The descriptions and examples on the written pages are by SLASHPLAY.
Try them on
your own server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.