Going live ​
The shipped shared/config.lua is set up for local testing: everyone has every permission, the fixture catalog is on,
and the only workshop is a development fixture at Mission Row. Work through this list, top to bottom, before you open
a public server.
While any of authorization.allowAllPlayers, enableFixtureCatalog or developmentCommands is still true, the
server prints one warning at start-up (development configuration: …). It changes nothing; it is there so a test
config doesn't slip into production unnoticed.
1. Permissions ​
authorization.allowAllPlayers = false.- Grant the permission nodes to groups in np_admin (Permissions), including
np_manufacturing.runtime_liveryif you offer live liveries. Without np_admin only the console, thenp_admin_fallbackidentifiers and the ESX groups innp_admin_fallback_groupspass. - Remove old
add_ace … npv.vehiclemanufacturing.*/np_manufacturing.*lines fromserver.cfg; they are no longer read.
2. Development switches off ​
developmentCommands = falseanddebug = false.- Keep
allowEphemeralVehicleIdentityandallowPlateIdentityFallbackatfalse, and make sure your garage setsvehiclePersistentIdandvehicleOrganizationId.
3. Real workshops ​
Capture each workshop in game with the admin command. It needs np_manufacturing.admin, works with
developmentCommands = false and never writes files:
- Stand where the laptop should sit, facing the way it should face, and run
np_manufacturing_workshop_here <id>(same as… <id> computer).<id>is letters, digits and_, starting with a letter, e.g.mrpd_bay_1. - Park a car in the middle of the bay, sit in it, and run
np_manufacturing_workshop_here <id> bay. - The second call prints a complete
workshopsentry to F8 and the server console (chat gets the status lines). Paste it insideworkshops = { … }, setlabel,organizationIdandallowedModes, and check the radii (computerRadius4 m,bayRadius8 m). See Workshops. - Delete
workshops.development_lspdand restart the resource.
Captures are kept in memory per admin until the resource restarts, so you can redo either step. With np_admin running, the staff tool Workshop position here (under Resource tools) does the same.
4. Catalog and templates ​
- Onboard your models in Admin → Onboarding (Administration) or register them from another resource (Templates & catalog). Approve a template only after a test build looks right on the car. To change an approved template, use New version in the catalog, approve the new one and revoke the old one.
- Replace the fixture parts with tested props, then set
enableFixtureCatalog = false. Builds made on fixture templates can no longer be applied after that.
5. Live liveries ​
Both live modes are off by default. Turn on what you offer (allowRuntimeTexturePreview, runtimeSlots.enabled),
check the slot mapping of each per-car model first, and plan to bake designs
that stay. See Live liveries & baking.
6. Economy and notifications ​
pricing.*to your server's prices.billing.enabled = trueonly with qbx, qb or ESX, and choosebilling.payer. Test one charge and one refund.productionJobs.*, includingrequireMaterialsand the item names.organization.jobMapandorganization.labelsfor your jobs.notifications.phone/notifications.hud, and the Discord webhook as a server convar (set np_manufacturing_webhook "…"), never inshared/config.lua.
7. Persistence and limits ​
- Choose
persistenceAdapterand back upserver/data/state-a.json/state-b.jsonor thenp_manufacturing_statetable with the rest of your server data. To start clean, stop the resource and delete the state files (or the row). - Review
rateLimits.*, the size limits androllouts.maxTargets. - List only the resources that should call the privileged exports in
trustedServerResources.
8. Start ​
Restart the resource. The start-up line shows the persistence adapter, framework and inventory, and the development warning should be gone. Open the console once more with a normal player account.