Production jobs ​
With productionJobs.enabled = true (default), Apply in bay on an approved build does not change the car at once.
It creates a production job: an ordered list of steps that mechanics carry out around the car, in the bay. The last
step applies the build for everyone and charges the bill. With enabled = false, builds apply instantly.

Steps ​
The server builds the steps from the build:
| # | Step | Duration | Where |
|---|---|---|---|
| 1 | Collect materials (only when the build needs any) | 5 s | At the car |
| 2 | Strip old livery | pricing.stripSeconds |
At the car |
| 3 | Apply wrap (only with livery layers) | pricing.wrapSecondsPerLayer × layers |
At the car |
| 4… | Fit <part>, one per part | the part's fitSeconds |
At the part's position on the car |
| last | Final inspection | 10 s | At the car |
Steps unlock one after the other (locked → ready → in_progress → done). A job is awaiting_materials until the
materials step is done, then in_progress, and finally completed or cancelled. A vehicle has at most one active job.
Working a step ​
Mechanics near the bay receive the job automatically, also when they walk up after it was created. In the world:
- a marker shows each ready step within 15 m;
- within
productionJobs.interactDistance(1.6 m) the prompt Hold E appears; - holding E plays a scenario (cleaning for strip and wrap, welding for fitting, clipboard for inspection) with a progress bar; releasing E or walking away cancels the hold, and starting again restarts the timer;
- the job checklist in the corner lists every step with its state, and a tag shows the job (build → plate).
The server checks each step:
| Check | Reason when it fails |
|---|---|
The player has np_manufacturing.mechanic |
not_authorized |
| The step is ready (or in progress by the same mechanic) | job_step_not_ready, job_step_in_progress |
| The player is in the bay, and near the step's position for fit steps | mechanic_not_in_bay, mechanic_too_far |
At least duration × minimumDurationFactor (0.8) passed between start and complete |
step_too_fast |
| For the inspection: the same vehicle is still in the bay | vehicle_identity_changed, vehicle_left_bay |
Only players with the mechanic permission get prompts. The requester (who pressed Apply in bay) sees the job's progress without being able to work it, unless they are a mechanic too. If a mechanic disconnects, their running step becomes ready again; after a server restart, steps in progress reset to ready.
Skill games (np_minigames) ​
With np_minigames running and minigames.enabled on (the default), some steps are skill games the
server starts and judges (exports.np_minigames:Play) instead of holding E: press E once at the marker and
play. A won game completes the step (it replaces the hold timer); a failed or abandoned one puts the step back to
ready, and nothing is used up. The materials step never plays.
| Step | Game | Default |
|---|---|---|
| Fit a part | torque, medium: tighten the mounts in the zone |
on |
| Apply wrap | balance with the trim preset, easy: keep the squeegee's pace in the band |
on |
| Strip old livery | power, easy |
off |
| Final inspection | skillcheck, easy |
off (it is the sign-off that charges and applies the build) |
minigames = {
enabled = true,
maxMove = 2.5, -- metres from the step marker before the game fails with 'moved'
fit = { enabled = true, game = 'torque', difficulty = 'medium', opts = { icon = 'screwdriver-wrench' } },
wrap = { enabled = true, game = 'balance', difficulty = 'easy', opts = { preset = 'trim', icon = 'spray-can' } },
strip = { enabled = false, game = 'power', difficulty = 'easy', opts = { icon = 'eraser' } },
inspect = { enabled = false, game = 'skillcheck', difficulty = 'easy', opts = { icon = 'clipboard-check' } },
},
The keys are also on np_admin's settings page (Minigames).
Materials ​
The materials list is the sum of:
ceil(layers / pricing.layersPerVinyl)×pricing.vinylItem(defaultvinyl_roll, two layers per roll);- each part's
materials(the fixtures usewiring_kitandsteel_bracket).
With productionJobs.requireMaterials = true, completing the materials step removes the items from the completing
mechanic's inventory through the inventory bridge (ox_inventory, qb-inventory and compatible forks, or ESX). Every
count is checked first; if anything is missing the step fails with materials_missing and the item and count. With
false (default), and on standalone servers, the step just takes its time.
Completing and applying ​
Completing Final inspection re-checks the vehicle, charges the bill (see below), then applies the build: the server
stores it for the vehicle, sets the vehicleBuildId state bag, resets the livery wear, and broadcasts the build to all
clients, which attach the props and apply the livery. The requester is notified (Production complete), and the build
moves to applied.
Clients also re-request builds for vehicles around them every 30 seconds and whenever a vehicle's vehicleBuildId
state bag changes, so players who join later or stream the car in see it too.
Cancelling and timeouts ​
A job can be cancelled by a mechanic, an admin or the player who requested it (cancelJob). Jobs without activity for
productionJobs.jobTimeoutMinutes (60) are cancelled automatically, and revoking a build cancels all its jobs. A
cancelled job puts the build back to approved (or applied if it is still on another car).
Billing and refunds ​
With billing.enabled = true, a build is charged once, when it is applied:
| How it is applied | When | Who pays |
|---|---|---|
| Production job | At the final inspection | The vehicle's organization (with payer = 'organization'), else the player who requested the job. Never the mechanic |
| Instant apply (jobs off) | When Apply in bay is pressed | The organization, else the player applying |
| Fleet rollout | When the queued car is applied | The organization only |
- The organization is charged through its account (qb-banking, Renewed-Banking or qb-management on qb / qbx;
society_<job>through esx_addonaccount on ESX). If that fails, the player is charged instead, except for rollouts. np_banking's job accounts are not used. A player who pays is charged through the framework (playerAccount, default'bank'); with np_banking on esx / qbx / qb that bank is their np_banking checking account. - When the player has to pay and is offline, the inspection fails with
payer_offline; it can be retried when they are back. Failed payments returnpayment_failed. - The payment is stored on the job, so retrying a failed inspection never charges twice.
- Cancelling a paid job refunds it. A failed instant apply is refunded too; if the refund itself fails (for example the player went offline), the payment is kept as prepaid for that build and vehicle, and the next apply isn't charged again.
Materials are consumed, not billed: their bill lines have an amount of 0.