Scripts / Pursuit Control

prp-controlv0.2.0Admin dashboard

Pursuit Control

One in-game dashboard for every Pursuit script. Staff type /pursuit to change settings, pick loot from your inventory, and undo any change, without touching a config file.

FreeRun it on any number of servers. Resale and re-uploads are not allowed.

Delivered through your Cfx Portal. No database and no API keys. FiveM Legacy.

Pursuit Control item picker over Trash Hunt's loot page: a grid of items with two picked and the ones already in the pool marked Added
The item picker, adding to Trash Hunt's dumpster loot. Shown with sample data outside the game; in game it uses your inventory's own pictures.

What it does

Every Pursuit script that supports it gets its own page: every setting it offers, grouped, explained and searchable. Your config files keep working; the dashboard only overrides what you change in it.

Trash Hunt's dumpster junk pool in Pursuit Control: items with their share of the pool, weight, lowest and highest amounts

Loot and prices from your inventory

Loot pools, price lists and rewards are edited by picking items from your server's inventory, with pictures and search. Set each item's weight, amounts or price right in the table, and see its share of the pool. A newly picked item has to exist on your server, and the Doctor lists any item a script uses that your inventory doesn't have.

Honest live changes

Each setting says Live (applies at once) or Restart (applies when the script restarts), and waits for the restart when it needs one.

Survives updates

Values you set are stored by Pursuit Control, outside the script's folder. Drop in a new version of a script and they stay put.

Roles on ACE

Owner, admin, moderator and viewer tiers, plus single rights per script, so it fits the groups you already use.

History and undo

The last changes for each script, each one undoable, plus an audit log of who changed what. Optional Discord log.

Export and import

Copy settings as text and paste them on another server, dev to live. You see every change before it applies.

Doctor

Checks a script's setup and builds a support bundle to paste in a ticket. The bundle has no secrets in it.

Works with

Pursuit scripts connect on their own when both are running. Without Pursuit Control, every script works exactly as before.

Scripts
PRP TrashHunt 1.4.0 and newer. More Pursuit scripts connect as they update.
Inventories
The item picker reads ox_inventory, qs-inventory, qb-inventory and its forks, or ESX. Other inventories work through each script's own adapters.
Needs
Nothing else. No database and no API keys.
Tested
Live on our server with Qbox, ox_inventory and ox_target.
Game
FiveM Legacy. Escrowed resources can't load on FiveM for GTAV Enhanced yet.

Install

Start it before your Pursuit scripts, then give your staff a tier with ACE. Each tier includes the ones below it.

ensure prp-control
ensure prp-trashhunt

add_ace group.god pursuit.control.owner allow     # everything
add_ace group.admin pursuit.control.admin allow   # settings, audit log, restarts
add_ace group.mod pursuit.control.mod allow       # what each script gives moderators

# optional: the dashboard's Restart button
add_ace resource.prp-control command.restart allow

Then open it in game with /pursuit.