np_utilities MVP ​
City infrastructure and maintenance work for FiveM: district power, water mains and hydrants, road closures, waste
bins, streetlights, work orders and a city maintenance budget. Jobs are assembled from the utility.* capability pack
through np_jobs; the resource does not contain job-name checks.
Runtime status: implemented MVP. Seeded districts and assets, persistent state, repairs, reports, temporary closures, City Services phone app, budget ledger and optional sibling adapters are present. The PNGs below are Nimbus UI mockups for planned control screens; they are not shipped as in-game NUI screens.

Systems ​
- Power: district feeders, transformers, outages, local blackout behavior and np_cellnet tower mains power.
- Water: mains and hydrants, district low-pressure effects and a server export for hydrant flow.
- Roadworks: persistent temporary closures, np_prophandler barriers and nearby NPC traffic redirection.
- Waste and lighting: configured bins fill over time; crews collect them and repair streetlight assets.
- Work orders: environmental scenes, direct 311 reports, system alarms and staff-created orders.
- City budget: np_faction department accounts, work-order charges and a separate audit ledger.

Capability pack ​
| Feature | Current action | Permission node |
|---|---|---|
utility.inspect |
Inspect configured asset kinds and districts | feature.utility.inspect |
utility.repair_grid |
Repair feeder, transformer and substation assets | feature.utility.repair_grid |
utility.grid_control |
Isolate or restore an assigned district feeder | feature.utility.grid_control |
utility.water |
Repair mains and hydrants | feature.utility.water |
utility.roadworks |
Create work-zone closures | feature.utility.roadworks |
utility.traffic_control |
Create a flagger closure | feature.utility.traffic_control |
utility.garbage |
Collect configured bins | feature.utility.garbage |
utility.streetlights |
Repair streetlight assets | feature.utility.streetlights |
utility.budget |
View city balances and transfer between configured accounts | feature.utility.budget |
Per-job feature config can scope districts, inspection kinds, closure radius and budget transfer limits. Add any feature to any job definition in np_jobs; ranks and duty are resolved by np_jobs / np_faction. There are no ACE permissions.
Requirements and integrations ​
- Required: oxmysql. Target setup: ESX + np_inventory + oxmysql.
- Optional: np_jobs, np_faction, np_admin, np_environmental, np_dispatch, np_phone, np_prophandler, np_minigames, np_inventory and np_cellnet.
- np_fire can read
getHydrantState; a fire-side consumer is not included in the current runtime. - np_dispatch receives utilities work-order alerts and can route np_phone 311 calls to its
utilitieschannel. - The core runs without np_jobs; player maintenance actions stay locked until
hasFeature(src, id)succeeds.
Known limits ​
Districts use configurable radius circles. The GTA artificial-lights native affects an entire client view while the player is inside an affected district. Streetlight/signal assets have repair state but no per-object native effect yet. Sanitation routes, permit approval, full world-asset import, and the control-room NUI remain backlog work. An NPC contractor completes unattended orders after a configurable delay; it does not spawn crew peds.