> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nexdev.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> Players don't need any commands — they just walk up to a front desk and press E.

Players don't need any commands — they just walk up to a front desk and press E.

There's only one command in the whole script:

| Command       | Who    | What it does                                       |
| ------------- | ------ | -------------------------------------------------- |
| `/hoteladmin` | Admins | Opens the admin panel to create and manage hotels. |

## Granting admin access

Set `Config.AdminGroups` in `config.lua` (default is `{ 'admin' }`), then add a player to that Ace group:

```
add_principal identifier.steam:110000123456789 group.admin
```

Players already in your framework's admin group are covered automatically:

| Framework | Groups that work               |
| --------- | ------------------------------ |
| Qbox      | `admin`, `god`                 |
| QBCore    | `admin`, `god`                 |
| ESX       | `admin`, `superadmin`          |
| Ox Core   | Ace only — use `add_principal` |

If `/hoteladmin` does nothing when typed, the player doesn't have any of these.

See [Admin panel](/nex_hotels/admin-panel) for what you can do once it's open.
