# Admin Panel

Open the admin panel in-game with the command configured in `Config.AdminPanel.command` (default: `/charpanel`).

#### Admin Features

| Feature            | Description                                                      |
| ------------------ | ---------------------------------------------------------------- |
| Generate Slot Code | Creates a one-time-use code players can redeem for an extra slot |
| View Active Codes  | Lists all unredeemed slot codes with creation timestamps         |
| Set Player Slots   | Override the number of slots for a specific player               |
| Disable Character  | Hides a character from selection without deleting it             |
| Delete Character   | Permanently removes a character and all associated data          |
| Change Theme       | Sets the active UI colour theme for all players                  |
| Search Players     | Find any player or character on the server                       |

#### Permission Groups

Edit `Config.AdminPanel.permission` to control which groups can access the panel:

```lua
Config.AdminPanel.permission = {
    admin  = true,
    mod    = true,
    helper = false,   -- helpers cannot access the panel
}
```
