GAME SERVER HOSTING: 50% OFF first order with code GHOST50

CS2 Practice Config & Commands (Copy & Paste 2026)

Share:
CS2 Practice Config & Commands (Copy & Paste 2026)

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.

Game Host Bros Promo

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:

  1. Navigate to the CS2 cfg folder: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg

  2. Duplicate autoexec.cfg.

  3. Clear its contents, and rename it. We recommend naming it practice.cfg for easy reference.

  4. 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.

  1. Start CS2 and navigate to Play > Practice > Competitive

  2. Select the map you desire and click GO

  3. Once the map has loaded, open the console (Tilde ~ key)

  4. 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.

  1. bind "MOUSE5" "noclip" - Allows you to fly around the map

  2. 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.

CommandWhat It Does
bot_kickRemoves all bots from the server
mp_warmup_endEnds the warmup phase immediately
sv_cheats 1Enables cheat commands (required for practice)
mp_limitteams 0Removes team player limits
mp_autoteambalance 0Disables auto team balancing
mp_maxmoney 60000Sets maximum money to $60,000
mp_startmoney 60000Sets starting money to $60,000
mp_buytime 9999Allows buying at any time during the round
mp_buy_anywhere 1Lets you buy anywhere on the map
mp_freezetime 0Removes freeze time at round start
mp_roundtime 60Sets round time to 60 minutes
mp_roundtime_defuse 60Sets defuse mode round time to 60 minutes
mp_respawn_on_death_ct 1CTs respawn after death
mp_respawn_on_death_t 1Ts respawn after death
sv_infinite_ammo 1Gives unlimited ammo
sv_showimpacts 1Shows bullet impact markers
sv_showimpacts_time 10Impact markers stay visible for 10 seconds
ammo_grenade_limit_total 5Carry up to 5 grenades
sv_grenade_trajectory_prac_pipreview 1Shows grenade trajectory lines
mp_restartgame 1Restarts 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 seconds
  • sv_grenade_trajectory_thickness 1 - Makes trajectory lines easier to see
  • cl_sim_grenade_trajectory 1 - Simulates grenade trajectory before throwing
  • sv_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.

Frequently Asked Questions

Create a config file named practice.cfg in your CS2 cfg folder, add the practice commands, then launch a local server through Play > Practice > Competitive and execute the config by typing exec practice in the console.

Yes, the practice config includes sv_infinite_ammo 1 which gives you unlimited ammunition, along with other helpful settings like infinite money, no freeze time, and grenade trajectory visualization.

Enable grenade trajectory lines by using the command sv_grenade_trajectory_prac_pipreview 1 in your practice config. You can also use sv_rethrow_last_grenade to replay your most recent grenade throw.

Yes, use the map command in the console followed by the map name, such as map de_mirage. After changing maps, you may need to reload your practice config by typing exec practice again.

Enjoyed this article? Share it with others!

Share:
Game Host Bros

Need Game Server Hosting?

Get professional game server hosting with Game Host Bros. Fast, reliable, and affordable.

Hone John Tito

About Hone John Tito

COO

Passionate about game mechanics and storytelling in multiplayer environments.