Installation ​
- Place the built resource in your server resources as
np_logistics. - Build its NUI with
cd web && npm install && npm run build; the manifest loadsweb/dist/index.html. - Merge
data/items.luainto np_inventory'sConfig.Items. For ox_inventory use equivalent definitions in its item catalogue. Registerseal_tagbefore enabling sealing;logistics_manifestuses the server exportnp_logistics.useManifest. - Configure
shared/config/00_core.lua, the world places in20_world.lua, and feature access through np_jobs orfallback_jobs.lua. - Start oxmysql and the framework/inventory before logistics. Schema migrations run automatically; back up existing databases before upgrades.
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.