> ## 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, edit, and delete elevators in-game. Open it with /elevatoradmin and changes go live immediately.

The admin panel is where you create, edit, and delete elevators in-game. Open it with `/elevatoradmin` and changes go live immediately.

## Opening the panel

Run `/elevatoradmin`.

You'll have access if **any** of these are true:

* Ace permission `nex_elevators.admin` (recommended)
* Ace permission `command` or `command.elevatoradmin`
* You're in your framework's admin group (Qbox/QBCore `admin` or `god`, ESX `admin`/`superadmin`/`god`, Ox `admin` with grade > 0)

To grant via Ace:

```
add_ace identifier.steam:110000123456789 nex_elevators.admin allow
```

## Creating an elevator

1. Run `/elevatoradmin` and click **Create Elevator**.
2. Give it a name (e.g. "Hospital Elevator").
3. Optionally set a job restriction for the whole elevator.
4. Add at least one floor:
   * Enter a label (e.g. "Ground Floor").
   * Click **Grab Coords** — the panel closes so you can walk to the spot.
   * Press **E** at the spot to capture it (or **Backspace** to cancel).
   * Optionally set a job restriction on the floor.
   * Repeat for each floor.
5. Click **Save**. The elevator is live for everyone instantly.

## Editing

1. Run `/elevatoradmin`.
2. Pick the elevator from the list.
3. Change anything and click **Save**.

## Deleting

1. Run `/elevatoradmin`.
2. Pick the elevator.
3. Click **Delete**.

<Warning>
  There is no undo. If you delete an elevator by mistake, you'll have to recreate it.
</Warning>

## Resetting to defaults

If you ever want to start over:

1. Stop the server.
2. Delete `data/elevators.json` from the resource folder.
3. Start the server.

The default elevators from `Config.Elevators` will be re-imported.
