Admin Panel
The admin panel allows you to create, edit, and delete custom store locations in-game without editing config files.
Opening the Panel
/storeadminRequires the permission group configured in Config.AdminPermission (default: "admin"), or the framework's admin group.
Creating a Store
- 01Open the admin panel with
/storeadmin - 02Click Create New Store
- 03Position yourself where you want the store
- 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
- 01Click Save — a 3D marker shows the zone in real-time
- 02The store is immediately available for all connected players
Editing a Store
- 01Open admin panel
- 02Select an existing store from the list
- 03Modify any settings
- 04Save — changes sync to all clients instantly
Deleting a Store
- 01Open admin panel
- 02Select the store
- 03Click Delete
- 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
| Method | Check |
|---|---|
| ACE | IsPlayerAceAllowed(source, 'command') |
| QBCore/QBox | QBCore.Functions.HasPermission(source, Config.AdminPermission) |
| ESX | Admin group check |
| Standalone | ACE only |
Admin actions are logged with the player's license and server ID for accountability.