Skip to content
Counter-Strike 2
Counter-Strike 2 100% localFreeOpen access

CS2 server.cfg generator

Build your Counter-Strike 2 server.cfg and launch command: game mode, rounds, money, bots and passwords.

Last updated: 10/9/2026

100% local processing — saved in your browser.

Documentation
Identity and security

0 = visible on the Internet (GSLT token required).

Keep at 0 on a public server.

Launch (header)
Round rules

In minutes (1.92 = 1 min 55 s).

Bots, GOTV and misc
server.cfg
Live preview — automatically saved in your browser.
// game/csgo/cfg/server.cfg - generated by games-tools.game-rank.com
// Launch (from game/): ./cs2.sh -dedicated -port 27015 -maxplayers 10 +game_type 0 +game_mode 1 +map de_dust2 +sv_setsteamaccount YOUR_GSLT_TOKEN

hostname "My CS2 Server"
sv_password ""
rcon_password "ChangeMe!"
sv_lan 0
sv_cheats 0

mp_roundtime 1.92
mp_freezetime 15
mp_maxrounds 24
mp_startmoney 800
mp_buytime 20
mp_c4timer 40
mp_warmuptime 30
mp_limitteams 2
mp_friendlyfire 0
mp_autoteambalance 1
mp_overtime_enable 0
mp_halftime 1
sv_alltalk 0

bot_quota 0
bot_difficulty 1
tv_enable 0
Server installation guideNo server yet? Install it locally or on a VPS / dedicated server, ports and firewall included.

How to use CS2 server.cfg generator?

In CS2 the dedicated server is installed with app 730 and reads game/csgo/cfg/server.cfg. The game mode is chosen on the launch line (+game_type, +game_mode). This tool generates the file and repeats the command in its header.

  1. Enter the name, the RCON password, then pick the mode (casual, competitive, wingman, deathmatch), the map and the slot count.

  2. Adjust round rules: duration, freeze time, starting money, friendly fire, bots.

  3. Download server.cfg and put it in game/csgo/cfg/ of your installation.

  4. Start with the command in the header (from the game/ folder, with your GSLT token); add +exec server.cfg if the file is not loaded.

Read the full documentation →

Frequently asked questions

Counter-Strike 2
Counter-Strike 2Sign-in required
List your CS2 Workshop maps: +host_workshop_map parameter, gamemodes_server.txt map group and ds_workshop_changelevel commands.
WorkshopMapsOpen
Documentation