For those who are hosting a Counter-Strike 2 community server and need to better manage it, becoming an admin is perfect. This enables you to control which accounts have certain permissions, which is great for moderators or low-level admins. The process to do that can be complicated for newcomers, so we’ve created this Apex Hosting guide to show you how to become an admin in your CS2 server 👏
Requirements
By default, there is no system for you to become an admin. Due to this, you must install MetaMod & CounterStrikeSharp on the server. Afterwards, you can make your Steam account an admin – then assign permissions. Review our guides below to install both of those:
When you’re finished, follow the section below to become an admin!
How to Add Admins
- Head towards your Apex server panel and stop the server.
- Navigate to
File Management > FTP File Access.
- Enter
/game/csgo/addons/counterstrikesharp/configdirectory. - Right-click the
configfolder and clickNew File.
- Enter admins.json for the name and click
Create File.
- Double-click the file to open the file editor.
- Copy & paste this:
-
{ "ServerOwner": { "identity": "SteamID64", "flags": [ "@css/root" ], "immunity": 100 } }
-
- Replace “SteamID64” with the account’s ID. Look it up here.
- E.g. “76561198000000000”
- Click
Saveat the bottom and startup the server. - Repeat this process to add another player as admin in your server.
If you want to remove an admin, delete the code for that account in the file.
Assigning Permissions
When setting up an admin account on your Counter-Strike 2 server, you need to edit the flags. These are basically permissions, giving access to specific commands, actions, or bypasses. The @css/root flag grants all commands and control, so it should only be assigned to trusted admins. To add a new flag, simply create a new line and enter it inside quotation marks – just like the root flag.
Here’s the complete list of flags for you to use:
| Flag | Description / Intended Purpose |
|---|---|
@css/root |
Superadmin access; grants all permissions and ignores immunity. |
@css/generic |
Basic admin privileges and main menu access. |
@css/reservation |
Access to reserved server slots. |
@css/kick |
Kicking players from the server. |
@css/ban |
Banning players. |
@css/unban |
Unbanning previously banned players. |
@css/slay |
Slaying, slapping, or harming players in-game. |
@css/changemap |
Changing the current map or map rotation. |
@css/cvar |
Modifying server console variables (cvars). |
@css/config |
Executing server configuration files. |
@css/chat |
Access to colored admin chat and broadcast messaging. |
@css/vote |
Initiating and managing server votes. |
@css/password |
Setting or removing the server password. |
@css/rcon |
Running RCON commands on the server. |
@css/cheats |
Toggling sv_cheats or using developer cheat commands. |
@css/vip |
General VIP perks (handled by VIP plugins). |
Counter-Strike 2 – Server Admins
As you continue to build your CS2 server and play matches with others, ensuring you have all the right permissions is important. This goes for other players too, such as trusted moderators or other staff members. Regardless of your setup, you can easily edit the admins.json file anytime to make adjustments. Just make sure to not break the file’s format since that can cause issues.



























