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

# Creator panel

> The creator panel is where you build everything — benches, recipe groups, recipes, ingredients, and settings. Open it with /craftpanel (alias /crp) and changes go live immediately.

The creator panel is where you build everything — benches, recipe groups, recipes, ingredients, and settings. Open it with `/craftpanel` (alias `/crp`) and changes go live immediately.

## Opening the panel

```
/craftpanel
```

You need either the `nex.crafting.creator` ACE permission or a matching framework group (`admin`, `superadmin`, `god` by default). Both checks are accepted — whichever you prefer:

```
add_ace group.admin nex.crafting.creator allow
```

If nothing happens when you type the command, you don't have permission.

## Placing a bench

1. Open the panel and go to **Benches → Add bench**.
2. Pick a **prop model** (workbench, table, medical bench, etc.).
3. Click **Place** — the world goes into placer mode using `object_gizmo`. Move and rotate the prop to where you want it, then confirm.
4. Fill in the rest of the form:
   * **Name** — shown in the bench UI.
   * **Type** — `crafting` out of the box (you can add custom types in `settings/general.lua`).
   * **Access type** — see below.
   * **Recipe groups** — pick one or more from your saved groups.
   * **Blip enabled** — show this bench on the map.
   * **Skill check override / XP override** — disable per-bench if you want exceptions.
5. **Save**. The bench is live for everyone instantly.

## Access types

| Access type | Picker                                 | Who can use it                                                                         |
| ----------- | -------------------------------------- | -------------------------------------------------------------------------------------- |
| `public`    | —                                      | Everyone.                                                                              |
| `job`       | One or more jobs (with minimum grade)  | Members of any of those jobs at or above the grade.                                    |
| `gang`      | One or more gangs (with minimum grade) | Members of any of those gangs at or above the grade.                                   |
| `group`     | One or more framework groups           | Players in any of those framework groups.                                              |
| `private`   | —                                      | Only the owner (whoever created the bench).                                            |
| `discord`   | One or more Discord role IDs           | Players with any of those roles on your guild. Requires `settings/discord.lua` set up. |

## Recipe groups

A **recipe group** is a reusable bundle of recipes you can attach to multiple benches. For example, one group called *Weapon parts* might be attached to both a "Mechanic workbench" and a "Gunsmith workbench".

1. Go to **Recipes → Add group**.
2. Name the group.
3. Inside the group, click **Add recipe**.

## Recipes

Each recipe has:

| Field              | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| **Name / label**   | Internal name + display label.                                      |
| **Result item**    | The item that gets created (must exist in your inventory).          |
| **Result amount**  | How many you get per craft.                                         |
| **Craft time**     | Animation duration in milliseconds.                                 |
| **Required level** | Crafting level required (only matters if the XP system is enabled). |
| **XP reward**      | XP gained on success.                                               |
| **Fail chance**    | Override of the global fail chance for this recipe.                 |
| **Skill check**    | Enable/disable the skill check for this recipe.                     |
| **Ingredients**    | One or more item + amount pairs the player must have.               |

## Editing & deleting

Click any bench, group, or recipe in the panel to edit it. Click the trash icon to delete. Deletes cascade — removing a recipe group removes its recipes and ingredients.

## Settings tab

The **Settings** tab inside the panel is the same options as `settings/general.lua`. Save here and the script rewrites the file so your changes persist across restarts.
