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.
In this article
Make yourself admin
- Go to your DatHost Control Panel and click Edit on your CS2 server.
- Open Mods & Plugins in the left menu, then Plugins. Under Frameworks, turn on MetaMod and CounterStrikeSharp.
- Open the Admins tab.
- On Simple (recommended), click Add my Steam ID. To add someone else, enter their SteamID64 and click Add admin.
- Click Save changes, then restart the server.


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
!adminin chat to open the menu, or!adminhelpto 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
.startand.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.