Configuration ​
| File | Purpose |
|---|---|
shared/config.lua |
Framework, locale, prices, test drives, delivery and finance |
shared/config/dealers.lua |
Locations, operators, showroom spots, catalogs and payment methods |
shared/config/catalog.lua |
Models, labels, prices, rarity, colors, packages and statistics |
shared/config/importers.lua |
Wholesale costs, freight, lead times and importer access |
shared/config/supply.lua |
Per-model weekly/monthly global supply limits |
shared/locales/en/, shared/locales/de/ |
Translations |
Global defaults ​
Config.Framework = 'auto' selects ESX first when available. Config.Locale is en or de; Currency defaults to $. Quotes expire after QuoteSeconds = 300. Tax is 0.08, registration costs 250 and vanity plates cost 1500.
Global Markup uses multipliers, currently 0.85–1.65. The tablet RPC uses percentage markup and converts it internally. Dealer presets may override pricing bounds; use the existing presets as the schema reference.
Test drives default to 180 seconds, a 1000 deposit and a 15-second warning. Review radius and spawn positions for boats and aircraft independently from road dealers.
Finance terms default to 8, 12 or 24 weeks, with annual rate 0.12. Review late fees, default timing, lease residual and repossession grace in Config.Finance and Config.Repo before enabling lending.
Dealer definitions ​
Kinds are npc, player and npc_until_bought. Player businesses link to an np_faction node through the dealer's faction. Configure coords, radius, polygon zone, spots, spawns, npc, testdrive, catalog, importers and payments. Stock may be limited or unlimited. Admin-created definitions persist in np_dealerships and override matching presets.
Supply and deliveries ​
Importer orders carry real units and estimated arrival times. Config.Delivery configures dock pickup, carrier models and attachment offsets, staff-first visibility delay, NPC courier delay and base payout. Carrier offsets must fit your trailer. Carrier and container orders cannot exceed the configured trailer slot count; use courier delivery for larger orders. Payment is calculated server-side and adjusted for observed cargo damage.
Reservations, staff and settlement ​
Config.Reservation defaults to 24 hours, one active hold per player, a 10% deposit and a minimum deposit of 1000. Config.StaffDiscount.maxPercent defaults to 10; a dealer can override its cap, and stock margin still constrains the granted amount.
Config.Showroom sets rotation timing and turntable speed; dealer/spot presentation settings can override it. Config.Lease sets mileage and condition penalties and return fees. Config.Auction.collectionSeconds defaults to 900. The dealer’s positive acquisitionPrice enables purchase of an npc_until_bought business.
For screen boards, enable Config.Integrations.screens.enabled and map dealer ids to compatible np_screens content ids in boards. Audit records use np_admin when Config.Integrations.audit is enabled. Dispatch configuration does not imply a complete external alert integration.
The np_admin settings schema exposes supported runtime settings. Theme updates come from npAdmin.onTheme; the frontend uses Nimbus materials and accents.