pebble_looting · v0.1.0

Admin panel

/lootadmin opens the loot manager. It's allowed for staff with the pebble_looting.admin ace or a group in ServerConfig.AdminGroups (see Permissions). Rename the command with ServerConfig.AdminCommand.

Templates

Create and edit templates: pools per rarity, rolls, cooldown, tags, required items, lock, progress bar and what happens after looting.

  • The item picker lists the items of your inventory, with icons.
  • The roll simulator beside the editor rolls the template as you edit it, so you see what it really drops before you save.
  • Templates registered by another resource show where they come from. Once staff edit one it gets an Edited by staff badge and the resource no longer overwrites it. Return to script hands it back to the resource.

Zones

Draw zones in the world: press E for each corner, Backspace to undo a corner and Enter to finish.

Each zone has:

  • a template for containers inside it that have none of their own,
  • a ped template for dead NPCs and animals inside it,
  • category templates for ped categories another resource names (for example a zombie type),
  • free-form metadata that other resources read with GetZoneMetadata.

A zone inside another zone falls back to it for anything it leaves empty. Mark a zone as Fallback for the map to cover everything outside your zones; the nearest fallback zone is used. You can teleport to a zone from the list.

Props

Place searchable props in the world. A ghost prop follows your crosshair: scroll to rotate, hold Shift for fine control and press E to place. Give each prop a template, or leave it empty to use the zone's.

Props registered by other resources also show up here, read-only.

Search areas

Invisible boxes players can search, for a shelf, a counter or a car boot. Place them like props, then resize with the arrow keys and change the height with PgUp/PgDn.

Model rules

Make every prop or ped of a model searchable with a template, for example every dumpster on the map.

Audit log

Every change to templates, zones, props, search areas and model rules, with who made it and the values before and after. Set ServerConfig.Webhook to also post them to Discord.