Skip to content

CS:GO: Server Configuration

Learn how to configure your CS:GO server using the Configuration tab, custom.cfg, and gamemode configs for optimal gameplay.

30 November 20269 min read52 Views0 helpful

Don't have your own server yet? Host your Counter-Strike: Global Offensive server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

Counter-Strike servers can be configured in many different ways. You can change basic settings in your game server's Configuration tab and add your own server commands to the custom.cfg file. Advanced configuration is done through gamemode configuration files such as gamemode_competitive.cfg, gamemode_custom.cfg, gamemode_casual.cfg, gamemode_cooperative.cfg, and so on.

In the Configuration tab, select the gamemode you want to use. The commands in the corresponding config will then be loaded. You can manage these in the game server administration or manually via FTP in the csgo/cfg/ folder.

Configuration

Configuring via the interface

Set the basic values in your game server's Configuration tab. Save your changes and then restart the server for them to take effect.

Server name

The server name is shown in the server list and on the scoreboard.

Server password

To keep your server private or give access only to specific people, set a server password here. Players will be asked for the password when they connect to the server. If you leave the field empty, your server is public.

Steam server token (GSLT)

Game Server Login Tokens (GSLTs) are a security measure introduced by Steam. Your CS:GO server won't start without a valid token. Find out how to create one here:

Create a GSLT

Max. players

Sets how many players can be on your server at the same time. This value applies to every gamemode, including Competitive and Wingman.

Starting map

The starting map determines which map is loaded when the server starts. Make sure to enter the full map name correctly, for example, de_dust2. You don't need to include the file extension.

Game type and Game mode

CS:GO uses two numbers to determine the gamemode. Enter the values for the gamemode you want to use:

GamemodeGame typeGame mode
Classic Casual00
Classic Competitive01
Wingman02
Arms Race10
Demolition11
Deathmatch12

Your server always starts with the mg_active mapgroup. You can't select a different mapgroup in the panel.

Tick rate

The tick rate determines how many times per second the server calculates the game world. The default is 64.

RCON Password

You need the RCON password to run server commands in-game or through RCON tools such as HLSW. In-game, enter the following in the console:

Code
rcon_password 12345
rcon changelevel de_dust2

Replace 12345 with your RCON password. Then run a command on the server by adding rcon before it. In this example, the map is changed to de_dust2.

Configuring via custom.cfg

Your server rewrites server.cfg every time it starts, so any changes you make to it will be lost. That's why you should add your own server commands to the custom.cfg file in the csgo/cfg/ folder. If the file doesn't exist yet, create it there. The server runs it every time it starts, after server.cfg, and again after the gamemode config has loaded, so your settings take effect. A custom.cfg file might look like this:

Code
mp_maxrounds 30
mp_roundtime 1.92
sv_allow_votes 0

Set the server name, server password, and RCON password in the Configuration tab. If a value is entered there, it will apply even if your custom.cfg specifies something different.

If you upload your own server.cfg, for example when migrating your server, the server renames it to custom.cfg the next time it starts. This keeps your settings intact.

sv_cheats

Some commands are protected and can only be used when cheats are enabled. You can enable or disable cheats by setting the command to 1 or 0, respectively. Add it to custom.cfg. Protected commands include:

  • god, sv_infinite_ammo, noclip, r_drawothermodels 2, mat_wireframe 2, enable_skeleton_draw 1, mat_fullbright 3, and several others.

Gamemode-specific configuration

As described above, set the gamemode in the Configuration tab using Game type and Game mode. You can make detailed changes to gameplay, bot behavior, and more in the gamemode configs in the csgo/cfg/ folder (for example, gamemode_competitive.cfg). You can add the commands below to those files or to custom.cfg. custom.cfg runs after the gamemode config and therefore takes precedence. If a setting should apply only to a specific gamemode, add it only to that gamemode's config and not to custom.cfg as well.

Bot commands

bot_chatter
This command defines what bots are allowed to say in the game. It can be set to off, radio, minimal, or normal.

