
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.
0 = visible on the Internet (GSLT token required).
Keep at 0 on a public server.
In minutes (1.92 = 1 min 55 s).
// 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
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.
Enter the name, the RCON password, then pick the mode (casual, competitive, wingman, deathmatch), the map and the slot count.
Adjust round rules: duration, freeze time, starting money, friendly fire, bots.
Download server.cfg and put it in game/csgo/cfg/ of your installation.
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.
Frequently asked questions
More Counter-Strike 2 tools
