Configuration ​
Everything lives in shared/config/. The numbered files and shops.lua / parts.lua are the core. Each named file
belongs to one feature module and is loaded after the core files.
| File | What |
|---|---|
00_core.lua |
Locale, bridges, staff, integrations, mechanic job capabilities and transition fallback, dirty money, money, skills, vehicles (wear, mileage, VIN), fine tune ranges, maker bonus → handling, blips, opening-hours clock, rate limit, labour |
01_items.lua |
Every mech_* item (icon, weight, stack) |
shops.lua |
Tuning categories, services, the workshops, the Ghost Garage spots |
parts.lua |
The catalogue: makers, part slots and tiers, illegal extras, your overrides, cosmetic prices |
tuner.lua |
Ownership, prepay, paint studio, fine tune, test drive, reputation, prop whitelist, camera |
workshop.lua |
Order board, lifts, install timing and the torque check, XP, NPC crew, self-install, collection and storage |
repair.lua |
Thresholds, the task list, prices, supplies, insurance, quick fixes |
underground.lua |
Heat, tip-offs, going dark, payment, chop, VIN scrub, fake plates, nitrous, ECU limiter, compartment, gangs, access and knock codes, Ghost Garage rotation, Arena invitation, police inspection |
business.lua |
Owned workshops, ranks and wages, pricing caps, hours, stock, delivery jobs, commands |
roadside.lua |
Dispatch, on call, prices, NPC crew, radii, timeouts, tow trucks, roadside insurance |
phone.lua |
The app, /mechanic, units, health thresholds |
minigames.lua |
Config.Minigames: np_minigames on / off, the install game (torque), difficulty per part tier, max. movement, extra opts; the quick-fix skill ring (rounds per fix). Also in np_admin: Settings → Mechanic → Minigames. See Compatibility → Minigames |
Shop fields can also be changed at runtime: overrides are stored in the mech_shops table (the business module uses
this for markup, hours and the NPC fallback, the underground module for dark shops and the Ghost Garage spot). The
fields that can be overridden are label, coords, zones, lifts, mode, job, npcFallback, categories,
services, makers, priceMultiplier, markup, legal, access, hours, accent, payment, blip,
enabled, spot, meta and factionPlace.
Core (00_core.lua) ​
| Key | Default | Description |
|---|---|---|
Config.Locale |
'en' |
'en' or 'de', for Lua strings and the NUI |
Config.Framework |
'auto' |
'esx', 'qbx', 'qb' or 'standalone'. Auto prefers esx > qbx > qb > standalone |
Config.Inventory |
'auto' |
'np' (np_inventory), 'ox', 'qb' or 'none' |
Config.Admins |
{} |
Identifiers that are staff ('license:…', 'discord:…') |
Config.AdminGroups |
esx = { 'admin', 'superadmin' }, qb = { 'admin', 'god' } |
Framework groups / permissions that are staff |
Config.AdminDiscordRoles |
{} |
np_discord role ids or names that are staff (cached AdminDiscordCacheSeconds, 60) |
Config.Integrations.<name> |
'auto' |
false disables that integration. For np_jobs, fallback applies only when np_jobs is absent; a present but disabled/stopped host fails closed. Other names include np_faction, np_hud, np_inventory, np_menu, np_phone, np_payments, np_character, np_identification, np_discord, np_gangs, np_drugs, fuel, vehiclekeys |
Config.Jobs.features |
mechanic capability definitions | Pack feature IDs, permission nodes, duty policy and feature config schemas registered with np_jobs. See Jobs & capabilities |
Config.Jobs.fallback |
transition map | Framework job/grade grants used only while np_jobs is not installed. An installed but unavailable or disabled np_jobs host fails closed |
Config.DirtyMoney |
mode = 'auto', item = 'black_money', account = 'black_money' |
'auto': the inventory item when the inventory knows it, else the framework account (ESX), else cash. Or force 'item', 'account', 'cash' |
Config.Money.checkout |
true |
np_payments: show its checkout sheet. false = a silent charge |
Config.Money.method |
'bank' |
np_payments method for silent charges |
Config.Money.fallbackAccounts |
{ 'cash', 'bank' } |
Framework accounts tried in order without np_payments |
Config.Money.category |
'repair' |
np_payments category of every payment |
Config.Skills |
names = { 'engine', 'body', 'paint', 'electronics', 'tyres' }, levels = { 0, 150, 450, 1000, 2000 }, maxLevel = 5 |
Mechanic skills and the XP needed per level |
Config.Vehicles.vinPrefix |
'1NP' |
First characters of the 17-character VIN, generated once per plate |
Config.Vehicles.mileage |
sampleSeconds = 60, maxKmh = 400 |
How often the client reports driven km; faster averages are clamped |
Config.Vehicles.wear |
perKm = 0.02, oilPerKm = 0.05 |
Part condition and oil level lost per km |
Config.Vehicles.handlingLimit |
0.25 |
The maker and tune layer never changes a handling value by more than ±25 % |
Config.Vehicles.statebag |
'npmVeh' |
Entity state bag the client reads for maker bonuses and fine tune |
Config.Tune |
see file | Fine tune ranges (-1..1) and the handling field each one changes (boost → fInitialDriveForce, finalDrive, camber, rideHeight, antiRoll, tyrePressure) |
Config.Handling |
see file | Which handling field a maker's stat bonus multiplies (power, top, accel, brake, handling) |
Config.Blips |
enabled = true, sprite = 446, scale = 0.7, colour = 0, illegal = false |
Workshop blips. Per shop blip = false hides one |
Config.Hours.utcOffset |
nil |
Opening hours use the server clock (real time), shifted by this many hours. nil = local time |
Config.Rpc |
perSecond = 8, burst = 16 |
Token bucket per player for every NUI call |
Config.Ledger.keepDays |
90 |
Ledger retention |
Config.Labour |
perMinute = 60, minimum = 150 |
What a minute of install time costs (times the shop multiplier; NPC fallback adds its markup) |
Workshops (shops.lua) ​
One entry per shop in Config.Shops. The identity (logo plate, label, role, legal) comes from the brand registry
(brand). The coordinates are real GTA V places. Adjust zones and lifts to your MLOs: the menu point and every lift
must lie inside a zone, lifts at least 3 m from its edge (the tests check this).
Config.Shops.hayes = {
brand = 'hayes', coords = v4(484.90, -1316.40, 29.20, 300.0),
zones = { zone(484.90, -1316.40, 29.2, 16.0) }, lifts = { v4(479.2, -1317.8, 29.2, 300.0) },
mode = 'job', job = 'mechanic', npcFallback = { enabled = true, markup = 0.25, slower = 1.5 },
categories = { 'respray', 'body', 'wheels', 'tyres', 'lights', 'window_tint', 'plate' },
services = { 'repair', 'tow', 'inspection' },
makers = { 'albany-parts', 'fixup', 'coverup', 'oilio', 'coolhand-lube', 'globe-oil', 'power-metal', 'grease-nation' },
priceMultiplier = 0.95, legal = true, hours = { 7, 23 },
}
| Field | Description |
|---|---|
brand |
Brand id from the registry (lscustoms, bennys, hayes, salvage-yard …) |
label |
Overrides the brand label (the four LSC locations use it) |
coords |
vec4 entrance / menu point |
zones |
{ { coords, radius } }: tuning, duty and payments work inside |
lifts |
{ vec4 } where a car is worked on. A shop without lifts (Ghost Garage) works anywhere in its zone |
mode |
Who serves the shop, see Modes |
job |
Framework job of the mechanics (job and owned shops) |
npcFallback |
{ enabled, markup, slower }: the NPC crew, its surcharge (0.25 = +25 %) and install time factor |
categories |
Tuning categories offered (Config.Categories ids) |
services |
Extra services (Config.Services ids): repair, tow, inspection, dyno, finetune, paint_studio, testdrive, bespoke, and the illegal chop, vin_scrub, fake_plates |
makers |
Part makers stocked (brand ids). nil = every maker |
priceMultiplier |
1.0 = catalogue price |
legal |
false = underground (heat, dirty money, no blip by default) |
access |
Invite shops: { item, identifiers, rep }. Gang shops: { gangOnly = true } |
hours |
{ open, close } in 24 h, wraps midnight. nil = always open |
accent |
false (default, plain Nimbus) or true: the brand colour on this shop's screens |
payment |
Illegal shops: { dirty = true, cleanSurcharge = 0.30 } |
locations |
'ghost': the shop rotates over Config.GhostSpots |
repairSupplies |
Optional: overrides the supply mode of repairs for this shop |
blip |
true, false or { sprite, colour, scale } |
Modes ​
| Mode | Who serves | Default shops |
|---|---|---|
npc |
Always the NPC crew. Cosmetic changes are applied right away | LS Car Meet, Classique |
job |
Player mechanics with the framework job, on duty. The NPC crew takes over when nobody is on duty or nobody claims an order in time |
Los Santos Customs, Hayes, Beeker's |
owned |
A player business with an owner, a roster and the boss tablet. Without an owner it behaves like an NPC shop | Benny's, Albany |
gang |
The NPC crew. The np_gangs turf the shop stands in earns: jobs there add attention and grip for the holding gang. access = { gangOnly = true } admits only the holding gang |
Salvage Yard |
invite |
Access by item, reputation or listed identifier | Hao's, Ghost Garage, Arena Workshop |
Duty ​
A player is on duty for a workshop when they hold its framework job and the framework says on duty (ESX: always,
unless your ESX uses onDuty; qb / qbx: the duty toggle), or when they are on the roster of an owned workshop and
clocked in there (/mechduty). Roadside "on call" is an extra switch on top, only possible while on duty at a legal
workshop.
Categories and the Ghost Garage ​
Config.Categories defines the tuning categories (respray, body, exhaust, wheels, tyres, lights,
interior, engine_bay, livery, window_tint, plate, horn, lowrider, engine, ecu, transmission,
turbo, brakes, suspension, armour, hsw, and the illegal nitrous, ecu_unlock, compartment, plating,
jammer). Each has an icon, the skill that installs it and either the native mod types (mods) or the part slots
(slots) it contains.
Config.GhostSpots lists where the Ghost Garage can be (Strawberry, La Mesa rail yard, Elysian Island docks,
Murrieta Heights storm drain). Config.GhostRotation.days (7) is used when the underground rotation is 'off'.
Parts catalogue (parts.lua) ​
Performance parts come in tiers × makers. The slot defines what a tier does to the car (native mod index, base
price, install time, stats). The maker defines how well it does it (price class, wear, warranty, and a small handling
bonus on top of the native mod). Config.Parts is built from these tables at load. Part ids are
<slot>_<maker>_s<tier>, with - in maker ids turned into _ (turbo_vortex_s2).
Makers ​
Config.Makers = {
['jackal-racing'] = { tier = 3, reliability = 3, slots = { 'engine', 'ecu' }, tiers = { 1, 2, 3 } },
['halt'] = { tier = 3, reliability = 5, slots = { 'brakes' }, tiers = { 1, 2, 3 } },
['albany-parts'] = { tier = 1, reliability = 5, slots = { 'engine', 'turbo', 'transmission', 'brakes', 'suspension', 'tyres', 'armour' }, tiers = { 1, 2 } },
-- …
}
| Field | Description |
|---|---|
tier |
Price class 1 (cheap) to 4 (premium) |
reliability |
1 to 5 |
slots |
Part slots the maker builds. Makers without slots (Fukaru, Coverup, Pixtro …) supply cosmetics or consumables |
tiers |
Which tiers of those slots they sell |
class |
'bike' for bike-only makers (Nagasaki Racing, Shitzu Racing) |
Config.MakerScale turns these into numbers:
| Key | By | Default |
|---|---|---|
price |
price class | { 0.75, 1.0, 1.25, 1.6 } × the slot's base price |
bonus |
price class | { 0.005, 0.01, 0.02, 0.03 } handling multiplier per tier step |
wear |
reliability | { 1.45, 1.2, 1.0, 0.85, 0.7 } wear rate factor |
warranty |
reliability | { 90, 120, 180, 270, 365 } days |
reliability |
reliability | { -9, -5, -2, 0, 3 } reliability stat on the build sheet |
Slots ​
Config.PartSlots has one entry per slot: engine, turbo, transmission, brakes, suspension, tyres,
armour, ecu, intake, and the illegal nitrous, compartment, jammer. Each slot has its native mod (mod,
toggle for the turbo), the skill that installs it, its category and item (mech_part_<slot>), the stats the maker
bonus applies to, and per tier { level, price, install, stats }. The installer needs a skill level equal to the tier.
Illegal extras and your own changes ​
Config.ExtraParts holds the hand-written illegal parts: nitrous_demonoil (3 shots), ecu_unlock_tenshun (voids the
warranty), compartment_power_metal (a 10-slot stash), armour_power_metal_s5 (plating, bulletproof tyres) and
jammer_device.
Change single parts in Config.PartOverrides, merged last:
Config.PartOverrides = {
turbo_vortex_s2 = { price = 9999 }, -- patch a part
ecu_tenshun_s3 = false, -- remove a part
engine_mybrand_s1 = { slot = 'engine', maker = 'mybrand', tier = 1, price = 7000, … }, -- add one
}
Config.CosmeticPrices prices the cosmetic categories: base + perLevel × native index, times the shop multiplier
(for example wheels = { base = 1200, perLevel = 60 }, lowrider = { base = 4500, perLevel = 900 }).
Tuner (tuner.lua) ​
| Key | Default | Description |
|---|---|---|
prompt |
key = 'E' |
Opens the tuner in a vehicle inside a workshop zone |
requireOwner |
true |
Customers can only order for their own car. Staff of the shop on duty may order for any car |
prepay |
true |
The customer pays at checkout; collection only charges what is left |
instantCosmetics |
true |
npc shops apply paid cosmetic changes right away |
maxParts / maxCosmetics |
12 / 40 |
Per checkout |
cosmeticLabour |
60 |
Labour per cosmetic change (× shop multiplier, × NPC markup) |
lockedPerCategory |
3 |
Locked tiles shown per category ("where to get this part") |
closeOnLeave |
true |
Leaving the zone or the vehicle closes the tuner and reverts the preview |
paint.slots |
primary, secondary, pearl, rims, interior, dash, smoke, neon, xenon | Each with a price factor and the prop keys it may change |
paint.finishes |
metallic $0, pearl $650, matte $800, chrome $6,500, chameleon $9,000, satin $400 | Paint finishes (chameleon is a pearlescent combo) |
paint.maxSwatches / paint.recent |
12 / 7 |
Saved and recent colours per player |
tune.price |
250 |
Charged when a fine tune is saved (× shop multiplier, 0 = free) |
tune.presets |
grip, drift, drag |
Fine tune presets |
testDrive |
enabled = true, seconds = 90, cooldown = 120, radius = 900.0 |
Timed drive with the previewed parts |
reputation |
lscarmeet only |
See below |
props |
per category | Prop keys a cosmetic category may change. The server drops everything else |
focus |
per category | Camera focus (bone or offset, doors to open) |
Reputation is configured per shop:
reputation = {
lscarmeet = {
max = 20,
discount = { from = 10, percent = 0.10 }, -- 10 % off from level 10
gates = { { tier = 3, rep = 6 }, { maker = 'tenshun', rep = 4 } }, -- stage 3 from level 6, Tenshun from 4
awards = {
order = { amount = 1, minTotal = 2000 }, -- a collected order of at least $2,000
testDrive = { amount = 1, hours = 12 }, -- a finished test drive, once per 12 h
meet = { amount = 1, minutes = 20, hours = 20 }, -- 20 min at the meet while open, once per 20 h
},
},
},
Fine tune is offered where the shop's services (or categories) contain finetune, test drives where they contain
testdrive, the dyno where they contain dyno.
Workshop (workshop.lua) ​
| Key | Default | Description |
|---|---|---|
board |
command = 'workorders', radial = true, maxOrders = 60 |
The order board |
lifts |
radius = 3.5, vehicleRadius = 3.0, height = 1.6, seconds = 4, customers = true |
Lift prompt distance, how close the car must be, height, animation, owners may raise their own car |
install.timeScale |
0.15 |
Real seconds = the part's install time × this (labour is still billed on the full time) |
install.minSeconds / maxSeconds / cosmeticSeconds |
15 / 120 / 20 |
Bounds of an install step |
install.skillSpeedup |
0.08 |
Each skill level above the requirement saves 8 % (max 3 levels) |
install.checks |
3 |
Torque checks per part |
install.periodMs, zoneDegrees, perfectDegrees, tierNarrowing |
1800, { 48, 64 }, 12, 6 |
Needle speed and zone sizes |
install.perfectSaves |
0.10 |
Each perfect hit takes 10 % off the duration |
install.missCondition |
8 |
Condition points a missed check costs the part |
install.minRatio |
0.8 |
The server refuses a finish before 80 % of the duration |
install.latencyMs |
450 |
How far a check's timing may differ from the server's clock |
cosmeticSkill |
per category | The skill used for cosmetic items |
xp |
base = 20, perTier = 15, perfect = 5, cosmetic = 15, service = 10, selfInstall = 0.5 |
Skill XP per installed item |
npc |
claimMinutes = 10, noStaffNow = true, timeScale = 0.5, minSeconds = 60, retryMinutes = 10 |
NPC crew takeover and timing |
returnOldParts |
true |
Old parts go back to the customer as items |
selfInstall |
enabled = true, warranty = false |
Using a mech_part_* item at a raised lift |
collection |
radius = 12.0, storageAfterHours = 24, storageFeePerDay = 250, storageMaxDays = 14 |
Pickup and storage fees |
notify |
ready, claimed, npc, storage |
Texts and toasts to the customer |
Repair and insurance (repair.lua) ​
| Key | Default | Description |
|---|---|---|
service |
'repair' |
A workshop needs this service for the diagnosis screen |
distance / customerDistance |
6.0 / 15.0 |
Mechanic to vehicle; a customer this close pays at the checkout, others get an invoice |
scanner / device |
'mech_scanner' / 'Device DX-9' |
OBD item and its on-screen name |
jobTtl |
4 × 3600 |
An untouched repair job (and a settled bill) is forgotten after this |
billSeconds / invoiceDays |
300 / 7 |
A bill without an answer counts as declined; an invoice is due after |
labourRate / shopSupplies |
180 / 45 |
$ per labour hour; flat line on every bill |
prices |
mech_repairkit = 350, mech_tyre = 220, mech_oil = 90, mech_brakepads = 260, mech_paint = 180 |
What a consumable costs the customer |
secondsPerHour, minSeconds, maxSeconds, speedPerLevel, xpPerHour |
12, 6, 45, 0.06, 20 |
Timing and XP of a task |
supplies.modes |
npc = 'unlimited', job = 'stash', owned = 'stash', gang = 'stash', invite = 'unlimited' |
Where consumables come from, per shop mode |
supplies.stash |
slots = 40, maxWeight = 250000 |
The supply stash per workshop |
supplies.order |
enabled = true, deliverySeconds = 180, costFactor = 0.6 |
"Order missing", paid from the shop account |
thresholds |
engine = 900, engineHeavy = 400, body = 960, bodyPaint = 700, tank = 950, oil = 40, brakepads = 40, battery = 45, tread = 25 … |
When a part counts as damaged |
order / tasks |
scan, engine, body, tank, tyres, brakes, oil, battery |
The checklist: consumables, labour hours, covered by insurance, skill |
quick |
repairkit (engine to 65 %, 12 s), tyre (one burst tyre, 10 s), jumpstart (battery to 70 %, 8 s, toolbox not used up), cooldown = 3 |
Quick fixes anywhere |
Insurance ​
Mors Mutual pays collision damage (covered tasks) minus the deductible. Wear stays with the customer.
| Key | Default | Description |
|---|---|---|
insurance.enabled |
true |
false turns insurance off entirely |
insurance.policies |
basic = { coverage = 0.7, deductible = 1000 }, gold = { coverage = 1.0, deductible = 500 } |
Policies |
insurance.default |
'basic' |
The policy of every owned vehicle without one. false = owned vehicles are not insured |
insurance.vehicles |
{} |
Per plate: ['82LUX051'] = 'gold' |
insurance.autoApprove |
5000 |
Claims above this are flagged for review on the screen |
insurance.maxClaim |
15000 |
The insurer never pays more on one bill |
insurance.insurerPaysShop |
true |
The insurer's share is credited to the workshop's account |
A vehicle's policy is, in this order: one set with SetInsurancePolicy, insurance.vehicles,
then insurance.default for vehicles that have an owner.
Underground and heat (underground.lua) ​
| Key | Default | Description |
|---|---|---|
heat |
max = 100, decayPerHour = 6, shopShare = 1.0, legalShare = 0.3 |
Heat per player and per shop |
heat.jobs |
install = 8, chop = 12, chopHot = 6, vin_scrub = 10, fake_plate = 4, plate_restore = 1, refill = 1, knock_fail = 2 |
Heat a job adds |
tipoff |
threshold = 50, perPoint = 1.5, max = 60, blur = 140.0, shopCooldown = 300, code = '10-66' |
Tip-off chance and the vague position the police get |
dark |
threshold = 90, minutes = 120, resetTo = 40, moveGhost = true |
A shop that runs too hot closes |
payment.cleanSurcharge |
0.30 |
Fallback surcharge for clean money |
fit |
ownerOnly = true, timeScale = 0.25, minSeconds = 20 |
"Have the crew fit it" while you wait |
chop |
allowOwned = false, allowSpawned = false, seconds = 180, fence = 0.20, value = 12000, variance = 0.12, quoteSeconds = 180, cooldown = 600, partResale = 0.3, models, rows |
The chop shop |
vinScrub |
item = 'mech_vinkit', price = 2500, seconds = 60 |
VIN scrub |
fakePlate |
item = 'mech_fakeplate', seconds = 15, restoreSeconds = 10, returnItem = true, format = 'LLL DDDD' |
Fake plates |
nitrous |
key = 'LSHIFT', seconds = 6, power = 1.8, refillItem = 'mech_nitrous_bottle', refillSeconds = 12 |
Nitrous shots |
limiter |
enabled = true, kmh = 250 |
Factory limiter, lifted by an ECU unlock. enabled = false = no limiter at all |
compartment |
prefix = 'mech_cmp_', ownerOnly = true |
Hidden compartment stash per plate |
plating.bulletproofTyres |
true |
Illegal plating makes the tyres bulletproof |
gangs |
enabled = true, attention, grip |
np_gangs turf attention and grip per job |
access |
salvage_yard open, ghost_garage knock + mech_invite_ghost / trust 2, arena_workshop mech_invite_arena / trust 5 |
Who gets in and who learns the knock code |
knock |
length = 4, digits = 5, minutes = 30, rotateHours = 24, failCooldown = 20, maxFails = 5 |
Knock codes |
trust |
jobsPerLevel = 3, max = 5, itemBonus = 1 |
Trust with a shop's contact |
ghost |
rotation = 'weekly', hour = 18, weekday = 2, text = true |
Ghost Garage rotation ('weekly', 'nightly', 'off') and the burner text |
arena |
trust = 4, price = 25000 |
Buying the Arena invitation at the Ghost Garage (dirty money) |
police |
item = 'mech_scanner', range = 6.0, removeSeconds = 45, evidence = true, document = 'driver_license', recordMinutes = 10 |
Police inspection |
Business (business.lua) ​
| Key | Default | Description |
|---|---|---|
shops.<id> |
bennys $850,000, albany_service $420,000 |
Purchase price (nil = staff only), office (boss tablet point), dropoff (deliveries) |
ranks |
apprentice $60, mechanic $90, head $130, manager $150 (manage = true) |
Ranks below the owner and their default wage per hour |
maxStaff / hireRadius / offerSeconds |
12 / 8.0 / 120 |
Roster size, hiring distance, how long an offer waits |
wages |
min = 0, max = 400, payEvery = 900, tickSeconds = 60, margin = 25.0, autoOffMinutes = 10 |
Wages only accrue at the workshop |
pricing.markup |
min = 0.0, cap = 0.30, range = 0.40, default = 0.0 |
Markup on parts, within the server cap |
pricing.labour |
min = 60, max = 330, default = 180 |
$ per hour of install time |
pricing.compareShop |
'lsc_burton' |
Shown as a comparison on the pricing card |
hours.minOpen |
6 |
Minimum opening hours an owner may set |
stock |
target = { 8, 6, 4, 3, 2 }, lowShare = 0.34, wholesale = 0.60, starter = true, soldDays = 7 |
Shelves per tier, low-stock share, supplier price |
delivery |
maxQty = 20, payout = { base = 180, share = 0.04, min = 180, max = 1500 }, postedSeconds = 6 h, takenSeconds = 45 min, maxSpeed = 40.0, minPickupSeconds = 30, radius = 6.0, maxPerShop = 8, maxPerDriver = 1 |
Delivery jobs |
depots |
Port of Los Santos (default), Power Metal yard, Elysian Island docks | Supplier depots per maker |
rating |
min = 1, max = 5, windowDays = 3 |
Customer ratings |
| Commands | command = 'mechboss', dutyCommand = 'mechduty', acceptCommand = 'mechaccept', jobsCommand = 'mechdeliveries', ownerCommand = 'mechowner' |
Roadside (roadside.lua) ​
| Key | Default | Description |
|---|---|---|
enabled |
true |
|
dispatch |
'shop' |
'shop': the staff on duty of the picked workshop get the call. 'all': every mechanic on duty at a legal workshop (the picked workshop still gets the money) |
requireOnCall |
true |
Mechanics switch "on call" on. false = everyone on duty gets calls |
acceptSeconds |
90 |
An unanswered call expires, then the NPC crew takes it |
maxShops / shops |
4 / nil |
Workshops offered; nil = every legal workshop with tow (tows) or repair / tow (the rest) |
speedKmh, minEta |
70, 2 |
ETA from the distance |
perKm |
12 |
Distance fee per km |
payout |
0.6 |
The mechanic's share of the price |
npc |
enabled = true, delay = 180, markup = 0.25 |
NPC crew for unanswered calls |
| Radii | nearVehicle = 25, arriveRadius = 35, workRadius = 5, truckRadius = 8, winchRadius = 14, customerRadius = 30, deliverRadius = 15 |
|
timeouts |
accepted = 900, onScene = 1200, towing = 1800, npcOccupied = 120 |
Stalled jobs |
customerCancelAfter |
600 |
A paid customer may cancel (refunded) after this long on scene |
towModels / towOffsets |
flatbed, towtruck, towtruck2 / flatbed and default |
Tow trucks and where the car sits on them |
insurance |
enabled = true, freeTows = 1, periodDays = 7 |
Free tows (Mors Mutual) |
rating, xp, tipMax |
default = 4.5, 20, 500 |
|
services |
tow $350, jump $160, tyre $220, fuel $140 |
Price, duration and skill per service |
Phone (phone.lua) ​
| Key | Default | Description |
|---|---|---|
app.id / icon / tint |
'mechanic' / 'fa-solid fa-screwdriver-wrench' / 'gray' |
The np_phone app |
app.default |
true |
Installed on every phone. false = players get it from the App Store |
command |
'mechanic' |
Opens the NUI version |
nuiWithPhone |
false |
true: /mechanic opens the NUI version even while np_phone runs |
radial |
true |
np_menu radial entry (only without np_phone) |
units |
'mi' |
'mi' or 'km' in the app (stored in km) |
maxVehicles, homeCacheMs |
12, 3000 |
|
serviceDue / brokenEngine |
20 / 30 |
Oil level (%) for "Service due"; engine health (%) for "broken down" |