> For the complete documentation index, see [llms.txt](https://jiffyjrdevelopment.gitbook.io/jiffyjrdevelopmentdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jiffyjrdevelopment.gitbook.io/jiffyjrdevelopmentdocs/jiffy-jr-development-docs/jiffy-ui/api/config-panel.md).

# Config Panel

An in-game configuration panel that lets admins adjust Jiffy UI settings live without restarting the resource.

***

## Opening the panel

Run `/jui_config` in-game. This command is always available to anyone with the `jiffy-ui.test` ACE — it is **not** gated by `Config.EnableTestCommands`.

`group.god` and `group.superadmin` are granted this permission automatically on resource start.

***

## What you can do

| Feature                  | Description                                                                       |
| ------------------------ | --------------------------------------------------------------------------------- |
| **Accent color picker**  | Type a hex value or pick from 8 preset swatches. Updates all UI colors instantly. |
| **Notify position grid** | 3×3 grid — click any position to set it as the default for new notifications.     |
| **Preview button**       | Fire a test notification at the currently selected position and type.             |
| **Reset to defaults**    | Restore the accent color and position to the values in `config.lua`.              |

***

## Making changes permanent

Changes in the panel apply for the **current session only**. To make them permanent, copy the values you want into `config.lua`:

* Accent color → `Config.Accent`
* Notify position → `Config.Defaults.NotifyPosition`

***

## Opening from a script

```lua
-- Client-side only:
Jiffy.OpenConfigPanel()
```

{% hint style="info" %}
The config panel coordinates NUI focus with action notification buttons — both can be open simultaneously without conflict.
{% endhint %}
