pebble_looting · v0.1.0
Installation
Requirements
| Resource | Notes |
|---|---|
| ox_lib | Required. |
| oxmysql | Required. The tables are created on first start. |
| pebble_bridge 1.x | Required, started before pebble_looting. Ships as its own open resource. Detects your framework, inventory and target. |
| An inventory | ox_inventory, qb-inventory (2.x), qs-inventory, tgiann-inventory, codem-inventoryv2, ps-inventory or codem-inventory (v1). See Inventories. |
| A target | Optional. ox_target or qb-target; without one, players get an [E] prompt. |
Supported frameworks: QBCore, Qbox, ESX, or no framework at all (standalone).
Install
- Download
pebble_lootingfrom your Cfx.re portal and put it in your resources folder together withpebble_bridge. - Add them to
server.cfgafter your framework, inventory and target:
ensure oxmysql
ensure ox_lib
ensure pebble_bridge
ensure pebble_looting
- Give your staff access to the admin panel (see Permissions).
- Restart the server and run
/lootadminto build your first template.
Permissions
/lootadmin is allowed for players with the pebble_looting.admin ace, or a framework group listed in ServerConfig.AdminGroups (admin, god and superadmin by default).
add_ace group.admin pebble_looting.admin allow
Database
pebble_looting keeps templates, zones, props, search areas, model rules and the audit log in its own pebble_looting_* tables. Migrations create and update them when the resource starts; you don't import any SQL by hand.
Updating
Replace the resource folder with the new version and keep your edited config/ and locales/ files. Migrations run on the next start; everything built in /lootadmin stays in the database.