---
title: How to Add Admins to Your CS2 Server
description: "Step-by-step guide to adding admins in Counter-Strike 2 so you can manage your server and keep things safe. "
source: "https://nodecraft.com/support/games/counter-strike-2/how-to-add-admins"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvN2QwYTU0OGExNy9jc2dvLWJhbm5lci0xMjEucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzMwMHgxMjAvYjYxOWJkNTIwOS9jb3VudGVyLXN0cmlrZS0yLWxvZ28uc3ZnIn0seyJuYW1lIjoiY3RhX3RleHQiLCJ0ZXh0IjoiQ3JlYXRlIHlvdXIgb3duIHNlcnZlciEifSx7Im5hbWUiOiJ0ZXh0IiwidGV4dCI6IkhvdyB0byBBZGQgQWRtaW5zIHRvIFlvdXIgQ1MyIFNlcnZlciJ9XQ&s=cc4196fc6918c0aa03e6a09aff5593c86ba0ac8ac5d2e13e91f36e8ee81b8eb2"
published: "2025-09-18T17:29:33.636Z"
updated: "2025-09-18T17:29:33.575Z"
---

# How to Add Admins to Your CS2 Server

Step-by-step guide to adding admins in Counter-Strike 2 so you can manage your server and keep things safe. 

Adding admins to your Counter-Strike 2 dedicated server allows you to assign moderation and management privileges to trusted players. To do this, you'll first need to install a plugin framework like CounterStrikeSharp, as CS2 does not offer built-in admin tools by default. Once the framework is in place, you can configure admin permissions through a plugin's settings, ensuring your server is properly managed and maintained.

**Note: Be sure that your Counter Strike 2 server is fully stopped before making any configuration changes or setting updates!**

## Install Metamod and CounterStrikeSharp

You will need to ensure that your server has both Metamod and CounterStrikeSharp installed to your server to add admins to it. We have a guide on how to add admins [HERE](/support/games/counter-strike-2/how-to-install-counterstrikesharp-and-metamod).

## Adding Admins

Adding an Admin is as simple as creating a new entry in the `admins.json` file. The important things you need to define are the SteamID identifier and the permissions they have.

1. Navigate to your Counter Strike 2 servers’ dashboard.
2. Locate and click the **Server Files** option on the left side of your dashboard.
3. Navigate to the `/game/csgo/addons/counterstrikesharp/configs` folder.![The location for the config files for CounterStrikeSharp](https://cms-a.nodecraft.com/f/133932/1895x590/a01c758c84/counterstrikesharp-configs.png/m/1000x0/smart)
4. Select and **Edit** the `admins.json` file, if you don't see one, you can create that file ahead of time by clicking the **New File** button.![Creating the admins.json file for CounterStrikeSharp for Counter Strike 2](https://cms-a.nodecraft.com/f/133932/1897x595/997c909bbf/create-admins-json.png/m/1000x0/smart)
5. Add each player to the file, making sure to define their SteamID to the identity setting, and the permissions (flags) that they are allowed to use.
6. Click the Save Changes button when you're done editing.![Editing the admins.json file for CounterStrikeSharp](https://cms-a.nodecraft.com/f/133932/1566x428/f172c738f6/edit-admins-json.png/m/1000x0/smart)

An example of this can be found below.

```language-json
{
  "Nodecraft1": {
    "identity": "12345678901234",
    "flags": ["@css/changemap", "@css/generic"]
  },
  "Nodecraft2": {
    "identity": "STEAM_0:1:1",
    "flags": ["@css/generic"]
  }
}
```

## Adding Admin Groups

Groups can be created to group a series of permissions under one tag. They are defined in `/game/csgo/addons/counterstrikesharp/configs/admin_groups.json`. The important things you need to declare are the name of the group and the permissions they have.

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

You can add an admin to a group using the `groups` array in `admins.json`.

```language-json
{
  "Nodecraft1": {
    "identity": "12345678901234",
    "flags": ["@mycustomplugin/admin"],
    "groups": ["#css/simple-admin"]
  },
  "Nodecraft2": {
    "identity": "STEAM_0:1:1",
    "flags": ["@mycustomplugin/admin"],
    "groups": ["#css/simple-admin"]
  }
}
```

> When creating groups, all group names MUST start with a hashtag # character, otherwise CounterStrikeSharp won't recognize the group.

## Adding Admin Immunity

Admins can be assigned an immunity value, similar to SourceMod. If an admin or player with a lower immunity value targets another admin or player with a larger immunity value, then the command will fail. You can define an immunity value by adding the immunity key to each admin in `admins.json`.

```language-json
{
  "Nodecraft": {
    "identity": "12345678901234",
    "flags": ["@css/changemap", "@css/generic"],
    "immunity": 100
  }
}
```

You can even assign an immunity value to groups in the `admin_groups.json`. If an admin has a lower immunity value, the group's value will be used instead.

```language-json
"#css/simple-admin": {
  "flags": [
    "@css/generic",
    "@css/reservation",
    "@css/ban",
    "@css/slay",
  ],
  "immunity": 100
}
```

## Flags/Permissions

> CounterStrikeSharp does not implement traditional admin commands like `!slay`, `!kick`, and `!ban`. It is up to individual plugins that you add later to implement these commands.

Because the flag system is just a list of strings associated with a user, there is no real list of letter-based flags like there was previously in something like SourceMod. This means a plugin author can declare their own flags, like `@Nodecraft1/guns`, which might be the permission to allow the spawning of guns as a command.

It is recommended that you read over all documentation an administrative-type plugin provides to know how the plugin author has configured the flags for commands.

## Conclusion

With admin access configured using CounterStrikeSharp or a similar plugin framework, your Counter-Strike 2 server is now better equipped to handle in-game moderation, enforce rules, and maintain a positive player environment. Make sure to assign admin permissions carefully and regularly update your plugin setup to keep your server secure and running smoothly.

## Need Help?

If you have questions or run into any issues, our support team is here to help! Reach out using the support widget on our website or visit our [support center](https://nodecraft.com/support) for further assistance.
