You decide which services we may enable for analytics, personalization, and external content.
We use cookies and similar technologies on our website to personalize content, embed external media, and better understand how individual areas are used.
Necessary cookies
These entries support essential functions such as security, stability, and form processing.
Optional sections
AnalyticsMarketingPersonalizationExternal media
Your data may be processed with your consent or on the basis of legitimate interests. In the cookie settings, you can reject or explicitly allow each optional category.
Some services process personal data in third countries. By consenting, you also agree to this transfer. You can find more information in our Privacy Policy.
You can reopen and change your selection at any time. · 1.0.2
Discover how to configure Counter-Strike servers with gamemodes, mapgroups, and GSL tokens for optimal gameplay → Learn more now
10 November 20268 min read0 Views0 helpful
Introduction
Counter-Strike servers can be configured in many ways. Basic settings can be made via the server.cfg file and the Configuration tab in the web interface. 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, you can select the gamemode you want to use. The commands from this config will then be loaded accordingly. These can be managed either in the game server administration or manually via FTP under gXXXXXX/csgo/game/csgo/cfg/.
FAQ
Frequently asked questions
Via the server.cfg file and the Configuration tab in the web interface. Advanced settings are done through gamemode config files like gamemode_competitive.cfg or gamemode_casual.cfg.
Classic Casual, Classic Competitive, Deathmatch, and Wingman.
Use the sv_password command in the server.cfg file – players will be asked for the password when connecting.
Protected commands like god, sv_infinite_ammo, noclip, r_drawothermodels 2, mat_wireframe 2, enable_skeleton_draw 1, or mat_fullbright 3.
Feedback
Was this article helpful?
Your feedback helps us prioritize and improve content.
0 of 0 Users found this article helpful.
Personal support
Need more help than the guide provides?
Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.
Navigation
Counter-Strike: Global Offensive
Configuration
Configuration via the Interface
In the Configuration tab, you can adjust basic settings for the GSL token, gametype/gamemode, mapgroup, and more.
GSL Token
Game Server Login Tokens (GSLTs) are a protection method introduced by Steam. To run game servers for certain Steam games (mainly Source games), a token must be generated. More info can be found here:
There are various gamemodes. Here is a list of all available options:
Classic Casual
Classic Competitive
Deathmatch
Wingman
Mapgroup
Mapgroups are groups of maps that usually correspond to a specific category. By default, there are the groups mg_active, mg_allclassic. You can optionally create your own. These must be added in the gamemodes_server.txt. The structure of such a mapgroup is simple and looks like this:
The start map defines which map is loaded at the start. It is important that the map name is written fully and correctly. The file extension is not necessary.
Pingboost
Pingboost is a method to improve the gaming experience through various techniques to achieve the lowest possible ping.
Configuration via server.cfg
In the server.cfg you can change settings such as server name, RCON password, and server password.
hostname
The hostname defines the server's name. This is displayed in the server list and on the scoreboard.
rcon_password
The rcon_password is needed to execute server commands in-game or via Rcon tools like HLSW. This works with the following commands:
Code
rcon_password YourPassword
rcon command // For example: rcon changelevel de_dust2
sv_password
If you want to use your server privately or only allow certain people access, you can set a server password. When connecting to the server, you will then be asked for the password.
sv_cheats
Certain commands are protected and can only be used if cheats are enabled. The command can be toggled with the value 0 (disabled) or 1 (enabled). Protected commands include:
god, sv_infinite_ammo, noclip, r_drawothermodels 2, mat_wireframe 2, enable_skeleton_draw 1, mat_fullbright 3, and more.
Gamemode-specific Configuration
As described at the beginning, you can select the gamemode/gametype you want to use in the interface under the Configuration tab. Then you need to adjust your settings and modify the corresponding config file. In the gamemode configs, you can make detailed changes to gameplay, bot behavior, etc.
Bot Commands
bot_chatter
This command defines what the bots are allowed to say in the game. It can be set to off, radio, minimal, or normal.
bot_difficulty
This command sets the difficulty of the bots. Possible values are:
0 - easy
1 - normal
2 - hard
3 - expert
bot_quota
This command defines the maximum number of bots that can be on your server. The default value is 10.
bot_quota_mode
This command sets the mode that controls the number of bots. Options are: normal, fill, and match. Normal is the default behavior. Fill fills the server with as many bots as set by "bot_quota." Match fills 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 gets for defusing a bomb. You cannot assign more than the maximum money amount a player can receive on the server.
cash_player_bomb_planted
This command defines 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 the hostage is hurt.
cash_player_interact_with_hostage
This command defines how much money is earned or lost for interacting with a hostage.
cash_player_killed_enemy_default
This command sets how much money you get or lose for killing an enemy player with a default weapon.
cash_player_killed_enemy_factor
This command defines how much money you get for killing an enemy with one of the main weapons (standard pistols, primary rifles like AK/M4, etc.).
cash_player_killed_hostage
This command sets how much money you get or lose for killing a hostage.
cash_player_killed_teammate
This command defines how much money you get or lose for killing a teammate.
cash_player_rescued_hostage
This command sets how much money you get or lose for safely rescuing a hostage in hostage mode.
cash_team_elimination_bomb_map
This command defines how much money each team member receives when all 5 enemies are killed on a bomb defusal map like Mirage or Dust II.
cash_team_elimination_hostage_map_t
This command sets how much money each terrorist gets for winning a round on a hostage map by elimination.
cash_team_elimination_hostage_map_ct
This command defines how much money each CT team member gets when all 5 terrorists are eliminated on a hostage map.
cash_team_hostage_alive
This command sets how much money is earned or lost when a hostage survives the round.
cash_team_hostage_interaction
This command defines how much money a player earns or loses for interacting with a hostage.
cash_team_loser_bonus
This command defines the starting money a team receives for losing a round. This increases in fixed steps controlled by a separate command.
cash_team_loser_bonus_consecutive_rounds
This command sets how much money increases for a losing streak. If set to $500 (default), the losing team gets $500 more in each consecutive lost round than in the previous one. This applies for up to 5 consecutive lost rounds.
cash_team_planted_bomb_but_defused
This command defines how much money the terrorist team gets for planting a bomb that is ultimately defused. This stacks with the round loss bonus. The default value is $800.
cash_team_rescued_hostage
This command sets how much money the entire team gets when a player rescues a hostage.
cash_team_terrorist_win_bomb
This command defines how much money each player on the terrorist team wins when they win a round by bomb explosion.
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 defines how much money team members win 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 wins when they win the round by preventing the hostages from being rescued within the time limit.
cash_team_win_by_time_running_out_bomb
This command defines how much money CT players receive for winning a round when time runs out. This means terrorists did not plant the bomb or did not eliminate all CTs within the time.
Gameplay Commands
mp_afterroundmoney
This command sets how much money each player gets at the end of a round, regardless of win or loss. The default value is 0 (the win/loss bonus is set with another command).
mp_buytime
This command defines the time (in seconds) players have after round start to buy equipment.
mp_buy_anywhere
This command sets whether players can use the buy menu outside the buy zone. Note that the buy time still applies.
mp_death_drop_defuser
This command defines whether defuse kits are dropped on death or not.
mp_death_drop_grenade
This command sets which grenade (if any) is dropped when a player dies:
Value: 0 - No grenades dropped on death
Value: 1 - The most valuable grenade dropped on death
mp_death_drop_gun
This command defines which weapon is dropped when a player dies. The default is 1 (the best weapon). Choose one of the following options:
Value: 0 - No weapons dropped on death
Value: 1 - The best weapon dropped on death
Value: 2 - If the player holds a weapon on death, it is dropped; otherwise, the most valuable weapon
mp_defuser_allocation
This command sets whether players receive a free defuser at the start of the round and if so, who:
Value: 1 - No free defusers
Value: 2 - Random players receive a defuser
Value: 3 - All players receive a defuser
mp_force_pick_time
This command defines the duration in seconds a player has to pick a team. After time expires, a team is assigned automatically. The default duration is 15 seconds.
mp_forcecamera
This command sets who spectators can see (i.e., who players can observe when dead). See argument info for options:
Value: 0 - Dead players can observe any player
Value: 1 - Dead players can only observe their teammates
Value: 2 - Screen goes black until the next round.
mp_free_armor
This command defines whether players receive free armor and helmet at the start of the 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 allows buying equipment and discussing tactics. Default is 15 seconds.
mp_friendlyfire
This command defines whether friendly fire is enabled or disabled. When friendly fire is on, players can damage their own teammates. The default depends on the gamemode. In Competitive, friendly fire is enabled; in Casual, it is not.
mp_win_panel_display_time
This command sets the time (in seconds) the scoreboard is shown between rounds. Default is 3 seconds.
mp_respawn_immunitytime
This command defines how many seconds players have immunity after respawning. Used in Deathmatch gamemode.
mp_halftime
This command sets whether teams switch sides at halftime. Default value is 1.
mp_maxmoney
This command defines the maximum amount of money a player can have.
mp_maxrounds
This command sets the maximum number of rounds the server plays.
mp_roundtime
This command defines the maximum round duration in minutes before the round is won or lost. If the round is aborted after this time, the CT team wins. Seconds are given as a decimal, e.g., 1.92 = 1m55s.
mp_solid_teammates
This command defines whether you can collide with your teammates or not:
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. Default is $800.
mp_timelimit
This command defines the maximum game duration in minutes. Default is disabled (0).
mp_warmuptime
This command sets how long the warm-up phase before the actual game lasts. Time is given in seconds.
sv_allow_votes
This command defines whether votes (e.g., timeout voting) are allowed or not:
Value: 0 - Disabled
Value: 1 - Enabled
sv_infinite_ammo
This command sets whether players have infinite ammo or not:
Value: 1 - Infinite ammo that can be fired without reloading.
Value: 2 - Infinite magazines but must reload when empty.
ammo_grenade_limit_flashbang
This command defines how many flashbang grenades a player can carry.
ammo_grenade_limit_total
This command sets how many grenades a player can carry in total.
Server hosting from €2.49 / month, online instantly, DDoS protection included.