> ## 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.

# Admin panel

> The admin panel is where you create and manage hotels in-game. Open it with /hoteladmin and changes go live immediately — no restart.

The admin panel is where you create and manage hotels in-game. Open it with `/hoteladmin` and changes go live immediately — no restart.

## Opening the panel

Run `/hoteladmin` in chat. You need to be in one of the admin groups set by `Config.AdminGroups` (default `admin`).

To grant access:

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

If you're already in your framework's admin group (Qbox/QBCore `admin` or `god`, ESX `admin` or `superadmin`), you're covered automatically. Ox Core uses Ace permissions only.

If `/hoteladmin` does nothing when you type it, you don't have permission yet.

## Creating a hotel

1. Stand near where you want the **front desk** to be.

2. Run `/hoteladmin` and click **+ New Hotel**.

3. Fill in the form:

   * **Name** — shown to players in the rent UI.
   * **Description / image** — optional flavour text and image URL.
   * **Entrance** — where the front desk is. Click **Use my position** to grab your current spot.
   * **Exit** — where players are dropped after checking out.
   * **Ped** — the front-desk character. Set to `null` to disable.
   * **Blip** — the icon on the map.

4. Click **Create hotel**. Done — players see it instantly.

## Adding rooms

1. Open the hotel and switch to the **Rooms** tab.

2. Click **+ Add Room**.

3. Fill in the form:

   * **Floor / room number** — used for the room grid in the rent UI.
   * **Label** — display name (e.g. "Suite 204").
   * **Price** — per day.
   * **Entry** — where the player stands outside the door.
   * **Interior** — where they're teleported when they enter the room.
   * **Door object** — click **Door picker**, then left-click on a door prop in the world to auto-fill it.
   * **Storage / safe / wardrobe / minibar** — optional in-room interactions. Leave any blank to disable.

4. Click **Create room**. Players see it instantly.

## Editing and removing

* **Edit** — click any hotel or room, change fields, click **Save**.
* **Delete hotel** — removes the hotel and all its rooms and active rentals. Anyone renting goes to recovery (their stuff isn't lost).
* **Delete room** — removes the room and its current rental. The renter's items go to recovery.

## Elevators

If your hotel has multiple floors, add an elevator so players can travel between them:

1. Open the hotel and switch to the **Elevators** tab.
2. Click **+ Add Elevator** and give it a name (e.g. "Main lobby").
3. Click **+ Add Stop** for each floor — fill in the label, position, and sort order.

Players standing at any stop can pick any other stop to teleport to.
