The short answer
For a public Counter-Strike 2 server you need a Game Server Login Token (GSLT) from Steam, the game mode via game_type and game_mode, a starting map and a server.cfg with name and passwords. You load Workshop maps with host_workshop_map or as a whole collection with host_workshop_collection.
You can get a CS2 server with panel, console and file manager under CS2 server hosting. Why high clock speed matters for tick processing is explained in the best CPU for game servers.
1. Create a GSLT
- With your Steam account, open the game server account management page (steamcommunity.com/dev/managegameservers).
- Enter
730as the app ID – that's Counter-Strike 2. - Add a memo such as "My CS2 server" and create the token.
- Add the token as the launch parameter
+sv_setsteamaccount YOUR_TOKENor in the corresponding panel field.
2. Game mode and map
| Mode | game_type | game_mode |
|---|---|---|
| Casual | 0 | 0 |
| Competitive | 0 | 1 |
| Wingman | 0 | 2 |
| Arms Race | 1 | 0 |
| Deathmatch | 1 | 2 |
Example for a competitive server on Mirage:
+game_type 0 +game_mode 1 +map de_mirageCS2 uses sub-tick updates; unlike CS:GO, you no longer set a tickrate such as 128 yourself.
3. Create server.cfg
The file lives at game/csgo/cfg/server.cfg and runs on every map change:
hostname "My CS2 Server"
sv_password ""
rcon_password "A-LONG-PASSWORD"
sv_cheats 0
mp_autoteambalance 1Leave sv_password empty for a public server. A long random password from the password generator works well for RCON.
4. Workshop maps and plugins
host_workshop_map YOUR_WORKSHOP_ID
host_workshop_collection YOUR_COLLECTION_IDThe ID is in the Workshop page's address (the number after ?id=). A collection downloads all included maps; players receive them automatically when connecting.
For custom features such as admin menus, statistics or retake modes, many servers use CounterStrikeSharp, a plugin framework for CS2 built on Metamod:Source. Only install extensions from trusted sources and test them first.
FAQ
Do I need a GSLT for a CS2 server?
For a publicly listed server, yes. A pure LAN or test game works without one, but the server then doesn't appear in the public list.
Which port does CS2 use?
27015 by default. For a rented server, address and port are shown in the panel.
Can I set the tickrate to 128?
No. CS2 uses sub-tick updates; the server tickrate is fixed.
How much RAM does a CS2 server need?
A few gigabytes are enough for a server with up to 10 players. Many Workshop maps and plugins need more – per-core performance matters more than the core count.
Was this post helpful?
MagicHosting – Hosting with real value
Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.
- Current limited offers from our server exchange
- Affordable domains with transparent pricing and great offers
- Powerful DDoS protection for maximum availability
- Personal support when you have questions or issues