# How to Set Up Roles & Admins on Your Enshrouded Server (/docs/enshrouded/role-setup)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Enshrouded uses a **user group** system — each group has a unique password and specific permissions.

User Groups in enshrouded_server.json [#user-groups-in-enshrouded_serverjson]

```json
"userGroups": [
    {
        "name": "Admin",
        "password": "admin_password_123",
        "canKickBan": true,
        "canAccessInventories": true,
        "canEditBase": true,
        "canExtendBase": true,
        "reservedSlots": 1
    },
    {
        "name": "Friend",
        "password": "friend_password_456",
        "canKickBan": false,
        "canAccessInventories": true,
        "canEditBase": true,
        "canExtendBase": true,
        "reservedSlots": 0
    },
    {
        "name": "Guest",
        "password": "guest_password_789",
        "canKickBan": false,
        "canAccessInventories": false,
        "canEditBase": false,
        "canExtendBase": false,
        "reservedSlots": 0
    }
]
```

Permissions [#permissions]

| Permission             | Description                          |
| ---------------------- | ------------------------------------ |
| `canKickBan`           | Can use `/kick` and `/ban` commands  |
| `canAccessInventories` | Can open other players' chests       |
| `canEditBase`          | Can modify other players' bases      |
| `canExtendBase`        | Can extend other players' base areas |
| `reservedSlots`        | Guaranteed join slots for this group |

How Players Join a Group [#how-players-join-a-group]

Players enter the **group password** (not the server password) when connecting. The server assigns them to the matching group.

> ⚠️ **Every group password must be unique.** Duplicate passwords crash the server on startup.

> ⚠️ **Admin password cannot be the same as the server password.**

In-Game Admin Commands [#in-game-admin-commands]

Players with `canKickBan: true` can use:

| Command             | Description     |
| ------------------- | --------------- |
| `/kick PlayerName`  | Kick a player   |
| `/ban PlayerName`   | Permanently ban |
| `/unban PlayerName` | Remove a ban    |

Related Guides [#related-guides]

* [Server Configuration](/docs/enshrouded/server-config)
