CS2: How to Make Yourself Admin on Your Server

How to make yourself or a friend an admin on your DatHost CS2 server, and how to use admin commands like kick and ban in game.

CS2 has no admin system of its own. Admins come from CounterStrikeSharp, a framework you can turn on in the panel. Being admin only lets you use the commands that your plugins add, like kick and ban.

Make yourself admin

  1. Go to your DatHost Control Panel and click Edit on your CS2 server.
  2. Open Mods & Plugins in the left menu, then Plugins. Under Frameworks, turn on MetaMod and CounterStrikeSharp.
  3. Open the Admins tab.
  4. On Simple (recommended), click Add my Steam ID. To add someone else, enter their SteamID64 and click Add admin.
  5. Click Save changes, then restart the server.

CS2 Mods & Plugins with MetaMod and CounterStrikeSharp turned on

CS2 Mods & Plugins Admins tab with Add my Steam ID and Add admin

Join the server with the same Steam account. Simple admins can use every admin command your plugins have.

Use admin commands

Being admin does nothing until a plugin gives you commands. In Mods & Plugins > Plugins > Plugin library:

  • CS2 Simple Admin adds kick, ban, mute and an admin menu. Type !admin  in chat to open the menu, or !adminhelp  to list the commands. You can also see them on the plugin's Console Commands tab in the library.
  • MatchZy adds admin commands for matches and practice, like .start and .prac. See CS2: How to Set Up Practice and Scrims.

Click Save changes and restart after turning a plugin on.

Want to run server commands, like mp_restartgame 1? You don't need admin for that. Type them in the Console page in the control panel, or install Fake RCON to run them from the game.

Common questions

I'm admin, but commands do nothing. Check that MetaMod, CounterStrikeSharp and the plugin are all on, that you restarted after saving, and that you joined with the Steam account you added.

Can I give an admin fewer permissions? Yes, on the Advanced tab, which gives more specific control over what each admin can do. Most servers only need Simple.

"The admins.json file contains errors." The admin file has a mistake, often from a manual edit. Fix it on the Advanced tab, or click Reset admins to start again with an empty list.

Where do I find someone's SteamID64? It's the 17-digit number starting with 7656. Paste their Steam profile link into a site like steamid.io to find it.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us