Skip to content

CS2: Becoming an Admin

Discover how to assign and manage administrator rights to have full control over your server in CS2 gameplay

12 November 20262 min read55 Views0 helpful

Don't have your own server yet? Host your Counter-Strike 2 server with ZAP-Hosting from €4.99 / month.Or try 3 days from €0.90

Introduction

Granting administrator rights allows you easy and comprehensive management with full control over your server. As an admin, you can use all available options and features the game offers directly in-game. All the steps you need to take to assign administrator rights for your server are described below.

Preparation

To use administrator rights, a foundation must first be established. By default, CS2 does not offer comprehensive admin management. However, there are frameworks for this, such as CounterStrikeSharp. The framework must be installed for configuration. If you haven’t installed it yet, feel free to check out our Installing Plugins guide.

Defining Admins

Adding an admin is done via the configuration file admins.json, which you can find under ../cs2/game/csgo/addons/CounterStrikeSharp/addons/configs/. To declare a new admin, you must create a new entry. This must include a name, an identity, and flags (permissions). You can choose the name freely as it only serves as a placeholder/identifier. For the identity, the SteamID of the Steam account must be specified. Additionally, the flags must be defined as needed.

js
{
  "User 1": {
    "identity": "76561198808392634",
    "flags": ["@css/changemap", "@css/generic"]
  },
  "User 2": {
    "identity": "STEAM_0:1:1",
    "flags": ["@css/generic"]
  }
}

Defining Admin Groups

You can also define admin groups. This way, the permissions of an admin can be set via the corresponding group. This means permissions do not have to be configured individually for each admin. The groups are defined in the configuration file admin_groups.json, which you can find under ../cs2/game/csgo/addons/CounterStrikeSharp/addons/configs/.

js
"#css/simple-admin": {
  "flags": [
    "@css/generic",
    "@css/reservation",
    "@css/ban",
    "@css/slay"
  ]
}

Defining Admin Immunity

Admins can be assigned an immunity value. If an admin or player with a lower immunity value attacks another admin or player with a higher immunity value, the command fails. You can define an immunity value by adding the key immunity to each admin in configs/admins.json.

json
{
  "ZoNiCaL": {
    "identity": "76561198808392634",
    "flags": ["@css/changemap", "@css/generic"],
    "immunity": 100
  }
}
Info

The immunity check is not automatically performed by CounterStrikeSharp. It is up to the individual plugins to handle/manage the immunity check.

Conclusion

Congratulations, you have successfully configured the administrator rights. If you have any further questions or need help, our support team is available daily! 🙂

Free tools

CS2 Tools

View all

FAQ

Frequently asked questions

You need to install the CounterStrikeSharp framework, as CS2 does not provide comprehensive admin management by default.
In admins.json located at ../cs2/game/csgo/addons/CounterStrikeSharp/addons/configs/, including name, identity (SteamID), and flags (e.g., @css/generic, @css/changemap).
In the admin_groups.json file in the same config folder, to centrally assign permissions to multiple admins instead of configuring them individually.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.