Playing scrims, deathmatch and league games are great for improving. However, sometimes you might be better off going in solo or with only your team on a server to practice spray patterns, grenades and executes. This blog post will cover all of the commands you might need to do so, as well as provide you with a ready-to-go practice config that you can run on your server or CS:GO client.
Full config ready for copy / paste
If you’re just looking for a quick config file to use, then copy and paste the below or download the config file from here. For more explanation and help, check the rest of the blog post too.
// Server configuration sv_cheats 1 mp_limitteams 0 mp_autoteambalance 0 mp_freezetime 0 mp_roundtime 60 mp_roundtime_defuse 60 mp_roundtime_hostage 60 mp_maxmoney 99999 mp_startmoney 99999 mp_buytime 9999 mp_buy_anywhere 1 ammo_grenade_limit_total 5 sv_infinite_ammo 1 bot_kick mp_warmup_end // Grenade trajectory commands. Note – these don’t work on dedicated servers. // For dedicated servers, use SourceMod plugin “Nade tails” instead. sv_grenade_trajectory 1 sv_grenade_trajectory_time 10 // Show bullet impacts sv_showimpacts 1 sv_showimpacts_time 10 mp_restartgame 1 // Print out so we know the config has been executed. Say “Practice config enabled”
How to install the config on a server
Not using a server from DatHost.net
- Connect to your server via FTP, SSH, or whichever you prefer.
- Find the “cfg” folder.
- Upload your config file to this folder.
Using a server from DatHost.net
Option 1
- Click “Edit” on your server.
- Go to the “Configs” tab.
- Drag and drop your config file to “Custom config files” in order to upload it.
Option 2
- Use FTP or the File Manager (“Edit” -> “File Manager”)
- Find the “cfg” folder.
- Upload your config file to this folder. (drag and drop in the File Manager)
How to install the config on your computer
- Download the config file or create a text-document and paste the config file into it. Name it something along the lines of “practice.cfg”. The .cfg extension is important.
- Right click on CS:GO in your Steam library, select “Manage” -> “Browse Local Files”.
- Go to the “csgo” folder and then the “cfg” folder
- Move the config file into this folder.
- Start CS:GO and select “Play offline with bots” to start a local server.
- Open up your console and type “exec practice” (or whatever you named the config file)
- You’re good to go!
List of useful practice commands
Below we’ll list all of the commands that can be useful to know when practicing, including a few that aren’t in the config file above. Don’t forget that we have a list of all CS:GO commands here.
Useful binds
Below are useful binds that will add certain commands to a key on your keyboard. Don’t forget to change “KEY” to the key you want to bind.
- bind “KEY” “noclip”
Toggles noclip on or off. Noclip lets you fly and move through walls, which is useful for planning grenades, watching how grenades move and land as well as quickly moving around the map. - bind “KEY” “give weapon_hegrenade;give weapon_flashbang;give weapon_smokegrenade;give weapon_incgrenade;give weapon_molotov;give weapon_decoy”
This bind will add all of the grenades in the game to your inventory. - bind “KEY” “cast_ray”
Casts a ray/straight line to test collision detection.
Practice commands
Note that most of these commands require sv_cheats 1.
- sv_showimpacts 1
Show bullet impacts, this can help when practicing spray control. - sv_showimpacts_time 10
Sets the time the bullet impacts are shown. In this case 10 seconds. - sv_showimpacts_penetration 1
Useful for testing wall bangs. Will show you if the bullets go through, how much damage they’d do, the travel distance and what material you’re shooting through. - sv_grenade_trajectory 1
Shows a trajectory when you throw grenades. Especially useful when practicing different grenades. Doesn’t work on dedicated servers. - sv_grenade_trajectory_time 10
Sets the time the trajectories are shown. In this case 10 seconds - bot_add
Adds a bot to the server. - bot_add_t
Adds a bot in the Terrorist team. - bot_add_ct
Adds a bot in the Counter-Terrorist team. - bot_stop 1
Stops bots from moving. Useful when you want to place static bots in certain spots. - bot_place
Places a bot where your crosshair is looking. Useful when combined with bot_stop. - bot_mimic 1
Bots will mimic your movements and actions. - bot_kick
Kicks all bots. - god
Toggle god mode on/off. - cl_showpos 1
Show current postion in top right corner of the screen.
Server commands
- sv_cheats 1
Enables “cheats”. Required for a lot of different practice commands. - mp_limitteams 0
Removes team limits. This lets you have as many players as you want on one team. - mp_autoteambalance 0
Turns off automatic team balance. - mp_roundtime 60
Maximum roundtime set to 60 minutes. - mp_roundtime_defuse 60
Another command for roundtime, which you need to use when playing de_* maps - mp_maxmoney 99999
Sets maximum money to 99 999 instead of 16 000 - mp_startmoney 99999
Your starting money will be set to 99 999 - mp_freezetime 0
No freezetime in the beginning of each round. - mp_buytime 9999
Increases the buytime so you don’t need to worry about it. - mp_buy_anywhere 1
You can open the buy menu and buy from anywhere on the map. - sv_infinite_ammo 1
Gives you infinite ammo and no reload. If you’re going to practice spray control, you might want to set this to sv_infinite_ammo 2. This way you will have to reload but still have infinite ammo. - ammo_grenade_limit_total 5
Increasese grenade slots so that you can have all grenade types. - mp_warmup_end
End warmup. - mp_restartgame 1
The server will restart the game after 1 second.
Nade tails plugin for trajectories on dedicated servers
Unfortunately, sv_grenade_trajectory only works when playing offline and not on dedicated servers. Therefore, we recommend that you use the SourceMod plugin “Nade tails” on your dedicated server to get the same effect. Here’s a video on how to install it:
Need a server to practice on?
We offer pay-as-you-go pricing (so you only need to pay for the time you actually practice) coupled with the markets easiest interface with one-click plugin installation. Read more about our CS:GO servers here.
Want to improve faster in CS:GO?
Leetify is a CS:GO AI coaching platform that automatically analyses your matches. It helps you identify your weaknesses, helps you work on them and tracks your progression. You can sign up for free here.