Counter-Strike 2 server guide
Counter-Strike 2 on Hostboi is configured entirely from the Startup tab. There is no config file for the panel to rewrite, because every setting is passed to the server on its launch line — which also means a change does nothing until you restart, and anything you type into Console only lasts until the next restart.
Change server settings
Section titled “Change server settings”- Open your server in the panel and go to Startup.
- Change the fields you need and save.
- Restart from Console.
| Field | What it does |
|---|---|
| Map | Starting map. de_dust2 by default. Bomb maps include de_mirage, de_inferno, de_nuke, de_ancient, de_anubis, de_overpass, de_vertigo; hostage maps cs_italy and cs_office; Arms Race ar_baggage and ar_shoots. |
| Gamemode and Gametype | The pair that selects the game mode, below. |
| Max Players | 12 by default. |
| Server Name | Name shown in the server browser. |
| Server Password | Join password. Letters, numbers, dashes and underscores only. |
| RCON Password | Password for remote console. Each server is created with its own random one. Same character rules. |
| Enable RCON | Turns remote console on. Off by default; the RCON password does nothing until this is on. |
| Enable VAC | Valve Anti-Cheat. On by default; turning it off starts the server with -insecure. |
| Steam Gameserver Login Token | Your GSLT, covered below. |
| Auto-update server | Updates the game files when the server starts. |
| SourceTV Port | Read-only. The spectator port assigned to your server. |
Game modes
Section titled “Game modes”CS2 picks the mode from a Gamemode/Gametype pair. These are the values from Valve’s dedicated server documentation:
| Mode | Gamemode | Gametype |
|---|---|---|
| Competitive | 1 |
0 |
| Wingman | 2 |
0 |
| Casual | 0 |
0 |
| Deathmatch | 2 |
1 |
| Arms Race | 0 |
1 |
| Custom | 0 |
3 |
Set both fields, restart, and the next map loads with that mode. Valve notes that changing the map after setting
the pair gives the most reliable result — map de_mirage in Console does that without a full restart.
Get the server into the browser
Section titled “Get the server into the browser”Valve’s documentation asks for a Game Server Login Token on every CS2 server, and without one the server is not listed publicly.
- Sign in at steamcommunity.com/dev/managegameservers and
create a token for Counter-Strike 2 (app
730). - Copy the 32-character token.
- Paste it into Steam Gameserver Login Token on Startup and restart.
The general token walkthrough is in Game keys and tokens; treat the token like a password and never post it in Discord or a ticket.
Admin and RCON
Section titled “Admin and RCON”CS2 has no admin menu and no built-in ban list screen. Administration is done with server commands, either through the panel or over RCON.
- From the panel: type the command into Console. It runs on the server process directly, so no RCON password is involved. Handy for one-off changes, but the setting is gone after a restart.
- From outside the panel: copy RCON Password, switch Enable RCON on, restart, and point an RCON client at your server address with that password. That is how most community CS2 admin tools work.
There is no admin group to join: anyone with the RCON password has the same access, so share it as little as possible and change it on Startup if it leaks.
Where your files are
Section titled “Where your files are”| Path | What is in it |
|---|---|
game/csgo/maps/ |
Maps the server can load, one .vpk file each, including any you upload. |
game/csgo/cfg/ |
Config files the game reads, including the gamemode_*.cfg files for each mode. |
Custom maps
Section titled “Custom maps”Our CS2 setup has no Workshop field, so the supported route is a manual upload:
- Take a backup, then stop the server.
- Upload the map’s
.vpkintogame/csgo/maps/with the file manager or SFTP. A large map is much faster over SFTP. - Start the server and run
map <mapname>in Console to test it, without the.vpkextension. - Put the same name in Map on Startup if you want it as the starting map.
Useful console commands
Section titled “Useful console commands”map <name>— load a map now.status— players and connection state.kick <name or userid>— disconnect a player.sv_password <password>— set a join password for this session.game_alias competitive— set mode and type together for this session; the Startup pair is what persists.
Common problems
Section titled “Common problems”- The server is up but not in the browser. No GSLT. Add one as described above.
- The server never finishes starting after you add a token. Steam did not accept the token. The server stays on
“starting” and Console repeats
We're not logged into Steam. Clear Steam Gameserver Login Token or paste a correct one (made for app730), then restart. - The server shows as insecure. Enable VAC is off, so it launched with
-insecure. Turn it back on and restart; clients with VAC enabled may refuse an insecure server. - Nobody can use their admin tool. Enable RCON is still off, or the password contains a character the field rejects. Use letters, numbers, dashes and underscores.
- The mode is wrong after a restart. Only the Gamemode/Gametype pair on Startup survives a restart; anything set from Console is lost.
- Players are refused after a CS2 update. The client and server builds differ. Restart with Auto-update server on and watch Console for the update to complete.
- First start takes a long time. The install is about 70 GB, so the first boot is the slow one; later starts only apply updates.
