BenzyPrioAOP — Exports
BenzyPrioAOP exposes no Lua exports. It is driven entirely by chat commands (server-authoritative) and its own NUI, so there is no exports.BenzyPrioAOP:* surface to call from another resource. If you want to react to what it does, listen to its events instead — see EVENTS.md.
The public control surface is the commands below. Everything they change (the AOP value, each prio's state, peacetime) lives on the server and is pushed to clients over the events in EVENTS.md.
Commands
| Command | Argument | Who can use it | What it does |
|---|---|---|---|
/aop | [location] | Config.Access.aop | Sets the server-wide Area of Patrol (multi-word names allowed). |
/startprio | [prio name] | Everyone | Starts a prio (only if it is Available). |
/joinprio | [prio name] | Everyone | Joins an active prio (if there is room). |
/leaveprio | [prio name] | Everyone | Leaves a prio; auto-ends it into cooldown if you were the last one. |
/endprio | [prio name] | The starter, or Config.Access.prio | Ends the prio and starts its cooldown. |
/cooldown | [prio name] | Config.Access.prio | Forces a prio straight into cooldown. |
/peacetime | — | Config.Access.peacetime | Toggles server-wide peacetime on/off. |
/customizehud | — | Everyone | Opens the drag/resize HUD editor (client-side). |
debugbenzyprioaop | — | Server console / F8 | Diagnostics — see below. |
Prio names are case-insensitive and may contain spaces, so /startprio city prio matches a prio named City Prio.
Access for the staff-gated commands is decided by BenzyBridge's unified access system through Config.Access (framework job/group, raw identifiers, the ACE string, or a Discord role). See INTEGRATIONS.md.
Debug command
debugbenzyprioaop is available on both sides:
- Server console (
src == 0only) — prints what BenzyBridge resolved (framework / notify / drawtext / target / inventory) plus this resource's feature flags. - Client F8 console — gated behind
Config.Debug. Prints the resolved bridge stack (framework / notify / drawtext / target) and then asks the server which staff powers you hold (benzy.aop/benzy.prio/benzy.peacetime), showing the full access decision, not just the ACE bit.
NUI callbacks
The HUD editor talks to the client script internally; there is no public NUI surface to call.