
Your own Counter-Strike 2 server gives you your own rules: private 5v5s, retakes, deathmatch, practice sessions with infinite grenades, or a community server with your favourite Workshop maps. Here's how to set one up properly, from the token that gets it listed to plugins and custom maps.
Create a free Game Server Login Token (GSLT) for app ID 730 and add it to your server. Pick a mode with game_type and game_mode. For plugins, install Metamod:Source 2.x, add one line to gameinfo.gi, then install CounterStrikeSharp. Load Workshop maps with host_workshop_map or a whole collection with host_workshop_collection.
A Game Server Login Token ties your server to a Steam account. Without one, your server doesn't appear in the public server browser.
730 as the App ID (that's CS2), add a memo like "My CS2 server" and create the token.Tokens are free. Your Steam account needs to be in good standing (not limited), and each server needs its own token: two servers can't share one.
CS2 picks its mode from two values, game_type and game_mode:
| Mode | game_type | game_mode |
|---|---|---|
| Casual | 0 | 0 |
| Competitive | 0 | 1 |
| Wingman | 0 | 2 |
| Arms Race | 1 | 0 |
| Deathmatch | 1 | 2 |
On SkailarHost you can switch maps and game modes from the control panel. From the server console, use changelevel de_mirage to change map right away.
game/csgo/cfg/server.cfg runs every time the server starts. A minimal one looks like this:
hostname "My CS2 Server"
sv_password ""
rcon_password "pick-a-long-password"
sv_lan 0
mp_autoteambalance 1
mp_limitteams 1Leave sv_password empty for a public server, or set one for private matches. You can also set the RCON and server passwords from the panel.
Most CS2 plugins run on CounterStrikeSharp, which itself runs on Metamod:Source. Upload everything with the file manager or over SFTP.
Download the latest Metamod:Source 2.x build (the older 1.x branch is for Source 1 games, not CS2) and extract its addons folder into game/csgo.
Open game/csgo/gameinfo.gi, find the line that starts with Game_LowViolence, and add this line right below it:
Game csgo/addons/metamodRestart and type meta list in the server console. If it answers, Metamod is running.
Download the CounterStrikeSharp release marked with runtime (the first time you install it) and extract its addons folder into game/csgo too. After a restart, meta list shows it.
Each plugin goes in its own folder in game/csgo/addons/counterstrikesharp/plugins. Their settings appear in addons/counterstrikesharp/configs/plugins after the first load, and css_plugins list shows what's loaded. Popular picks include CS2-SimpleAdmin for admin commands, MatchZy for matches and practice, and retakes and deathmatch plugins.
After every CS2 update
Game updates can overwrite gameinfo.gi and remove your Metamod line, and big updates can break plugins until Metamod and CounterStrikeSharp release new builds. If plugins vanish after an update, check that line first.
Every Workshop map has an ID, the number at the end of its Workshop page address. Load a single map with:
host_workshop_map 1234567890For a map rotation, make a Workshop collection and load it with host_workshop_collection followed by the collection's ID. Then ds_workshop_listmaps lists the maps in it, and ds_workshop_changelevel followed by a map name switches to one. Players download the map automatically when they join.
For lineup and nade practice, save this as game/csgo/cfg/prac.cfg and run exec prac in the console:
sv_cheats 1
bot_kick
mp_warmup_end
mp_freezetime 0
mp_roundtime_defuse 60
mp_buy_anywhere 1
mp_buytime 9999
mp_startmoney 60000
mp_maxmoney 60000
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview 1
sv_showimpacts 1
mp_restartgame 1Prefer a menu over typing? MatchZy has a practice mode with saved lineups and more.
To run commands from inside the game, open the console and enter rcon_address with your server's address and port, then rcon_password with your password. After that, put rcon in front of any server command. SourceTV lets people spectate and record matches; on SkailarHost it's enabled out of the box on its own port.
| Problem | Fix |
|---|---|
| The server isn't in the public server browser | The GSLT is missing, mistyped or used by another server. Each server needs its own token. Restart after adding it. |
| "Unknown command: meta" | Metamod isn't loading. A game update probably reset gameinfo.gi: add the Metamod line back. |
| Plugins stopped working after a CS2 update | Update Metamod and CounterStrikeSharp to builds made for the new version, then check gameinfo.gi. |
| A Workshop map won't load | Check the ID, make sure the map is public, and use ds_workshop_changelevel for maps in a collection. |
| Players can't join a passworded server | They need the password too: connect, then type password followed by your password in the console. |
Our CS2 server hosting comes with SourceTV and full RCON on every plan. Add your GSLT and switch maps and modes from the control panel, and upload Workshop maps and plugins with the file manager or FTP. Scheduled backups protect your configs. Plans start at $6.99/month, and the most popular 12 GB plan handles 8–12 players.
Yes. You create it on Steam's game server page at no cost.
No. CS2 uses sub-tick updates instead of a tickrate setting, so there's no 64 vs 128 tick choice to make.
CS2 plugins are built for CounterStrikeSharp on Metamod instead, so look for plugins made for it.
Yes. Use competitive mode with a server password, or a match plugin like MatchZy for ready-ups, knife rounds and pauses.
CS2 servers from $6.99/month, with SourceTV, full RCON, Workshop maps and plugins, and free DDoS protection.