Skip to main content

Black Week: 10% extra from 3 months paid upfront, no code. Until Monday, 23:59. 2 days left.

All deals

CS2 Config Generator

Put together the values for server.cfg and the startup parameters of your CS2 server. You see the finished file right away and can copy or download it.

Presets

A preset only sets its own fields. Everything else stays as you set it.

Settings in server.cfg

General

hostname · Default: CS2 Server

How the server appears in the server browser. The value is also in the startup command, but the line in server.cfg wins because CS2 runs the file when a map loads.

Match Settings

game_type · Default: Classic

Together with the game mode, the game type decides what is played: Classic with Casual, Competitive, Wingman or Retakes, Arms Race / Deathmatch with Arms Race (mode 0) or Deathmatch (mode 2), Custom only with mode 0.

game_mode · Default: Competitive

Game mode within the game type. A pair CS2 does not know floods the console with errors on every tick. The presets above set both values to a matching pair.

sv_maxrate · Default: 0 · Range: 0 to 786,432

Maximum data rate per player in bytes per second. 0 lets the game determine the value.

mp_maxrounds · Default: 24 · Range: 0 to 200

Maximum number of rounds per map. 0 turns the limit off.

mp_roundtime · Default: 1.92 · Range: 0.5 to 60

Length of a round in minutes; 1.92 is 1:55. The generator also writes the value to mp_roundtime_defuse and mp_roundtime_hostage, otherwise bomb and hostage maps use the game mode's value.

mp_freezetime · Default: 15 · Range: 0 to 60

Seconds at the start of a round when nobody can move. Players buy during this time.

mp_buytime · Default: 20 · Range: 0 to 120

Seconds after the round starts during which the buy menu stays open.

mp_warmuptime · Default: 120 · Range: 0 to 600

Length of the warm-up before the first match, in seconds.

sv_cheats · Default: Off

Allows cheat commands such as noclip for every player. Only for practice and testing; keep it off on public servers.

bot_quota · Default: 1 · Range: 0 to 32

How many bots fill up the server. 0 turns bots off.

Startup parameters

These values go into the startup command. The panel assigns ports and the RCON password itself, so they are not listed here.

+map · Default: de_dust2

The map the server starts on, for example de_dust2, de_mirage or de_inferno.

-maxplayers · Default: 16 · Range: 1 to 64

How many players can be connected at the same time. With us, your plan sets the player count. You can still enter any value in the generator.

Continue on your server

Open your server dashboard if needed. Confirm changes to settings and worlds there yourself.