Configuration Reference
Every oxide-roadsideassistancejob setting and its factory default — shifts, crews, calls and cancelling, tow yards, breakdown scenes, vehicles, flatbeds, visuals, outfits, and model replacements.
Every setting in oxide-roadsideassistancejob, explained. Start with How Settings Work — the job keeps its settings in your database, so editing the config files does not always do what you expect.
How Settings Work
Settings are edited in-game with the /roadside settings command (admins only). Changes save to your database and apply instantly — no restart needed.
The config files in the shared/ folder are factory defaults. The first time the resource starts, every value is imported from the files into the database; from then on, the database is the source of truth and editing the files has no effect on settings that are already stored. Only brand-new settings added by a future update are imported from the files.
A few settings are positions in the world rather than plain numbers:
- Tow yards, breakdown scenes, and the tow delivery point are edited in
/roadside settingsunder Locations & Events, like everything else. Their coordinate fields have a Place button that hides the menu and lets you drop a live preview (the dispatcher, the truck, or the stranded car) exactly where you want it, and a teleport button that jumps you to the stored spot. Saving applies immediately — dispatcher NPCs and blips move on the spot.
Prefer editing the files? You still can: change the value in the file, restart the server, then open /roadside settings and press the Reset to default arrow on that setting — reset restores whatever the file says.
Three settings are never copied into the database, so they are always read from the files: Config.UseHudAccent in shared/config.lua, and Config.ModelHints and Config.SettingsCommand in shared/config/models.lua, which only set the wording of missing-model warnings.
See The Settings Editor for how the menu itself works.
The tables below document every setting and its factory default.
Config File Map
| File | What's in it |
|---|---|
shared/config.lua | Main on/off switches and menu modes |
shared/config/job.lua | Pay, crew, complaints, timers, call frequency |
shared/config/levels.lua | Level titles and rewards |
shared/config/locations.lua | The tow yard and the shared tow drop-off point |
shared/config/events.lua | The list of breakdown scenes players get sent to |
shared/config/vehicles.lua | The tow truck |
shared/config/flatbed.lua | The flatbed truck, its animated bed, and the winch |
shared/config/props.lua | Tools, animations, and attachment positions |
shared/config/visuals.lua | Map blips, NPCs, cones, traffic zones, effects |
shared/config/outfits.lua | Optional work uniforms |
shared/config/models.lua | Model replacements for older game builds |
shared/config/tutorials.lua | First-time player hints |
General Settings
File: shared/config.lua
| Setting | Default | What it does |
|---|---|---|
Config.usePhone | true | Sends shift messages (welcome, destroyed truck, shift cancelled after going down) and the pay summary to the player's phone — as a text on phones that take texts, as mail on the others. Also rings the phone when a call comes in (only the crew leader's phone in a crew); the call is still accepted or declined on the on-screen call card. Texts and the ring need o-link 1.11.0 or newer — with an older o-link the messages arrive as mail and the phone doesn't ring. Turn Use phone messages off in /roadside settings under General if your server's phone isn't supported — nothing is sent to the phone, and the pay summary shows as a short net-pay notification instead |
Config.shiftSummary | 'text' | How the end-of-shift pay breakdown is shown: 'text' (Phone message: phone text or mail / notification) or 'nui' (Popup summary: on-screen pop-up at clock-out, with either menu style). With 'nui', a shift that ends any other way (going down, too many missed calls, a deleted tow yard, a restart) still sends the summary as with 'text' |
Config.menuStyle | 'nui' | The shift menu style: 'nui' (full custom menu) or 'menu' (simple text menu) |
Config.UseHudAccent | true | The tutorial pop-ups use your server's accent colour from Oxide HUD, set in Oxide HUD's Config.Theme. false keeps the job's own colours. The job timer, hint and call card keep their own colours either way. Without Oxide HUD, or with no accent set there, nothing changes. Config file only: it is not in /roadside settings, so change it in the file and restart |
Config.MaxSlotsPerLocation | 3 | How many players can be clocked in at one tow yard at the same time |
No summary is sent when a shift ends because the player disconnected or logged out. Their pay waits for their next login instead (see Payment).
See Phone Messages for which phones get texts and which get mail.
Job Settings
File: shared/config/job.lua
Crew
| Setting | Default | What it does |
|---|---|---|
Config.Crew.maxSize | 2 | 1 for solo-only shifts (crew invites are refused); 2 to allow a partner (Crew size under Crew rules) |
Config.Crew.inviteTimeout | 60 | Seconds before a crew invite expires |
Config.Crew.coopBonusPercent | 0.15 | Extra pay for crew jobs (0.15 = 15% bonus on each member's own pay for the job) |
Payment
| Setting | Default | What it does |
|---|---|---|
Config.Payment.distanceBonusPerUnit | 0.30 | Dollars earned per meter to the scene, measured in a straight line from where the call was accepted |
Config.Payment.speedBonusAmount | 25 | Bonus for finishing before the timer runs out |
Config.Payment.vehicleDestroyFine | 200 | Fine charged when the tow truck is destroyed |
Config.Payment.streakBonusPerDay | 10 | Bonus per streak day, added to every job |
Config.Payment.maxStreakDays | 7 | Daily streak cap |
Config.Payment.gasFeePercent | 0.05 | Gas fee taken out of the shift total (0.05 = 5%) |
Config.Payment.taxPercent | 0.10 | Taxes taken out of the shift total (0.10 = 10%) |
Config.Payment.payoutAccount | 'bank' | Which account shift pay goes into ('bank', 'cash', etc.) |
Config.Payment.fineAccount | 'cash' | Which account the truck-destruction fine comes out of |
Base pay per job type:
Config.Payment.basePay = {
[JobType.FUEL_HELP] = 60,
[JobType.CHANGE_WHEEL] = 80,
[JobType.TOWING] = 100,
[JobType.BATTERY_CHANGE] = 70,
}Complaints
| Setting | Default | What it does |
|---|---|---|
Config.Complaints.maxComplaints | 3 | Complaints before the player is suspended |
Config.Complaints.timeoutMinutes | 30 | How long the suspension lasts |
Config.Complaints.vehicleDestroyPenalty | 1 | Complaints added for destroying the truck |
Config.Complaints.deathPenalty | 1 | Complaints added for dying / going down on shift |
Config.Complaints.decayPerJob | 1 | Complaints removed per completed job |
Timer
| Setting | Default | What it does |
|---|---|---|
Config.Timer.baseTime | 90 | Starting time limit in seconds for every job |
Config.Timer.timePerDistanceUnit | 0.20 | Extra seconds added per meter between the player and the scene |
Config.Timer.expiredPenalty | 0.85 | Multiplier on base pay and bonuses when the job finishes late (0.85 = paid 85%). The streak bonus and tip are added after it |
So a job 1,000 meters away gets 90 + 200 = 290 seconds. Late jobs can still be finished — they just pay less and lose the speed bonus.
Calls
| Setting | Default | What it does |
|---|---|---|
Config.Calls.minIntervalSeconds | 15 | Shortest wait before the next call comes in |
Config.Calls.maxIntervalSeconds | 45 | Longest wait before the next call comes in |
Config.Calls.responseTimeSeconds | 30 | How long the player has to accept or decline |
Config.Calls.maxMissedCalls | 3 | Declined + expired calls allowed before auto clock-out |
Config.Calls.enabledJobTypes | nil | Restrict dispatch to specific job types. nil = all types. Set a list to limit it, e.g. { JobType.TOWING, JobType.FUEL_HELP } |
Config.Calls.cancelCooldownSeconds | 60 | Wait before the next call is dispatched after a worker cancels the call they were working on. 0 = no extra wait |
Config.Calls.maxTravelSpeed | 50.0 | Fastest believable trip in /roadside settings, in meters per second along a straight line. A job finished faster than the straight line from where the call was accepted to the breakdown allows at this speed (only possible by teleporting) pays no distance bonus and no speed bonus. The time runs until the job is finished, so it includes the work at the scene. Raise it if your server has very fast vehicles |
Cancel cooldown (its name in /roadside settings, under Calls & Dispatch) is a floor, not an extra delay on top: after a cancel, the next call comes once both the normal 15–45 second gap and the cooldown have passed. Raise it if you want backing out of a job to cost the worker some time; set it to 0 if you'd rather they get straight back to work. See Cancelling a Call for what cancelling does.
After a towed vehicle is dropped off, it's removed automatically. Config.Calls.deliveredVehicleDespawn controls that removal — it waits delay milliseconds, then fades the vehicle out over fadeMs milliseconds:
Config.Calls.deliveredVehicleDespawn = { delay = 2000, fadeMs = 1200 } -- wait 2s, fade over 1.2sStranded Vehicle Marker
An overhead marker floats over the stranded vehicle so players can find it, but only when they're close and holding a key.
| Setting | Default | What it does |
|---|---|---|
Config.StrandedMarker.key | 74 | Control id the player holds to show the marker (74 = H) |
Config.StrandedMarker.range | 50.0 | How close (in meters) the player must be for the marker to appear |
Levels
File: shared/config/levels.lua
Five levels by default, from Trainee to Master Technician. Each level entry defines:
title— the rank name shown to the playerrequiredJobs— total completed jobs needed to reach itpayMultiplier— multiplies each job's base pay and bonuses (1.0 up to 1.5 by default). The streak bonus and tip are added after ittipChance— how often the motorist tips (0.10= 10% of jobs)tipRange— the smallest and largest possible tip
You can add, remove, or re-tune levels freely — just keep requiredJobs increasing from one level to the next.
Locations
File: shared/config/locations.lua
Shared tow drop-off point
Config.TowingDeliveryPoint = vector3(2387.94, 3088.48, 48.19)Towed cars get delivered here unless a breakdown scene defines its own drop-off. To move it, open /roadside settings, go to Locations & Events → Tow delivery point and press Place; it applies as soon as you save. To remove it, press the Clear button (the ×) next to it and save: the fields show Not set, there is no shared drop-off, and towed cars from scenes without their own drop-off get delivered to the tow yard each worker clocked in at. A cleared point stays cleared after a restart. Reset to default on the setting brings back the point from the file.
Tow yards
Config.Locations is the list of tow yards. The resource ships with 1, but each entry is a complete, independent yard — its own dispatcher NPC, map blip, truck spawn, and worker slots.
Each entry has:
| Field | Type | Required | What it does |
|---|---|---|---|
name | text | Yes | The yard name. It shows on the map blip, in the shift menu header, and in the sender name of the job's phone texts and mail (Roadside Assistance - <yard name>). Ships as a translation key ('location.tow_yard', defined in locales/en.json) — anything that isn't in the locale file is shown exactly as typed, so plain text like Sandy Shores Towing works fine |
coords | position | Yes | Where the dispatcher NPC stands. Workers walk up to this spot to clock in and out |
heading | number | Yes | Which way the dispatcher faces, in degrees (0–360) |
vehicleSpawn | position + facing | Yes | Where the work truck appears at clock-in. Pick a clear patch of road or lot — if a car is parked on it, the clock-in fails |
menuCamera | camera | No | The cinematic camera shot behind the full shift menu: coords (where the camera sits), heading (which way it looks), rotation (pitch, roll, and a heading offset), and fov (zoom — lower is more zoomed in). It's optional; without it the menu still opens, just without the camera move |
Adding a second tow yard
Tow yards live in the database, not the file, so you add them in game — no restart, no file editing:
/roadside settings in chat (admins only).The new yard appears immediately: the dispatcher NPC spawns, the map blip is drawn, and the yard gets its own set of worker slots (Workers per yard, 3 by default — so two yards means six workers total, three at each). You don't need to restart anything.
A shift belongs to the yard the worker clocked in at: that's where their truck spawns and which yard's slot they take up.
You can edit, reorder or delete tow yards while people are on shift. A shift keeps its yard as long as the yard keeps either its name or its dispatcher spot. If you delete a yard (or change both its name and its dispatcher spot in the same save), the shifts there end straight away and are paid, and the players see "Your tow yard was removed, so your shift has ended."
Two notes:
- New yards have no menu camera. The in-game editor doesn't include the
menuCamerafield, so a yard you add in game opens the shift menu without the cinematic camera shot (existing yards keep theirs). If you want one, put both yards — with theirmenuCamerablocks — intoshared/config/locations.lua, restart the server, then open/roadside settings, find Tow yards, and press the Reset to default arrow on it. Reset restores whatever the file says. - Editing
shared/config/locations.luaon a live server does nothing on its own. The database is the source of truth once the resource has started for the first time. On a brand-new install, though, the file is what gets imported — so if you're setting up before first boot, editing the file is the right move.
Calls are shared, not per yard. Config.Events (below) is one global list of breakdown scenes, and dispatch picks from all of it no matter which yard a worker clocked in at. A second yard does not need its own scene list, and there's no way to tie a scene to a specific yard. What you may want instead is a few extra breakdown scenes near the new yard so its workers aren't always driving across the map — pay and the job timer both scale with distance, so far-away calls aren't unfair, just slow.
Drop-offs are mostly shared: a towed car goes to the scene's own delivery override if it has one, otherwise to the single shared Tow delivery point — so workers from every yard end up at the same drop-off. The one exception is a server with no shared delivery point (cleared in the menu, see Shared tow drop-off point); then each towed car is delivered back to the yard that worker clocked in at, which is the closest thing to a per-yard drop-off.
Events (Breakdown Scenes)
File: shared/config/events.lua
Each event is one possible service call. The resource ships with 40 (10 per job type). Each entry has:
| Field | What it does |
|---|---|
type | The job type: JobType.FUEL_HELP, JobType.CHANGE_WHEEL, JobType.TOWING, or JobType.BATTERY_CHANGE |
label | The job name shown to the player (a translation key from locales/en.json) |
vehicle | The model of the stranded car (e.g. 'Asea') |
coords | Where the stranded car spawns, plus its facing direction |
fuelBone | Fuel jobs only, optional — a backup bone index for the fueling target, used only when the car has none of the Fuel cap bones |
deliveryCoords | Towing jobs only, optional — a custom drop-off for this scene |
npcDriver | true to spawn a stranded driver waiting by the car |
Dispatch avoids sending a player to the same spot twice in a row, and won't repeat a scene until all of them have been used in that shift.
To add or change breakdown scenes, open /roadside settings and go to Locations & Events → Breakdown scenes — each card is one scene, with every field above. Set the vehicle model first, then Place previews that car so you can drop it where you want. New calls use the updated list as soon as you save, with no restart. Editing Config.Events in this file only changes the factory default: it takes effect after a restart and pressing Reset to default on Breakdown scenes, which replaces the whole saved list with the file's (see How Settings Work).
Vehicle
File: shared/config/vehicles.lua
| Setting | Default | What it does |
|---|---|---|
Config.Vehicle.mode | 'flatbed' | Which towing style the job uses: 'flatbed' (the streamed flatbed truck with an animated bed and scripted winch — the default) or 'towtruck' (the native tow-arm hook). See the Flatbed section for the flatbed truck's own settings |
Config.Vehicle.model | 'towtruck' | The tow truck model used when Config.Vehicle.mode is 'towtruck' |
Config.Vehicle.spawnDistance | 5.0 | How clear the spawn area must be for the truck to appear: clocking in is refused while another player or vehicle is this close to the truck spawn point (Spawn clearance under Work truck) |
Config.Vehicle.healthCheckInterval | 1000 | How often (in milliseconds) the truck's condition is checked |
Config.Vehicle.destroyedThreshold | 150 | The truck counts as destroyed when its engine health drops below this and its body health is 200 or less |
Config.Vehicle.damageChargeRate | 0.50 | Dollars charged at clock-out per point the body health is below the damage charge threshold |
Config.Vehicle.damageChargeThreshold | 950 | Body health above this is considered "undamaged" — no charge |
Config.Vehicle.livery | -1 | Paint job index for models with multiple liveries (-1 = leave default) |
Config.Vehicle.extras | nil | Tow truck mode only. Turn vehicle extras on/off, e.g. { [1] = false }. Useful for custom replacement models. Flatbed mode uses Truck extras under Flatbed |
Flatbed
File: shared/config/flatbed.lua
These settings only apply when Config.Vehicle.mode is 'flatbed' (the default). The flatbed truck uses a separate animated bed prop and a scripted winch to load the stranded car, so its models and offsets live in their own file.
| Setting | Default | What it does |
|---|---|---|
Config.Flatbed.model | 'flatbed3' | The flatbed truck model |
Config.Flatbed.bedModel | 'inm_flatbed_base' | The animated bed prop that slides and tilts |
Config.Flatbed.truckExtras | { [1] = false } | Vehicle extras forced on the truck. Extra 1 is the truck's static built-in bed, turned off so the animated bed prop can replace it |
Config.Flatbed.slideDuration | 4.0 | Seconds for the bed to slide back or forward |
Config.Flatbed.tiltDuration | 2.0 | Seconds for the bed to tilt down or up |
The bed moves through a set of positions as it lowers and raises (raised → slide back → tilt down → lowered, then reverse). Those positions are stored in Config.Flatbed.bedOffsets, and the final resting spot of the towed car on the bed is Config.Flatbed.carRest:
Config.Flatbed.bedOffsets = {
raised = { pos = vec3(0.0, -3.8, 0.45), rot = vec3(0.0, 0.0, 0.0) },
back = { pos = vec3(0.0, -4.0, 0.0), rot = vec3(0.0, 0.0, 0.0) },
lowered = { pos = vec3(0.0, -0.4, -1.0), rot = vec3(12.0, 0.0, 0.0) },
}
Config.Flatbed.carRest = { pos = vec3(0.0, 1.5, 0.3), rot = vec3(0.0, 0.0, 0.0) }Winch
Config.Flatbed.winch controls the rope-and-hook the player pulls out to load the car:
| Setting | Default | What it does |
|---|---|---|
Config.Flatbed.winch.hookProp | 'prop_rope_hook_01' | The hook prop on the end of the rope |
Config.Flatbed.winch.ropeLength | 15.0 | Maximum rope length; the hook auto-drops beyond this |
Config.Flatbed.winch.maxAttachDistance | 12.0 | Furthest the car can be from the bed to still be winched |
Config.Flatbed.winch.pullDuration | 8.0 | Seconds to pull the car up onto the bed |
Config.Flatbed.winch.grabRange | 2.0 | How close to the anchor point you must be to grab or return the hook |
Config.Flatbed.winch.attachProgressDuration | 1500 | Milliseconds for the "attach hook" progress step |
Config.Flatbed.winch.dropKey | 73 | Control id for dropping the hook (73 = X) |
The winch also stores the rope anchor point on the bed (anchorOffset), and the hand/animation settings used while carrying and hooking the rope (pickupAnimation, handAttach). Most servers never need to touch these unless they swap the flatbed for a custom model.
The tools, spare wheel, and cones ride on the animated bed in flatbed mode, so their positions are stored here too as Config.Flatbed.props and Config.Flatbed.coneAttach — the equivalents of the truck-bed positions in shared/config/props.lua.
Props (Tools)
File: shared/config/props.lua
Controls the physical tools — the jack, spare wheel, jerry can, and battery:
- which prop models are used
- where they sit on the truck bed
- how they attach to the player's hands when carried
- the animations for fueling, wheel changes, and battery swaps
- jack raise/lower steps and timing
- which bone each wheel maps to on the stranded car
Most servers never need to change these unless they swap the tow truck for a custom model and need to adjust where the tools sit. They're edited in /roadside settings under Props & Animations (on the Advanced tab).
Visuals
File: shared/config/visuals.lua
Dispatcher and map blips
Config.NpcModel/Config.NpcScenario— who the dispatcher is and what he's doingConfig.Blip— the tow yard map blip:enabled,sprite,color,scale(turn off Enabled under NPCs & Blips → Tow yard blip to hide it). The blip's name is always the tow yard'sname— there is no separate blip label settingConfig.EventBlip— the blip marking an active job sceneConfig.DeliveryBlip— the blip marking the tow drop-off
Stranded drivers
Config.DriverPeds— the pool of 16 possible stranded-driver looksConfig.StrandedNPC— where the driver stands, the animations they cycle through while waiting, how they act when the timer runs low, and from how far away they react to you
Scene dressing
Config.BreakdownVisuals— cosmetic damage, engine smoke, and hazard lights on the stranded car
Traffic safety
Config.SafetyZone — keeps ambient pedestrians away from the scene and clears parked cars from it. Each cone a worker places slows AI traffic in rings around that cone (speed 4 inside 15 m, 15 inside 30 m and 25 inside 50 m by default); with no cones out, traffic is not slowed. Turn off Enabled under Scene & Effects → Traffic safety zone to turn all of it off.
Cones
| Setting | Default | What it does |
|---|---|---|
Config.Cones.enabled | true | Master switch for the cone system |
Config.Cones.model | 'prop_roadcone01a' | The cone prop |
Config.Cones.maxCones | 3 | Cones carried on the truck |
Config.Cones.bonusPerCone | 5 | Bonus per cone placed when the job completes |
Config.Cones.placementRange | 6.0 | How far from the player a cone can be placed (meters) |
The rest of the cone settings control where cones sit on the truck bed and how they're held.
Repair effects
Config.RepairEffects.spark — the spark effect shown during wheel and battery work.
Waypoints
Config.Waypoints — size and height of the floating marker shown when holding H during a job.
Outfits
File: shared/config/outfits.lua
| Setting | Default | What it does |
|---|---|---|
Config.uniformsEnabled | false | Master switch for the uniform system |
Config.RoadsideOutfitMale | placeholder | Clothing pieces for male characters |
Config.RoadsideOutfitFemale | placeholder | Clothing pieces for female characters |
When enabled, players get a button in the shift menu to put the uniform on or take it off while clocked in. Their own clothes come back automatically on clock-out, hospitalization, logout, or disconnect.
Each outfit has:
components— clothing pieces as{ component_id, drawable, texture }props— accessories like hats as{ prop_id, drawable, texture }
The shipped values are placeholders — replace them with clothing IDs that fit your server before enabling uniforms.
Model Compatibility
File: shared/config/models.lua. In the editor: /roadside settings under Compatibility → Model replacements.
Every model the job spawns — the trucks, the dispatcher and stranded drivers, stranded vehicles, tools, cones, and the winch hook — is checked before it loads. If a model doesn't exist on your server's game build, the job skips it instead of freezing. A missing ped in the stranded-driver pool is simply left out of the pool, so a call never ends up with a driverless car by accident. Online admins get one notification that names the model:
[oxide-roadsideassistancejob] model "<name>" is not on this game build. Set a replacement in /roadside settings > Compatibility > Model replacements.The server log records it too. Each missing model is reported once, and the warnings are capped per player and in total, so one misbehaving client can't flood admins or the log.
Nothing is replaced automatically. You choose the replacement:
| Setting | Default | What it does |
|---|---|---|
Config.ModelSwaps | {} (empty) | Rows of { from = 'shipped model', to = 'your model' }. Replaces that model everywhere the job uses it, including inside breakdown scenes |
Config.ModelHints | flatbed3, inm_flatbed_base = 'bundled' | Models whose absence isn't a game-build problem. Config file only |
Config.SettingsCommand | '/roadside settings' | Where the missing-model warning tells admins to go. Config file only |
In the editor, add a row under Model replacements: Replace is the model name exactly as the warning shows it, and With is a model your game build has. Press Save Changes. In the file, the same row looks like this:
Config.ModelSwaps = {
{ from = 'towtruck', to = 'your_tow_truck' },
}The flatbed truck (flatbed3) and its bed (inm_flatbed_base) ship in this resource's stream/ folder. If one of them is reported missing, the warning says the install is incomplete instead. See Work truck does not spawn.
Tutorials
File: shared/config/tutorials.lua
Config.Tutorials holds the 14 first-time hint pop-ups. Each entry defines:
icon— a Font Awesome icon nametitleandbody— translation keys fromlocales/en.jsonposition— where on screen it appears (optional, defaults to top-right)duration— how long it stays up in seconds (optional)
To change the actual hint text, edit locales/en.json.
With Oxide HUD, every pop-up left at the default position (top right) appears where each player puts the tutorial pop-ups in the /hud editor. A pop-up you give another position keeps that position. first_incoming_call ships at bottom right, clear of the call card, so it keeps that spot.
Built-In Server Protection
File: server/main.lua (not meant to be edited)
The server automatically ignores suspiciously fast repeated requests (clocking in, accepting calls, completing jobs, crew invites, prop/cone syncing, and so on) to protect against spam and cheating. This is built in — there's nothing to configure.
Next Steps
Installation Guide
Install oxide-roadsideassistancejob, migrate older progression data, review the in-game settings, and verify the full job flow.
Feature Guide
How oxide-roadsideassistancejob plays — dispatch, cancelling a call, the four job types, flatbed towing, timers, the work truck, cones, progression, pay, crews, phone messages, and tutorials.