Counter-Strike: Global Offensive Server Configuration Generator
Create a server config for your CS:GO server with the CS:GO server.cfg generator. Set the server name, password, GSLT, tick rate, game_type and game_mode, rounds, economy, bots, and RCON in the form, or describe your server to the AI in Easy Mode. The live preview shows the finished server.cfg, which you can copy, download, or share by link. Free, with no sign-up, right in your browser.
Built by Florian Galz
Example result
Example: the generated server.cfg
You set the options using a form or AI Easy Mode, and the generator creates the finished server.cfg for Counter-Strike: Global Offensive live. Below are the first lines of the default configuration; your file contains your values and all other settings.
Example · Default configuration
Output
// Counter-Strike: Global Offensive — generated with the ZAP-Hosting Game Config Generator// zap-hosting.com/tools/csgo/config-generator // Server basicshostname "ZAP Counter-Strike: Global Offensive"sv_password ""sv_setsteamaccount ""mapgroup "mg_active"game_type "0"game_mode "1"tv_enable 0 // Rounds & timemp_maxrounds 30mp_roundtime 1.92- +25 rowsYou can copy or download the complete file in the generator; the sample lines here only show the beginning.
Settings
What you can configure in server.cfg with the CS:GO server config generator
The generator creates server.cfg for your CS:GO server, not a client config such as autoexec.cfg or a config for CS2. CS:GO uses tick rate and the raw game_type and game_mode values, but has no game_alias. Its 30 settings are divided into seven sections, with the corresponding cvar shown in parentheses.
Server basics
Server name (hostname), server password (sv_password; leave blank for a public server), GSLT token (sv_setsteamaccount), map group (mapgroup), game_type and game_mode, and GOTV (tv_enable) with automatic demo recording (tv_autorecord). Player count (2–64, default 16), starting map (default de_dust2), and tick rate (64 or 128, default 128) are startup parameters and therefore do not appear in server.cfg.
Rounds & time
Rounds per match (mp_maxrounds, default 30), round time in minutes (mp_roundtime, default 1.92), freeze time (mp_freezetime, default 15 seconds), buy time (mp_buytime, default 20 seconds), and bomb timer (mp_c4timer, default 40 seconds).
Economy
Starting money (mp_startmoney, default 800), money limit (mp_maxmoney, default 16000), and team cash awards for achievements such as detonating or defusing a bomb (mp_teamcashawards).
Teams & fairness
Friendly fire (mp_friendlyfire, off by default), automatic team balancing (mp_autoteambalance), maximum team size difference (mp_limitteams, default 2, 0 = no limit), and auto-kick for team damage or inactivity (mp_autokick).
Bots
Bot count (bot_quota, 0–32, 0 = no bots) and bot difficulty (bot_difficulty): Easy, Normal, Hard, or Expert. Difficulty is only written if the bot count is not 0.
Administration & security
RCON password (rcon_password; leave blank to disable RCON) and cheat commands (sv_cheats, off by default) for mapping or training servers. Never enable sv_cheats on a public server.
Other
Gravity (sv_gravity, default 800) for fun and Mod servers, plus overtime for tied matches (mp_overtime_enable) and the number of rounds per overtime (mp_overtime_maxrounds, default 6).
The generator appends lines from an imported server.cfg that it does not recognize to the end of the file unchanged. It does not create plugins or additional config files.
Guide
Create a CS:GO server config step by step
From your first setting to a running server: how to get server.cfg onto your CS:GO server.
- 1
Step 1
Open generator or import config
The generator starts with CS:GO defaults, and you can see the finished server.cfg immediately in the live preview. If you already have a server.cfg, import it as a .cfg or .txt file of up to 2 MB, or paste its contents.
- 2
Step 2
Choose Easy Mode or the form
In Easy Mode, describe your server in your own words, for example, “Competitive 5v5 with 128 tick and GSLT.” The AI suggests suitable values and explains each change. Only changes you confirm are applied. In advanced mode, you set every option yourself.
- 3
Step 3
Set server basics
Enter the server name (hostname), an optional server password, and your GSLT token. Choose the player count, starting map, map group, tick rate, and game_type and game_mode for the game mode.
- 4
Step 4
Set rounds, economy, teams, and bots
Adjust the number of rounds, round time, freeze time, buy time, and bomb timer, then starting money and money limit, friendly fire and team balancing, bots, RCON password, GOTV, and overtime.
- 5
Step 5
Check and save server.cfg
Check server.cfg in the live preview; the generator flags invalid values. Then copy or download the file, or share a link without passwords.
- 6
Step 6
Upload and apply
Upload server.cfg to csgo/cfg/server.cfg on your CS:GO server and run “exec server.cfg” in the console. On a self-hosted server, a restart also works. At ZAP-Hosting, the image recreates the file on every startup, so do not restart to apply these values. Set the player count, starting map, and tick rate in your server's startup parameters.
Setup
File location & usage
Two ways to get the config onto a server: upload it yourself or apply it directly in our panel.
The manual method
On a self-hosted server
- 1
Download file
Download the generated server.cfg using the button above.
- 2
Upload via file manager or FTP/SFTP
Place in
csgo/cfg/server.cfg(Linux) orcsgo\cfg\server.cfg(Windows). - 3
Apply changes
Run “exec server.cfg” in the console. A restart applies the file only on self-hosted servers.
The ZAP-Hosting way
Startup parameters in the panel & exec server.cfg
On a ZAP-Hosting server, the CS:GO image recreates server.cfg on every startup. Set the server name, server password, GSLT token, player count, starting map, game mode, and tick rate through the startup parameters in the panel. Apply all other values by running “exec server.cfg” in the console. Those values last only until the next restart, when the image recreates the file.
- Startup parameters directly in the panel
- Apply other values with exec server.cfg
- Other values last until the next restart
More tools
server.cfg generators for CS2, CS:Source, and other Source games
Server Configuration Generator
Describe your server.cfg in your own words using the ZapX AI Agent or set each option manually — with a live preview, download, and direct push to your rented server.
Built by Florian Galz
Server Configuration Generator
Describe your server.cfg settings to the ZapX AI Agent in your own words, or set each option manually—with a live preview for your rented CS:Source server.
Built by Florian Galz
Server Configuration Generator
Describe your server.cfg settings to the ZapX AI Agent in your own words, or set each option manually—with a live preview for your rented Team Fortress 2 server.
Built by Florian Galz
Server Configuration Generator
Describe your server.cfg settings to the ZapX AI Agent in your own words, or set each option manually—with a live preview for your rented Left 4 Dead 2 server.
Built by Florian Galz
Server Configuration Generator
Describe your server.cfg settings to the ZapX AI Agent in your own words, or set each option manually—with a live preview for your rented Counter-Strike 1.6 server.
Built by Florian Galz
Server Configuration Generator
Describe your server.cfg settings to the ZapX AI Agent in your own words, or set each option manually—with a live preview for your rented Garry's Mod server.
Built by Florian Galz
FAQ
Frequently asked questions
File location, GSLT, tick rate, game mode, startup parameters, and passwords — quick answers.
On Linux, server.cfg is located at csgo/cfg/server.cfg; on Windows, at csgo\cfg\server.cfg. Downloading it does not transfer it automatically. Upload the file yourself and run “exec server.cfg” in the console. A restart applies it only on self-hosted servers; at ZAP-Hosting, server.cfg is recreated on every startup.
The generator is free to use without signing up: the form, Easy Mode, import, copy, download and sharing features all work without an account. The server.cfg is generated directly in your browser. Only in Easy Mode are your description and current values, without passwords, sent to the AI, which suggests changes. Only changes you confirm are applied.
For a public server, effectively yes; otherwise it may be excluded from the server list. The Game Server Login Token lets the server sign in to Steam and appears in server.cfg as sv_setsteamaccount. You can create one for free at steamcommunity.com/dev/managegameservers using app ID 730. The token is masked like a password in the form.
Tick rate determines how often the server calculates the game world each second. 128 tick provides more accurate hit registration and is the standard for Competitive. 64 tick uses less CPU per slot and is enough for Casual or community servers. The generator defaults to 128 tick.
CS:GO has no game_alias like CS2. Instead, you combine game_type and game_mode: game_type 0 (Classic) with game_mode 0 gives you Casual, game_mode 1 gives you Competitive, and game_mode 2 gives you Wingman. Other game_type values are 1 (Gun Game), 2 (Training), 3 (Custom), and 4 (Co-op).
These three values are server startup parameters (such as +maxplayers and +map), not server.cfg cvars. The generator therefore deliberately leaves them out of the file. Set them when starting your server, for example in its startup parameters or server settings.
On ZAP-Hosting, the CS:GO image recreates server.cfg on every startup. The eight values set through startup parameters are retained: server name, server password, GSLT token, player count, starting map, game_type, game_mode, and tick rate. Other cvars from an uploaded server.cfg last only until the next restart.
No. The server password, RCON password and GSLT token are masked in the form, never stored in share links and not sent to the AI in Easy Mode. A share link contains only the non-secret values you've changed.
Any more questions?
Contact SupportGet your Counter-Strike: Global Offensive server online today
Rent your Counter-Strike: Global Offensive server now and apply this config directly in the panel.
No setup. No risk. Online in seconds.
