NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to become admin on your Counter Strike 2 server and use admin commands

Counter Strike 2Updated Oct 5, 20263 min read
  1. Route A, remote RCON commands: under Settings, then Game Settings, type a password into RCON password (letters, numbers, dashes and underscores, 1 to 30 characters) and restart the server. With it empty, remote administration is off.
  2. Route A, continued: in your own game console, type rcon_address followed by your Server Address (address:port), then rcon_password followed by the RCON password you set. After that, put rcon in front of any server command, for example rcon changelevel de_mirage.
  3. Route B, admin permissions for plugin commands: under Settings, then Game Settings, turn on Plugin support (Metamod + CounterStrikeSharp) and restart so the plugin loader is installed.
  4. Route B, continued: in Files, open game/csgo/addons/counterstrikesharp/configs/admins.json (create the file if it is missing) and add yourself, for example { "YourName": { "identity": "76561198000000000", "flags": ["@css/generic"] } }. Replace the identity with your own 17-digit SteamID64 (it usually starts with 7656119) and use @css/root instead of @css/generic for full access. The file is JSON, so every quote, comma and bracket matters.
  5. Route B, continued: restart the server so the admins list is loaded.
  6. Route B, continued: the loader only supplies permissions. Install an admin plugin if you want commands such as kick and ban.

Useful admin commands

CommandWhat it does
rcon_address address:portIn your own game console, points the console at your server before you send remote commands.
rcon_password <the RCON password you set>In your own game console, supplies the RCON password you set in the panel.
rcon changelevel de_mirageExample of a remote command: changes the map (put rcon in front of any server command).
statusLists connected players with their user ids and Steam IDs.
mp_restartgame 1Restarts the current match after one second.
meta listShows whether Metamod and CounterStrikeSharp are loaded (send it over RCON: rcon meta list).
css_plugins listShows every CounterStrikeSharp plugin and whether it loaded (send it over RCON: rcon css_plugins list).

RCON commands (rcon_address, rcon_password and anything starting with rcon) are typed in your own game console. Admin commands from plugins are typed in game chat or in your game console while you are connected. Server commands such as meta list and css_plugins list are sent over RCON by putting rcon in front. Nothing here needs the panel Console tab. See How to use the console and run commands.

Good to know

  • Only give admin rights to people you trust.

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS