Integrations ​
np_jobs is an np_faction addon and the host for capability packs. Its framework and sibling-resource integrations
are declared in config/shared.lua; only oxmysql is a hard resource dependency in fxmanifest.lua.
| Resource | Relationship | Behavior in current source |
|---|---|---|
np_faction |
Addon host | Reads active faction job, member grade, duty and permission nodes; registers one node per feature and ends minijob shifts when duty-off hooks run |
np_admin |
Permissions and audit | Registers npjobs.editor, npjobs.monitor, npjobs.economy, npjobs.grant; npjobs.editor gates definition saves and logs go through the vendored adapter |
np_identification |
Requirement provider fallback | Built-in document check uses hasValidDocument / legacy HasValidDocument when no custom provider is registered |
np_colshape |
Optional zone checks | Checks a player position against registered colshapes for zone requirements and online-player filtering |
np_inventory |
Optional loadouts, item gates and job stashes | Reconciles job-issued loadouts, registers beforeUse, beforeMove, beforeGive, onDrop, and beforeOpen guards, and registers authorized shared job stashes when available; there is no general sale hook |
np_clothing |
Optional uniforms | Uniform pieces can be returned by loadout providers; np_jobs does not yet apply outfits or restore civilian clothing |
np_phone |
Optional groups | Group job coordination calls the phone Groups APIs; unavailable service returns group_service_unavailable |
np_vehiclehandler |
Vehicle provider | spawnJobVehicle / returnJobVehicle call this resource; vehicle methods return an unavailable error when it is not started |
np_payments, np_banking, np_certifications |
Configured integration names | Names appear in config, but the current host modules do not call these resources directly; a provider or later integration is needed |
The identifier helper reads ESX's shared object when available and otherwise uses FiveM identifiers. Payout code has
direct ESX and qb/qbx money paths. es_extended, qbx_core and qb-core appear in current integration config, but that
does not mean every framework feature path has been verified.
Feature and resource ownership ​
Feature IDs belong to the capability pack that registers them. A resource may check a pack feature while protecting an action, but it must not register a pack or claim a feature owned by another pack. Existing resource records stay in their own database and their exports/events remain the resource API.
| Pack owner | Resource integration | Feature IDs in the current site contracts |
|---|---|---|
np_police |
np_prison, np_surveillance, np_cctv, np_documents |
police.booking, police.transport, police.cases, police.mdt, police.warrants.request, police.warrants.serve, police.evidence.collect, police.citations, police.seize |
np_security |
np_cctv, np_documents |
security.desk, security.door / compatibility security.guestlist, security.protect |
np_legal |
np_prison, np_surveillance, np_documents |
legal.judge, legal.represent, legal.bail, legal.warrant_sign, legal.licence_issue, legal.records |
np_certifications |
np_documents |
cert.issue, cert.revoke, cert.verify |
np_medic |
Planned prison custody/visit consumer | medic.hospital, medic.records; these do not authorize prison custody actions |
np_minijobs |
Planned prison work-detail migration | Future prison category; no migration is described as live |
The feature IDs are pack-owned and come from the current resource integration contracts. The host exports are available; an individual integration is active only when the owning pack registers the feature and the resource bridge calls it. Unknown/offline features use the consumer resource's documented legacy fallback. A denial from a registered feature is authoritative. Duty remains required for protected actions in both paths.
For action-level scope, compatibility behavior and per-resource APIs, see the resource integration guide.