Docs/ORB Clothing/Admin Panel

Admin Panel

The admin panel allows you to create, edit, and delete custom store locations in-game without editing config files.

Opening the Panel

/storeadmin

Requires the permission group configured in Config.AdminPermission (default: "admin"), or the framework's admin group.

Creating a Store

  1. 01Open the admin panel with /storeadmin
  2. 02Click Create New Store
  3. 03Position yourself where you want the store
  4. 04Configure:

- Label — Display name

- Type — clothing, barber, tattoo, or accessories

- NPC Model — The shopkeeper ped model

- Zone Size — Interaction area dimensions

- Blip Settings — Map icon, color, and scale

  1. 01Click Save — a 3D marker shows the zone in real-time
  2. 02The store is immediately available for all connected players

Editing a Store

  1. 01Open admin panel
  2. 02Select an existing store from the list
  3. 03Modify any settings
  4. 04Save — changes sync to all clients instantly

Deleting a Store

  1. 01Open admin panel
  2. 02Select the store
  3. 03Click Delete
  4. 04Confirm — store is removed from all clients

Data Storage

Admin-created stores are saved to data/admin_stores.json. This file is included in escrow_ignore, so you can manually edit it if needed.

json
[
    {
        "label": "Custom Store",
        "type": "clothing",
        "pos": { "x": -167.86, "y": -298.97, "z": 39.73 },
        "heading": 251.42,
        "createdBy": "license:abc123",
        "createdAt": "2024-01-15T10:30:00Z"
    }
]

Permissions

MethodCheck
ACEIsPlayerAceAllowed(source, 'command')
QBCore/QBoxQBCore.Functions.HasPermission(source, Config.AdminPermission)
ESXAdmin group check
StandaloneACE only
Admin actions are logged with the player's license and server ID for accountability.