CS2 server.cfg Generator

Pick a game mode, adjust what you need and download a ready server.cfg for your CS2 server, with the matching start command.

Made in your browser - your passwords and settings are never sent to us.

Server type

Server

The server name shown in the server browser.

Password for remote admin control. Use a long random one and never share it.

Password players need to join. Leave empty for a public server.

Comma separated tags that help players find the server, e.g. 5v5,retake,eu.

On: LAN only, the server does not appear on the internet.

Puts an empty server to sleep to save CPU. Turn off if plugins must keep running with nobody on.

Game rules

Rounds per match. 24 is competitive (MR12). 0 = no limit.

Minutes per map before it changes. 0 = no limit.

Round length in minutes on maps without bombsites or hostages (1.92 = 1:55).

Round length in minutes on bomb maps (de_).

Round length in minutes on hostage maps (cs_).

Seconds players are frozen at round start to buy.

Seconds the buy menu stays open after the freeze time.

Players can buy anywhere on the map, not only in the buy zone.

Money each player starts with.

The most money a player can have.

Seconds until the planted bomb explodes.

Players can damage their own teammates.

Moves players between teams to keep them even.

How many more players one team may have than the other. 0 = no limit.

Kicks idle players and players who hurt too many teammates.

Teams swap sides at half time.

A tied match goes to overtime.

Rounds in each overtime.

The match ends as soon as a team cannot be caught.

Starts each map with a warmup.

Warmup length in seconds.

Armor everyone gets for free each round.

Players drop their best gun when they die.

Terrorists respawn right after dying.

Counter-terrorists respawn right after dying.

Players spawn at random points across the map.

Teammates block each other instead of walking through.

Who dead players can watch.

How many players can spectate at once.

Name shown for the counter-terrorists' team (optional).

Name shown for the terrorists' team (optional).

Movement

World gravity. 800 is standard.

Maximum player speed. 320 is standard.

Control in the air. 12 is standard; surf servers use 150 or more.

How fast players reach full speed on the ground. 5.5 is standard.

Ground friction. 5.2 is standard.

Removes the speed cap when jumping, so bunnyhopping keeps speed.

Holding jump keeps jumping on landing.

Speed lost on each jump. 0 for bhop and surf.

Speed lost on each landing. 0 for bhop and surf.

Fall damage multiplier. 0 = no fall damage.

Voice chat

Turns voice chat on.

Living players hear the other team.

Dead players hear the other team.

Dead players can talk to living teammates.

Bots

How many bots are on the server. 0 = no bots.

How the bot count follows the number of players.

How well the bots play.

Bots join only after a human player.

How much the bots talk on the radio.

GOTV

GOTV - lets people watch matches and record demos. Uses an extra slot.

GOTV delay in seconds, so viewers cannot help a team.

Records a demo of every match automatically.

Logs and bans

Writes server logs. Needed by stats plugins.

Which attacks are written to the log.

Writes bans to the log.

Start command

The game mode, player limit, first map and port are set when the server starts. A public server also needs a Game Server Login Token (GSLT) - create one for app ID 730 at steamcommunity.com/dev/managegameservers.


                        
                    

How to use it

  1. 1

    Download the file, or copy the text into a file named server.cfg.

  2. 2

    Upload it to game/csgo/cfg/ on your server, replacing the old server.cfg (keep a copy of the old one).

  3. 3

    Start the server with the command above (or set the same game mode in your host's panel), then change the map or restart it.

  4. 4

    If a game mode keeps overriding a setting, put that line into gamemode_competitive_server.cfg (or _casual_, _deathmatch_...) in the same folder. Keep the rcon password secret.

Plugins for your CS2 server

Ready-made CounterStrikeSharp plugins with lifetime updates.

Browse All Products
CS2 Admin Plugin – Bans, Gags & Admins in MySQL
Bundle −10%
Counter-Strike 2 Plugins

CS2 Admin Plugin – Bans, Gags & Admins in MySQL

A complete Counter-Strike 2 admin system with admins, groups, bans, gags, mutes, warnings, commands, in-game menus, MySQL support, Discord logs and multi-server management.

5 590 v1.14.2
€7.99