Installation ​
Requirements ​
| Dependency | Status | Purpose |
|---|---|---|
oxmysql |
Required | Host persistence; declared by the resource manifest |
np_faction |
Strongly recommended | Faction jobs use its job, member, duty, permission-node and place APIs |
np_admin |
Optional integration | Host permissions and audit logging; the host vendors its shared adapter |
| Framework | Optional bridge | Supported integration names in current config: es_extended, qbx_core, qb-core |
Other np_* services |
Optional | Inventory, payments, banking, phone, colshape, identification, certifications and vehicle handler integrations |
The resource declares itself as an np_faction addon, not a replacement for it. Without np_faction, faction membership
and grade authorization cannot resolve. Requirements supplied by optional providers fail closed when no provider can
answer them.
Install steps ​
-
Copy the resource into
resources/[np]/np_jobsand keep the folder namenp_jobs. -
In
server.cfg, startoxmysql, thennp_faction, thennp_jobs, then capability packs and ordinary resources that consume pack features:cfgensure oxmysql ensure np_admin ensure np_faction ensure np_jobs # ensure capability packs after np_jobs -
On startup, np_jobs applies
migrations/schema.sqland loads saved job definitions through oxmysql. Confirm the startup log reportsnp_jobs readybefore starting packs that register features. -
Configure feature-pack job definitions and grant the corresponding
feature.<feature-id>permission nodes throughnp_faction's grade setup. A registered feature is not granted to every member automatically.
The jobs panel ships as plain HTML, CSS and JavaScript; no NUI build step is needed. Feature packs should declare
np_addon 'np_jobs' and attach through the npAddon API so registrations are replayed after host restarts.