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

> If your license: identifier is in Config.Admins, an Admin entry appears in the shop sidebar. It opens a four-tab panel where you manage the entire catalogue without restarting the resource.

If your `license:` identifier is in `Config.Admins`, an **Admin** entry appears in the shop sidebar. It opens a four-tab panel where you manage the entire catalogue without restarting the resource.

## Opening the panel

Open the shop with `/donatorshop` (or the keybind, default `F9`) and click **Admin** in the sidebar. Changes go live for every connected player the moment you save.

## Admin Center

At-a-glance dashboard:

* Total packages, total sales, currency spent in the last 24 hours, active players online
* Recent transactions feed (purchases and redemptions, live)
* Top-selling list

Use this as your daily check — if a number looks off, jump into Player Management or Creator Center from here.

## Creator Center

Full control of the shop catalogue. Three primary actions:

### + Create Package

Create a vehicle, item, weapon, or tool listing. Fields:

* **Name** and **description**
* **Price** (in your shop currency)
* **Type** — `vehicle`, `item`, `weapon`, `tool`
* **Identifier** — spawn name for vehicles, item key for items / weapons / tools (must match your inventory's item key)
* **Image URL** *(optional)* — leave blank to fall back to `Config.ItemImagePath` + identifier (or the FiveM vehicle thumbnail for vehicles)
* **Tags** — comma-separated; used by the search bar on the Home tab
* **Trending** *(toggle)* — pins the card to the "Trending" rail at the top of Home
* **Category** *(optional)* — drops it into a custom category tab

### + Create Category

Adds a custom tab to the shop nav (e.g. *Battle Pass*, *Seasonal*, *Halloween*). Categories are purely organisational — you can move existing packages into them when editing.

### + Create Special Deal

Bundle 1–10 existing packages at a discounted price with an expiry timer. Deals show in a Trending banner at the top of Home with a live countdown.

* **Name** and **description**
* **Items** — pick 1–10 from your existing packages
* **Price** — the discounted bundle price
* **Expires at** — date/time when the deal disappears

All active deals are also wiped daily at `Config.DealResetHour` (default midnight). Set the hour to match your promotion rotation.

### Clear All

Wipes every package, every custom category, and every deal. Requires a confirmation modal. Default seeded categories stay.

## Player Management

Searchable table of every online player with their current balance. Per-row actions:

* **Give** — adds an amount to that player's wallet
* **Set** — overwrites that player's wallet to an exact amount

Both also work from the server console / chat as the `/givecoins` and `/setcoins` commands — see [Commands](/nex_donatorsystem/commands).

Below the table, a live activity log shows every recent purchase and redemption across the server.

## Customize UI

Live theme editor. Every change persists to the database the moment you click Save.

* **Colours** — accent, background, text, error, card border
* **Background image** — any image URL, with opacity and blur sliders
* **Card** — background opacity and border radius
* **Currency icon** — any square image URL (overrides `Config.CurrencyIcon`)

Defaults are restored with the **Reset** button.

## Webhook logs

Every action you take in the Admin panel — create, edit, delete, give, set, theme change — is posted to the `admin` Discord webhook if it's configured in `configs/sv_config.lua`. See [Configuration → Discord webhooks](/nex_donatorsystem/configuration#discord-webhooks).
