Skip to content

Installation ​

  1. Place the built resource in your server resources as np_logistics.
  2. Build its NUI with cd web && npm install && npm run build; the manifest loads web/dist/index.html.
  3. Merge data/items.lua into np_inventory's Config.Items. For ox_inventory use equivalent definitions in its item catalogue. Register seal_tag before enabling sealing; logistics_manifest uses the server export np_logistics.useManifest.
  4. Configure shared/config/00_core.lua, the world places in 20_world.lua, and feature access through np_jobs or fallback_jobs.lua.
  5. Start oxmysql and the framework/inventory before logistics. Schema migrations run automatically; back up existing databases before upgrades.
cfg
ensure oxmysql
ensure es_extended
ensure np_inventory
# Optional: np_banking, np_jobs, np_faction, np_prophandler and other siblings
ensure np_logistics

Optional hosts may start before or after logistics. np_addon adapters reattach after host restarts. Missing optional exports fail safely; this does not mean the intended integration has delivered its stock successfully.

Item catalogue ​

Item Purpose
logistics_pallet, logistics_crate, logistics_parcel Serialized cargo metadata templates
logistics_manifest Opens manifest for a player with the feature
pod_slip Delivery receipt
seal_tag Single-use numbered seal
tracker Cargo tracker template

Cargo units use server-created stashes and props; installing item definitions alone does not create a shipment.

Verify on your server ​

No live FiveM run has been recorded for this implementation. Verify acceptance and rig assignment, near/far pickup authorization, forklift lift/drop, trailer load/unload and handling reset, seals, receiver signatures, warehouse putaway, crane custody, restart recovery and final sink delivery. Test payout/refund once with np_banking and once with framework fallback; verify pending offline payout login retries and crashed framework processing reconciliation. Exercise missing sibling exports and rejected delivery callbacks before using production money.