During the heavy combat on CSGO server hosting, two teams go head to head in a battle to claim victory. In these matches, teams must either protect bomb sites and defuse the bomb on the defending team, or plant the bomb and ensure it goes off on the attacking team to win. While CS:GO’s competitive matches are usually as smooth as butter, there are often situations where maps need to be switched, team balancing changes need to be made, or a player is cheating and needs to be banned. No matter what situation you’re facing, you can handle them by using CS:GO commands.
Counter-Strike: Global Offensive commands bring the power to manage, protect, and run your server into your hands to take complete control. To utilize such commands, you’ll only need admin access and a few seconds to issue the command. Then, in no time at all, you’ll be running the ultimate CS:GO server experience for you, your friends, and fellow combatants. In this guide, we will show you how to utilize commands on your own Counter-Strike: Global Offensive server!
Before you can use CS:GO commands, you’ll need to enable the console and then give yourself admin. First, we’ll show you how to enable the CS:GO command console.
Now that you have access to the CS:GO console, it’s time to become an admin. You can follow these steps to become an admin on your own CS:GO server:
You can now start using CS:GO commands to manage your game server!
Command | Description |
---|---|
sm_addban <time> <steamid> [reason] | Add SteamID to the ban list. |
sm_admin | Shows admin menu. |
sm_ban <#userid|name><minutes|0> [reason] | Ban a client. |
sm_banip <ip#|userid|name> <time> [reason] | Add an IP to the ban list. Only someone with RCON access can ban from IP. |
sm_cancelvote | Cancel ongoing votation. |
sm_cvar <cvar> [value] | Restore or change a cvar value. Protected cvars are only accessible through password, sv_cheats are only accessible activating cheats. To add a cvar to a protected list (which contains by default all marked cvars as PROTECTED, rcon_password, sn_show_activity and sm_immunity_mode), use sm_cver protect <name> |
sm_execcfg <filename> | Execute a config file (no route needed, extension needed) |
sm_help [page|search] | Show all admin commands. The result is shown and can be specified with a page number. Alternatively, you can specify a search filter to find a specific command. |
sm_kick <#userid|name> [reason] | Kick a player from the server. |
sm_map <map> | Changes the current map. |
sm_rcon <argstring> | Execute string argument via RCON. |
sm_reloadadmins | Refresh admin cache. |
sm_unban <steamid|ip> | Remove a ban from an SteamID or IP. |
sm_who <#steamid|name> | Shows a list of all users and their access levels, can also show information about a specific user. |
Command | Description |
---|---|
rcon_password <The-Rcon-Password> | Login to a server as admin. Please not that if you want to use commands as admin, you have to prefix them with ‘rcon’, like ‘rcon sv_changemap de_dust’ for instance. |
exec <Configuration-File-Name>.cfg | Execute the supplied configuration file and load all contained settings and scripts. |
stats | Displays Time, CPU, In, Out, Uptime, Users, FPS, and Players in the console. |
mp_buytime | Sets the buy time in seconds. Example: mp_buytime “0.40″ |
mp_autoteambalance | The teams are balanced to equal or +1 players. Note: 0=off; 1=on. |
mp_c4timer | Sets the time in seconds till the bomb explodes. Example: mp_c4timer “50″ = 50 seconds. |
mp_chattime | Sets the time till messages fade out in seconds. Example: mp_chattime “5″ |
mp_fadetoblack | Sets whether the screen fades to black on death or not. Note: 0=off; 1=on |
mp_decals | Count of details (for example blood and bullet holes). Note: 0=off; 2048=max |
mp_freezetime | Sets the freeze time at each round restart. Example: mp_freezetime “6″ = 6 seconds |
mp_friendlyfire | Activate friendly fire. Note: 0=off; 1=on |
mp_hostagepenalty | Sets the maximum tolerated hostage kills. Note: 0=off; 1=1 Kill; 2=2 Kills. |
mp_limitteams | Sets the maximum of team player difference. Note: 0=No Limit. |
mp_roundtime | Sets the round time. Note: 3=3 Minutes; 2.5=2Min 30 Sec; 0=No Limit. |
mp_maxrounds | Sets rounds to play before a map change. Note: 0=No Mapchange. |
mp_flashlight | Enables or disables flashlights. Note: 0=off; 1=on. |
mp_autokick | Kick inactive players from the server. Note: 0=off; 1=on |
mp_friendly_grenade_damage | Toggle grenade friendly fire. Note: 0=off; 1=on |
mp_tkpunish | Toggle punishment for a teamkill (sit for one round). Note: 0=off; 1=on |
mp_startmoney | Sets the player starting currency. Example: mp_startmoney “800″ = 800 Dollar |
sv_enablevoice | Toggle voicechat. Note: 0=off; 1=on |
sv_alltalk | Toggle of voicechat is global or team related. Note: 0=off; 1=on |
mp_restartgame | Toggle map restart time in seconds. Example: mp_restartgame “2″ = Restart in 2 seconds. |
sv_password | Sets a password required for players to connect. Example: sv_password PASSWORD |
mp_playerid | Toggles the display of player names on focus. Note: 0=all; 1=team only; 2=off |
mp_forcecamera | Toggles game view on death. Note: 0=all; 1=only team; 2=stay where you died. |
sv_gravity | Sets the gravitation intensity. The default is 800. |
sv_cheats | Toggle cheats on the server. Note: 0=off, 1=on |
noclip | Become invulnerable and escape gravity. Note: only available if “sv_cheats″ set to higher than 0! |
mp_allowspectators | Toggles spectator mode allowed. Note: 0=off; 1=on |
sv_pausable | Toggle game pausable. Note: 0=off; 1=on |
rcon say <Text> | Global message from the server. |
changelevel <Mapname> | Change the map. Example: changelevel de_dust |
map <Mapname> | Change map and kick all players. Example: map de_dust |
mp_footsteps | Stepping sounds. Note: 0=off; 1=on |
mp_winlimit | Sets the rounds to win for a team to change the map. Note: 0=off |
sv_rcon_maxfailures | Sets auto ban on false Rcon commands, for example when commands are issued without rcon login. Note: min=1; standard=10; max=20 |
sv_rcon_minfailuretime | Resettime for sv_rcon_maxfailures. |
sv_rcon_minfailures | Count of false rcon commands before sv_rcon_minfailuretime is over. Note: min=1; standard=5; max=20 |
sv_rcon_banpenalty | Sets the ban time for failed rcon commands in seconds. Note: 0=Permanent |
users | List all player’s user ID and name. |
kick | Kicks a player. Example: kick playername; kick #id |
banid | Ban a player by its ID for x minutes. Example: banid id x; x=0>permanent |
banip | Ban a player by its IP for x minutes. Example: banip x; x=0>permanent |
quit | Restarts the server. |
reload | Reloads the map. |
status | Lists all players on the server with their Steam ID. |
sv_maxspeed | Sets the maximum speed for all players |
Command | Description |
---|---|
bot_add | Adds a bot randomly. |
bot_add_ct | Adds a bot to the counter terrorist team. |
bot_add_t | Adds a bot to the terrorist team. |
bot_all_weapons | Toggle all weapons allowed for bots. Note: 0=no; 1=yes |
bot_allow_grenades | Toggle bots allowed to use granades. Note: 0=no; 1=yes |
bot_allow_machine_guns | Toggle bots allowed to use machine guns. Note: 0=no; 1=yes |
bot_allow_pistols | Toggle bots allowed to use pistols. Note: 0=no; 1=yes |
bot_allow_rifles | Toggle bots allowed to use rifles. Note: 0=no; 1=yes |
bot_allow_rogues | Toggle bots allowed to use rouges. Note: 0=no; 1=yes |
bot_allow_shotguns | Toggle bots allowed to use shotguns. Note: 0=no; 1=yes |
bot_allow_snipers | Toggle bots allowed to use sniping rifles. Note: 0=no; 1=yes |
bot_allow_sub_machine_guns | Toggle bots allowed to use sub machine guns. Note: 0=no; 1=yes |
bot_kick | Kicks all bots. |
bot_kill | Kills all bots |
bot_snipers_only | Toggle bots are only allowed to use sniping rifles. Note: 0=no; 1=yes |
bot_pistols_only | Toggle bots are only allowed to use pistols. Note: 0=no; 1=yes |
bot_knives_only | Toggle bots are only allowed to use knifes. Note: 0=no; 1=yes |
Understanding CS:GO commands, you can now take control of your server and run it at its best. Whether you need to summon bots to your server, kick a rogue user, or even disable friendly fire if one of your server players is shooting their teammates too much. Taking only a few minutes to prepare and start using commands, you’ll enhance your server and can change options at a moment’s notice. Get started by becoming an admin and using commands on your own CS:GO game server today!