NP resource compatibility ​
Only np_jobs, FiveM, and oxmysql are required. Other NP resources are optional, runtime-checked adapters.
| Resource | Current behavior |
|---|---|
np_jobs |
Required addon host, feature registration, server-side capability and duty checks, and job jurisdiction metadata. |
np_faction |
Indirect through the active job and permission resolution owned by np_jobs; no duplicate lookup. |
np_inventory |
Optional sealed sample item, collection tools, private per-case stashes, and explicit custody transfers. Generic move/give/trade/drop paths for the sealed package are vetoed. Trade protection requires the beforeTrade hook. |
np_police |
Link an evidence trace reference to an authorized police case through LinkToCase. The police resource remains authoritative for its own case permission. |
np_fire |
Import active incident locations as idempotent, non-collectable fire-origin observations. |
np_hud |
Optional progress bar and notices. |
np_medic, np_dispatch, np_cctv, np_surveillance, np_drugs, np_metal-scanner, np_identification |
Can add trusted provider observations or link their records to an evidence case through the exports documented on Exports and providers. |
np_minigames |
Detected but not used for a required workflow. |
np_admin |
Shared addon bridge and trusted evidence-type registration. |
The startup integration list only reports resource state; a started resource does not imply a special adapter. For imports, add the calling resource to EvidenceSources in shared/config.lua, use a stable externalRef, and call the provider exports instead of writing to evidence tables.
Access and jurisdiction ​
Every player mutation is checked on the server through np_jobs:hasFeature(src, id, { duty = true }). Resource provider allowlisting authorizes server-to-server imports only; it does not grant player access. Cases are scoped to the jurisdiction from info.job.meta.jurisdiction, with DefaultJurisdiction as the fallback.
Resource restart behavior ​
The vendored np_addon bridge reattaches the feature pack after np_jobs restarts. When np_inventory starts or restarts, np_evidence re-registers its runtime item and inventory hooks. A missing/restarted dependency does not switch to an alternate job permission system.