Skip to content

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.

  1. Open your server in the panel and go to Startup.
  2. Change the fields you need and save.
  3. 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.

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.

Valve’s documentation asks for a Game Server Login Token on every CS2 server, and without one the server is not listed publicly.

  1. Sign in at steamcommunity.com/dev/managegameservers and create a token for Counter-Strike 2 (app 730).
  2. Copy the 32-character token.
  3. 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.

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.

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.

Our CS2 setup has no Workshop field, so the supported route is a manual upload:

  1. Take a backup, then stop the server.
  2. Upload the map’s .vpk into game/csgo/maps/ with the file manager or SFTP. A large map is much faster over SFTP.
  3. Start the server and run map <mapname> in Console to test it, without the .vpk extension.
  4. Put the same name in Map on Startup if you want it as the starting map.
  • 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.
  • 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 app 730), 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.