Skip to main content
Get 20% OFF your first order

How to Edit CSGO Server Config Files

In this guide, you will learn how to edit the different CSGO config files such as server.cfg and mapcycle.txt, and exactly what each one is for.

Main Configs in CSGO

By default, the configuration files listed below will control 99% of the things you need to do on your server. Here is an overview of each file and what commands/convars should go where. You can edit these files by going to File Manager.

server.cfg

Default location: /game/csgo/cfg/server.cfg

The server.cfg file is mostly only used for changing server-related settings like game mechanics, physics, and other aspects that affect all players in the server (sv_ convars). Examples include sv_cheats, which allows or disallows the use of cheat commands, and sv_gravity, which sets the gravity level in the server.

Unlike previous Counter-Strike games, your server.cfg file should rarely be edited.

gamemode_xxx_server.cfg

Default location: /game/csgo/cfg/gamemode_casual_server.cfg

All your custom gameplay commands go into your _server config files. These are different for each game mode you're using.

These configs are for specific multiplayer settings (mp_, bot_ convars). They're used to configure aspects of the game that are relevant in a multiplayer context, such as round timers, team balancing, and win conditions. For example, mp_roundtime sets the duration of each round, and mp_maxrounds determines the maximum number of rounds in a match.

Here is a list of all the selectable CSGO game modes and their respective configs:

Game ModeType/ModeConfig
Arms Race1/0gamemode_armsrace_server.cfg
Casual0/0gamemode_casual_server.cfg
Co-op Strike4/1gamemode_coopmission_server.cfg
Competitive0/1gamemode_competitive_server.cfg
Custom3/0gamemode_custom_server.cfg
Danger Zone6/0gamemode_survival_server.cfg
Deathmatch1/2gamemode_deathmatch_server.cfg
Demolition1/1gamemode_demolition_server.cfg
Guardian4/0gamemode_cooperative_server.cfg
Training2/0gamemode_training_server.cfg
Weapons Expert0/3gamemode_competitive_server.cfg
Wingman0/2gamemode_competitive2v2_server.cfg

mapcycle.txt

Default location: /csgo/mapcycle.txt

The mapcycle file is where you edit your CSGO server map rotation. Ensure that any map added has already been uploaded to the csgo/maps folder on your server. Check out our mapcycles guide for further information.

Default Contents
  • cs_italy
  • de_dust
  • de_aztec
  • cs_office
  • de_dust2
  • de_train
  • de_inferno
  • de_nuke

Plugin Config Files

Default location: /csgo/addons/sourcemod/configs

If you're using CSGO plugins such as SourceMod, each plugin you install should generate a config file inside the SourceMod plugin folder.

Finding Convars & Commands

If you ever need to find a convar or command, you can simply go to your server's console and type find followed by what you're looking to change. For example, if you wanted to find a command about chat, you can simply type find chat, and it will output all the current convars and commands along with a description of what they all do.

Related Guides

Still need help?
Can't find what you're looking for? Our friendly support team is ready to help.
Get Support