bot_difficulty
This command sets the bots' difficulty. The following values are available:

  • 0 - easy
  • 1 - normal
  • 2 - hard
  • 3 - expert

bot_quota
This command sets the maximum number of bots that can be on your server. The default is 10.

bot_quota_mode
This command sets the mode used to control the number of bots. The options are normal, fill, and match. Normal is the default behavior. Fill adds as many bots as specified by "bot_quota" to the server. Match fills the available player slots. For example, if 3 players are connected and 10 bots are set, only 7 bots will be used.

Money commands

cash_player_bomb_defused
This command sets how much money a player receives for defusing a bomb. You can't award more than the maximum amount of money a player can have on the server.

cash_player_bomb_planted
This command sets how much money a player receives for planting the bomb.

cash_player_damage_hostage
This command sets how much money is deducted or earned when a hostage is injured. By default, the player loses $30 when a hostage is injured.

cash_player_interact_with_hostage
This command sets how much money is earned or lost for interacting with a hostage.

cash_player_killed_enemy_default
This command sets how much money a player receives or loses for killing an enemy player with a standard weapon.

cash_player_killed_enemy_factor
This command sets how much money a player receives for killing an enemy with one of the main weapons (standard pistols, primary rifles such as AK/M4, etc.).

cash_player_killed_hostage
This command sets how much money a player receives or loses for killing a hostage.

cash_player_killed_teammate
This command sets how much money a player receives or loses for killing a teammate.

cash_player_rescued_hostage
This command sets how much money a player receives or loses for safely rescuing a hostage in hostage mode.

cash_team_elimination_bomb_map
This command sets how much money each team member receives when all 5 opponents are killed on a bomb defusal map such as Mirage or Dust II.

cash_team_elimination_hostage_map_t
This command sets how much money each Terrorist receives for winning a round on a hostage map by eliminating the opposing team.

cash_team_elimination_hostage_map_ct
This command sets how much money each CT receives when all 5 Terrorists are eliminated on a hostage map.

cash_team_hostage_alive
This command sets how much money is earned or lost if a hostage survives the round.

cash_team_hostage_interaction
This command sets how much money a player receives or loses for interacting with a hostage.

cash_team_loser_bonus
This command sets the starting amount of money a team receives for losing a round. This amount increases in fixed increments controlled by a separate command.

cash_team_loser_bonus_consecutive_rounds
This command sets how much the loss bonus increases after a losing streak. When set to $500 (the default), the losing team receives $500 more for each subsequent lost round than it received for the previous one. This applies to up to 5 consecutive lost rounds.

cash_team_planted_bomb_but_defused
This command sets how much money the Terrorist team receives for planting a bomb that is ultimately defused. This stacks with the round loss bonus. The default is $800.

cash_team_rescued_hostage
This command sets how much money the whole team receives when a player rescues a hostage.

cash_team_terrorist_win_bomb
This command sets how much money each player on the Terrorist team receives when they win a round by detonating the bomb.

cash_team_win_by_defusing_bomb
This command sets how much money the CT team receives for winning a round by defusing the bomb.

cash_team_win_by_hostage_rescue
This cheat command sets how much money team members receive when they win a round by rescuing a hostage.

cash_team_win_by_time_running_out_hostage
This command sets how much money the team guarding the hostages receives if it wins the round by preventing the hostages from being rescued before time runs out.

cash_team_win_by_time_running_out_bomb
This command sets how much money CT players receive for winning a round when time runs out. This means the Terrorists didn't plant a bomb or didn't eliminate all CTs before time ran out.

Gameplay commands

mp_afterroundmoney
This command sets how much money each player receives at the end of a round, regardless of whether they win or lose. The default is 0 (the win/loss bonus is set by another command).

mp_buytime
This command sets the time (in seconds) players have to buy equipment after a round starts.

mp_buy_anywhere
This command determines whether players can use the buy menu outside the buy zone. Note that the buy time still applies.

mp_death_drop_defuser
This command determines whether defuse kits are dropped when a player dies.

