Welcome to GhostCap's guide on setting up your very own local practice server in CS2. Whether you're a seasoned player or just starting out, having a dedicated practice environment can significantly improve your gameplay. In this post, you can grab the latest CS2 practice config, and I'll also give you some handy binds you can use.
Creating Your Own Practice Config
To get started, you'll need to create a config file. This is essentially a set of commands that the game will execute to set up your practice environment. You can download a premade config from the GhostCap GitHub repo here (right click, save as) or create your own below.
Steps to Create a Config File:
-
Navigate to the CS2 cfg folder:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg -
Duplicate autoexec.cfg.
-
Clear its contents, and rename it. We recommend naming it
practice.cfgfor easy reference. -
Add the following commands to your new file and save:
// GhostCap Practice Config bot_kick mp_warmup_end sv_cheats 1 mp_limitteams 0 mp_autoteambalance 0 mp_maxmoney 60000 mp_startmoney 60000 mp_buytime 9999 mp_buy_anywhere 1 mp_freezetime 0 mp_roundtime 60 mp_roundtime_defuse 60 mp_respawn_on_death_ct 1 mp_respawn_on_death_t 1 sv_infinite_ammo 1 sv_showimpacts 1 sv_showimpacts_time 10 ammo_grenade_limit_total 5 sv_grenade_trajectory_prac_pipreview 1 mp_restartgame 1 echo "GhostCap Practice Settings Loaded!"
Alternatively, if you don't want to create a config, here is a simple copy-and-paste command you can enter into the console. Just remember you would need to paste this every time rather than simply typing exec practice.
bot_kick; mp_warmup_end; sv_cheats 1; mp_limitteams 0; mp_autoteambalance 0; mp_maxmoney 60000; mp_startmoney 60000; mp_buytime 9999; mp_buy_anywhere 1; mp_freezetime 0; mp_roundtime 60; mp_roundtime_defuse 60; mp_respawn_on_death_ct 1; mp_respawn_on_death_t 1; sv_infinite_ammo 1; sv_showimpacts 1; sv_showimpacts_time 10; ammo_grenade_limit_total 5; sv_grenade_trajectory_prac_pipreview 1; mp_restartgame 1; echo "GhostCap Practice Settings Loaded!";
Launching Your Practice Server
Once you have added your config to your CS2 directory, it's time to create a local practice server.
-
Start CS2 and navigate to
Play > Practice > Competitive -
Select the map you desire and click
GO -
Once the map has loaded, open the console (Tilde
~key) -
Execute the created config by typing
exec practice
If you need to start fresh, you will need to restart your game.
Practice Binds
Here are some useful binds that you can use that will help you use the CS2 practice config. Simply open the console and paste these in. You can change the bind from MOUSE5 to whatever key or button you want.
-
bind "MOUSE5" "noclip"- Allows you to fly around the map -
bind "MOUSE5" "sv_rethrow_last_grenade"- Will throw the most recent grenade so you can see the landing position
All CS2 Practice Commands
Here is a full breakdown of every CS2 practice command used in the config above, so you know exactly what each one does. These are the essential CS2 training commands you need for any practice session.
| Command | What It Does |
|---|---|
bot_kick | Removes all bots from the server |
mp_warmup_end | Ends the warmup phase immediately |
sv_cheats 1 | Enables cheat commands (required for practice) |
mp_limitteams 0 | Removes team player limits |
mp_autoteambalance 0 | Disables auto team balancing |
mp_maxmoney 60000 | Sets maximum money to $60,000 |
mp_startmoney 60000 | Sets starting money to $60,000 |
mp_buytime 9999 | Allows buying at any time during the round |
mp_buy_anywhere 1 | Lets you buy anywhere on the map |
mp_freezetime 0 | Removes freeze time at round start |
mp_roundtime 60 | Sets round time to 60 minutes |
mp_roundtime_defuse 60 | Sets defuse mode round time to 60 minutes |
mp_respawn_on_death_ct 1 | CTs respawn after death |
mp_respawn_on_death_t 1 | Ts respawn after death |
sv_infinite_ammo 1 | Gives unlimited ammo |
sv_showimpacts 1 | Shows bullet impact markers |
sv_showimpacts_time 10 | Impact markers stay visible for 10 seconds |
ammo_grenade_limit_total 5 | Carry up to 5 grenades |
sv_grenade_trajectory_prac_pipreview 1 | Shows grenade trajectory lines |
mp_restartgame 1 | Restarts the game after 1 second |
Useful Utility Practice Commands
If you want to specifically practice smokes, flashes, and molotovs, these additional commands are helpful:
sv_grenade_trajectory_time 10- Shows grenade trajectory for 10 secondssv_grenade_trajectory_thickness 1- Makes trajectory lines easier to seecl_sim_grenade_trajectory 1- Simulates grenade trajectory before throwingsv_rethrow_last_grenade- Rethrows your last grenade to check the landing spot
Switching Maps
If you wish to switch maps, use the map command in the console. For instance, to change to the map de_mirage, type map de_mirage. After changing maps, you may need to reload your CS2 practice config.
Conclusion
Setting up a dedicated practice server in CS2 can greatly enhance your training sessions, allowing you to focus on specific skills like grenade trajectories, spray control, and wall bangs. I hope that this practice config helps you hit your Counter-Strike 2 training goals.


