Skip to content

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 ​

  1. Copy the resource into resources/[np]/np_jobs and keep the folder name np_jobs.

  2. In server.cfg, start oxmysql, then np_faction, then np_jobs, then capability packs and ordinary resources that consume pack features:

    cfg
    ensure oxmysql
    ensure np_admin
    ensure np_faction
    ensure np_jobs
    # ensure capability packs after np_jobs
  3. On startup, np_jobs applies migrations/schema.sql and loads saved job definitions through oxmysql. Confirm the startup log reports np_jobs ready before starting packs that register features.

  4. Configure feature-pack job definitions and grant the corresponding feature.<feature-id> permission nodes through np_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.