mp_death_drop_grenade
This command sets which grenade, if any, is dropped when a player dies:

  • Value: 0 - Don't drop any grenades on death
  • Value: 1 - Drop the most valuable grenade on death

mp_death_drop_gun
This command sets which weapon is dropped when a player dies. The default is 1 (the best weapon). Choose one of the following options:

  • Value: 0 - Don't drop any weapons on death
  • Value: 1 - Drop the best weapon on death
  • Value: 2 - If the player is holding a weapon when they die, drop it; otherwise, drop the most valuable weapon

mp_defuser_allocation
This command determines whether players receive a free defuse kit at the start of a round and, if so, who receives one:

  • Value: 1 - No free defuse kits
  • Value: 2 - Random players receive a defuse kit
  • Value: 3 - All players receive a defuse kit

mp_force_pick_time

This command sets how many seconds a player has to choose a team. Once the time runs out, a team is assigned automatically. The default is 15 seconds.

mp_forcecamera

This command determines who spectators can see (in other words, who players can watch after they die). See the argument information for the available options:

  • Value: 0 - Dead players can watch any player
  • Value: 1 - Dead players can watch only their teammates
  • Value: 2 - The screen stays black until the next round.

mp_free_armor

This command determines whether players receive free armor and a helmet at the start of a round:

  • Value: 0 - Disabled
  • Value: 1 - Enabled

mp_freezetime

This command sets how long players are frozen at the start of each round. This freeze time gives them a chance to buy equipment and discuss tactics. The default is 15 seconds.

mp_friendlyfire

This command determines whether friendly fire is enabled or disabled. When friendly fire is on, players can damage their teammates. The default setting depends on the gamemode. Friendly fire is enabled in Competitive and disabled in Casual.

mp_win_panel_display_time

This command sets how long the scoreboard is displayed between rounds, in seconds. The default is 3 seconds.

mp_respawn_immunitytime

This command sets how many seconds of immunity players have after respawning. It is used in Deathmatch mode.

mp_halftime

This command determines whether the teams switch sides at halftime. The default value is 1.

mp_maxmoney

This command sets the maximum amount of money a player can have.

mp_maxrounds

This command sets the maximum number of rounds the server will play.

mp_roundtime

This command sets the maximum round duration in minutes, after which the round is won or lost. If the round ends after this time, the CT team wins. Enter the time in seconds as a decimal, for example, 1.92 = 1m55s.

mp_solid_teammates

This command determines whether you can collide with your teammates:

  • Value: 0 - Collision disabled
  • Value: 1 - Collision enabled

mp_startmoney

This command sets how much money a player receives at the start of a half. The default is $800.

mp_timelimit

This command sets the maximum game duration in minutes. It is disabled by default (0).

mp_warmuptime

This command sets how long the warm-up period lasts before the actual game begins. The time is specified in seconds.

sv_allow_votes

This command determines whether votes (for example, timeout votes) are allowed:

  • Value: 0 - Disabled
  • Value: 1 - Enabled

sv_infinite_ammo

This command determines whether players have unlimited ammunition:

  • Value: 1 - Unlimited ammo that can be fired without reloading.
  • Value: 2 - Unlimited magazines, but players must reload when a magazine is empty.

ammo_grenade_limit_flashbang

This command sets how many flashbangs a player can carry.

ammo_grenade_limit_total

This command sets how many grenades a player can carry in total.

Free tools

CS:GO Tools

View all

FAQ

Frequently asked questions

Use the Configuration tab in the web interface for the server name, passwords, gamemode, and starting map. Add your own server commands to custom.cfg in the csgo/cfg/ folder. For advanced settings, use gamemode configuration files such as gamemode_competitive.cfg or gamemode_casual.cfg.
Use the Game type and Game mode fields. For example, enter 0 and 0 for Classic Casual, 0 and 1 for Classic Competitive, 0 and 2 for Wingman, or 1 and 2 for Deathmatch.
Enter a password in the Server password field in the Configuration tab. Players will be asked for it when they connect.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.