Counter-Strike 2

Counter-Strike 2

401 ratings
CS2 commands
By Korsted
Synopsis: A great collection of CSGO commands.
Cover: artist (QYS3), P station ID (7210261).
Illustration: Artist (Crum), Publishing website (ZCOOL).
Source: official information, posting forums, organized into a collection after testing by myself.
Tweets: update as you go, regularly add and optimize the content, while welcome to add and correct, thank you for your support!
4
2
2
   
Award
Favorite
Favorited
Unfavorite
【Preface】
RE: Console basics from the ground up:

① All games made by Valve using the Origins engine can have a developer console.
① Valve uses the Origin engine to create games can developer console. ② In the console using standard syntax to enter commands to configure the game settings.
③ It is highly recommended to enable the console, setup path: Settings - Game Settings - Enable Developer Console.
④ The CFG file that saves the game configuration is located in your local Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg directory.
⑤ The CFG file consists of any number of lines of commands, and you can comment the commands after the double backslash \\\, and Notepad can view and edit the CFG file (with a .cfg file extension).
(6) You can set the configuration file that will be applied automatically every time the game starts by typing +exec CFG file name in CSGO-Properties-General-Startup Options.
⑦ You can type exec CFG file name in the console to apply the specified configuration file. ⑥ ⑦ The premise of both points is that the CFG file exists in the cfg folder.
⑧ The number of commands is very large, this guide only provides the high-frequency and practical part, you can make your own CFG file according to your personal preference or use, or use a third-party CFG file, in order to get a better game experience in a particular scenario, Ez Config, Ez Game, please make good use of the CTRL + F to find the relevant commands quickly, wish you a happy game : )
【Basic Instructions】
Kill
god
quit
exit
gods
clear
firstperson
thirdperson
retry (enter the last linked server)
volume 1 (multiply game volume by 1)
sensitivity 1 (mouse sensitivity multiplied by 1)
disconnect (disconnect from the currently linked server)
developer 0/1 (turn off/on developer mode)
mat_monitorgamma 1 (multiply game brightness by 1)
zoom_sensitivity_ratio_mouse 1 (1x open-scope sensitivity ratio)
【Server command】
status (current server information)
maps (show all maps of the server)
noclip (turn on/off flight mode)
mp_c4timer 45 (C4 detonation time 45 seconds)
sv_alltalk 0/1 (disable/open global mike)
mp_buytime 15 (opening buytime 15 seconds)
maxplayers 16 (map max players 16)
mp_friendlyfire 1 (turn on friendly fire damage)
mp_restartgame 1 (refresh game after 1 second)
sv_cheats 0/1 (turn cheats off/on)
cl_interp_ratio 0/1 (turn off/on delay compensation)
exec gamemode_mode (switch game mode)
mp_randomspawn 1 (turn on random birth points)
cl_showfps 0/1 (turn off/show current fps)
mp_overtime_enable 1 (allow overtime)
mp_maxmoney 16000 (maximum money 16000)
mat_proxy 0/2 (map map opacity/transparency)
mp_autoteambalance 1 (turn on autobalance)
sv_password xyz (set server password to xyz)
mp_startmoney 16000 (birth money is 16000)
map de_mapname (switch map to de_mapname)
net_graph 0/1 (turn off/display each server property)
mp_limitteams 1 (difference in number of people between the two sides is up to 1)
sv_airaccelerate 2000 (set airspeed to 2000)
mp_respawn_on_death_t 1 (death birth point at T)
mp_respawn_immunitytime 0 (0 second resurrection time)
mp_freezetime 0 (0 seconds per game birth in-place freeze time)
mp_display_kill_assists 1 (turn on assist display)
mp_roundtime 60 (60 minutes round time for deathmatch)
sv_showimpacts_time 5 (bounce point display time 5 seconds)
mp_buy_anywhere 1 (buy weapons anywhere)
mp_teammates_are_enemies 1 (enable all damage)
sv_enablebunnyhopping 0/1 (disable/allow bunnyhopping)
mp_respawn_on_death_ct 1 (death birth point on CT)
mp_anyone_can_pickup_c4 1 (all can pick up C4)
mp_respawn_on_death_t 1 (casual/competitive T can respawn)
mp_drop_knife_enable 0/1 (drop daggers disabled/allowed)
sv_autobunnyhopping 1 (autobunnyhopping, defaults to spacebar)
mp_respawn_on_death_ct 1 (casual competitive CT can be resurrected)
mp_solid_teammates 0/1 (turn off/on friendly model collisions)
mp_maxrounds 30 (casual/competitive mode max rounds set to 30)
sv_grenade_trajectory 0/1 (turn off/show projectile trajectory)
sv_infinite_ammo 0/1 (turn off/on infinite ammo and projectiles)
mp_damage_headshot_only 0/1 (turn off/on headshot mode)
r_drawothermodels 0/1/2 (enable hide/show/see-through models)
sv_grenade_trajectory_time 5 (throws trajectory display for 5 seconds)
sv_rethrow_last_grenade (reproduce server's last throw)
mp_damage_vampiric_amount 0/1 (turn off/on vampiric mode)
sv_grenade_trajectory_thickness 1 (throw trajectory thickness)
mp_roundtime_defuse 60 (60 minutes per round in casual/competitive mode)
cl_teamid_overhead_always 0/1 (turn off/on teammate position display)
sv_showimpacts 1 (bounce point display 0/1/2/3, 0 off, 123 toggle mode)
sv_grenade_trajectory_dash 0/1 (turn off/on projectile trajectory as dashed line)
cl_drawhud_force_deathnotices -1/0 (turn off/on kill notices)
【Commanding Officer】
cl_crosshairgap 1 (collimator gap)
cl_crosshairsize 1 (collimator length)
cl_crosshaircolor 0 (collimator color)
cl_crosshairthickness 1 (collimator thickness)
cl_crosshairalpha 999 (opacity of the crosshair)
cl_crosshairdot 0/1 (off/on collimator center dot)
cl_crosshair_recoil 0/1 (turn off/on collimator following ballistics)
cl_crosshair_sniper_width 0 (sniper scope collimator thickness)
cl_crosshairstyle 0~5 collimator type (default, classic static, classic, classic dynamic, classic static, CS version 1.6)
【Bot Order】
bot_add (add a bot)
bot_add_t (add a T)
bot_add_ct (add a CT)
bot_kick (kick all bots)
bot_kill (kill all bots)
bot_place (place a bot)
bot_stop 0/1 (stop/unstop a bot)
bot_freeze 0/1 (unfreeze/freeze a bot)
bot_crouch 0/1 (crouch/stand a bot)
bot_difficulty 0 (bot difficulty 0~5)
bot_knives_only (bot can only use knives)
bot_pistols_only (bot can only use pistols)
bot_snipers_only (bot can only use snipers)
bot_all_weapons
bot_dont_shoot 0/1 (bot turns on/off shooting)
bot_mimic 0/1 (turn off/on bot following player's movements)
【Recording Instructions】
x (turn x-ray on/off)
alt (track throw trajectory)
stop (stop recording demos)
listdemo (show list of demos)
record filename (record demo)
playdemo filename (play demo)
demo_pause (pause demo)
demo_resume (resume playing demo)
demoui (show/disable demo panel)
shift + f2 (enable demo console)
【Player Instructions】
bind Press the button (to view key bindings)
unbind Press the button to cancel the key bindings.
unbindall (unbind all keys)
give weapon_XX
fov_cs_debug 90 (field of view angle size)
cl_radar_scale 1 (radar scale of 1)
cl_righthand 0/1 (hold gun left/right handed)
cl_showpos 0/1 (show speed off/on)
con_filter_text damage (damage detail)
cl_healthshot_health 100 (blood shot value)
cl_wpn_sway_scale 10 (arm swing scale)
cl_wpn_sway_scale 10 (arm swing scale) give weapon_hegrenade
cl_mute_enemy_team 0/1 (block hostile camps)
cl_wpn_sway_scale 0 (arm amplitude when moving viewpoint)
cl_grenadepreview (show predetermined trajectory when pulling ring on props)
give weapon_smokegrenade (get a smoke grenade)
give weapon_flashbang (get a flashbang)
vcollide_wireframe 0/1 (turn modeling lines off/on)
bindtoggle c cl_righthand (set c to right or left hand hold)
cl_draw_only_deathnotices 0/1 (turn off/on HUD)
viewmodel_recoil 0/1 (turn off/on muzzle then seat swing)
cl_show_team_equipment 0/1 (turn off/show team equipment)
bind c "use weapon_c4; drop" (set c to drop c4 while holding gun)
cl_autowepswitch 0/1 (turn off/on automatic switching of picked up weapons)
r_drawtracers_firstperson 0/1 (turn off/on tracer effects)
cl_sim_grenade_trajectory (freezes props on predetermined trajectories for a specified number of seconds)
cl_drawhud_specvote 0/1 (turn off/on observer view voting screen)
bind shift "+speed; r_cleardecals" (set shift to clear blood)
cl_sanitize_player_names 0/1 (turn off/on player nickname filter display)
bind F "+lookatweapon; r_cleardecals" (set F to clear blood)
cl_hud_bomb_under_radar 0/1 (set C4 to show below item bar/radar)
cl_radar_always_centered 0/1 (turns radar off/on to be centered on first person)
weapon_accuracy_nospread 0/1 (turn on/off all factors affecting weapon accuracy)
cl_weapon_debug_show_accuracy 0/1 (turn off/on showing real-time weapon accuracy)
cl_hide_avatar_images 0/1/2 (don't hide avatars/hide all avatars/show friends avatars only)
bind capslock "toggle cl_crosshairsize 3 500" (press capslock collimator to extend to edge of screen)
bind "KP_plus" "incrementvar cl_radar_scale 0.25 1.0 0.05″; (use '+' to quickly zoom in on radar)
bind "KP_minus" "incrementvar cl_radar_scale 0.25 1.0 -0.05″; (use '-' for quick radar zoom) ' to quickly reduce the radar)
【Entertainment Directive】
【Note】 Using the Swipe Dagger command requires that you first equip the original and non-renamed dagger.

exojump
give chicken
impulse 102 (generate skull)
ent_create drone (Drone)
give item_nvgs (get night vision)
nightvision (turn night vision on/off)
ent_create dronegun
give weapon_shield
test_dispatcheffect TeslaZap (generate thunderbolt)
give weapon_bumpmine (generate ejector mine)
give weapon_breachcharge (generate remote C4)
ent_create ent_snowball_pile (generate snowball pile)
ent_create prop_exploding_barrel (generates gunpowder barrels)
ent_create func_survival_c4_target (generate safe)
fov_cs_debug 160; thirdperson (turns into odd villain view)
cl_pitchup 360; cl_pitchdown 360 (viewpoint can be moved any way you want)
ent_fire chicken skin 0/1/2/3/4 (set chicken skin to 0~4)
ent_fire !self addoutput "effects 4/0" (turn on/off flashlight)
ent_fire chicken addoutput "modelscale 10" (make the chicken model ten times bigger)
sv_holiday_mode 1; ent_create chicken (chicks with long pumpkin heads are born where the collimator is aimed)
ent_create env_fire; ent_fire env_Fire StartFire (a ball of sparks is created where the center of the target is pointed)
ent_create env_explosion; ent_fire env_explosion Explode (spawns an explosion where the crosshair is pointed)
ent_create env_splash; ent_fire env_splash Splash (creates a splash where your center of gravity is pointing)
give weapon_bayonet;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get bayonet)
give weapon_knife_ursus;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get bear knife)
give weapon_knife_gut;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get piercing knife)
give weapon_knife_flip;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get folding knife)
give weapon_knife_push;ent_fire weapon_knife addoutput "classname weapon_knifegg" (Get Shadow Dual Dagger)
give weapon_knife_cord;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get tethered dagger)
give weapon_knife_stiletto;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get short sword)
give weapon_knife_falchion;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get scimitar)
give weapon_knife_ghost;ent_fire weapon_knife addoutput "classname weapon_knifegg" (Get Spirit Folding Knife)
give weapon_knife_canis;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get survival dagger)
give weapon_knife_karambit;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get claw knife)
give weapon_knife_butterfly;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get butterfly knife)
give weapon_knife_skeleton;ent_fire weapon_knife addoutput "classname weapon_knifegg" (Get the Skeleton Dagger)
give weapon_knife_stiletto;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get poster shortsword)
give weapon_knife_outdoor;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get wanderer dagger)
give weapon_knife_m9_bayonet;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get M9 bayonet)
give weapon_knife_tactical;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get hunter-killer dagger)
give weapon_knife_widowmaker;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get serrated claw knife)
give weapon_knife_gypsy_jackknife;ent_fire weapon_knife addoutput "classname weapon_knifegg" (get folding knife)
give weapon_knife_survival_bowie;ent_fire weapon_knife addoutput "classname weapon_knifegg" (Get Bowie Hunting Knife)
ent_create planted_c4_training; ent_fire planted_c4_training ActivateSetTimerLength 10 (spawns a C4 with 10 seconds left to explode at your collimated aim)
prop_dynamic_create /props_vehicles/helicopter_rescue.mdl; ent_fire !picker SetAnimation "helicopter_aztec" (Summon a helicopter)
138 Comments
Korsted  [author] 14 Nov, 2024 @ 5:01pm 
98% all command work!
Korsted  [author] 2 Sep, 2024 @ 2:07pm 
idk I need check them all aggain :(
Wiggly Cartún 2 Sep, 2024 @ 1:48pm 
Has anything changed? Now i get Unknown command: cl_righthand when using in console and binding. Can only change it in config.
Korsted  [author] 28 Feb, 2024 @ 4:17am 
idk I type exit this is work
Triušis 27 Feb, 2024 @ 7:41am 
"exit" does NOT work anymore :D :(
whokf 24 Feb, 2024 @ 4:41pm 
RU: Выберите что хотите:
ENG: Choose what you want:
+rep леймик
+rep Волосатый
+rep Факал тебя
++rep подквас
-rep WH
-rep AIM
+rep веселый
+rep
+Rep лысый
RU: или что то от себя...
Кину +rep на свой вкус, в зависимости от аккаунта. Всем кто комментарий читал отдельное уважение.
ENG: or something from myself ...
I'll throw + rep to my taste, depending on the account. Special respect to everyone who read the comment.
whokf 24 Feb, 2024 @ 4:41pm 
:Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m::Heart_m:
dunkys 24 Feb, 2024 @ 3:43pm 
ura
kill.me/kill.you 24 Feb, 2024 @ 2:36pm 
RU: Выберите что хотите:
ENG: Choose what you want:
+rep леймик
+rep Волосатый
+rep Факал тебя
++rep подквас
-rep WH
-rep AIM
+rep веселый
+rep
+Rep лысый
RU: или что то от себя...
Кину +rep на свой вкус, в зависимости от аккаунта. Всем кто комментарий читал отдельное уважение.
ENG: or something from myself ...
I'll throw + rep to my taste, depending on the account. Special respect to everyone who read the comment.