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 settings under 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

FileWhat's in it
shared/config.luaMain on/off switches and menu modes
shared/config/job.luaPay, crew, complaints, timers, call frequency
shared/config/levels.luaLevel titles and rewards
shared/config/locations.luaThe tow yard and the shared tow drop-off point
shared/config/events.luaThe list of breakdown scenes players get sent to
shared/config/vehicles.luaThe tow truck
shared/config/flatbed.luaThe flatbed truck, its animated bed, and the winch
shared/config/props.luaTools, animations, and attachment positions
shared/config/visuals.luaMap blips, NPCs, cones, traffic zones, effects
shared/config/outfits.luaOptional work uniforms
shared/config/models.luaModel replacements for older game builds
shared/config/tutorials.luaFirst-time player hints

General Settings

File: shared/config.lua

SettingDefaultWhat it does
Config.usePhonetrueSends 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.UseHudAccenttrueThe 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.MaxSlotsPerLocation3How 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

SettingDefaultWhat it does
Config.Crew.maxSize21 for solo-only shifts (crew invites are refused); 2 to allow a partner (Crew size under Crew rules)
Config.Crew.inviteTimeout60Seconds before a crew invite expires
Config.Crew.coopBonusPercent0.15Extra pay for crew jobs (0.15 = 15% bonus on each member's own pay for the job)

Payment

SettingDefaultWhat it does
Config.Payment.distanceBonusPerUnit0.30Dollars earned per meter to the scene, measured in a straight line from where the call was accepted
Config.Payment.speedBonusAmount25Bonus for finishing before the timer runs out
Config.Payment.vehicleDestroyFine200Fine charged when the tow truck is destroyed
Config.Payment.streakBonusPerDay10Bonus per streak day, added to every job
Config.Payment.maxStreakDays7Daily streak cap
Config.Payment.gasFeePercent0.05Gas fee taken out of the shift total (0.05 = 5%)
Config.Payment.taxPercent0.10Taxes 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

SettingDefaultWhat it does
Config.Complaints.maxComplaints3Complaints before the player is suspended
Config.Complaints.timeoutMinutes30How long the suspension lasts
Config.Complaints.vehicleDestroyPenalty1Complaints added for destroying the truck
Config.Complaints.deathPenalty1Complaints added for dying / going down on shift
Config.Complaints.decayPerJob1Complaints removed per completed job

Timer

SettingDefaultWhat it does
Config.Timer.baseTime90Starting time limit in seconds for every job
Config.Timer.timePerDistanceUnit0.20Extra seconds added per meter between the player and the scene
Config.Timer.expiredPenalty0.85Multiplier 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

SettingDefaultWhat it does
Config.Calls.minIntervalSeconds15Shortest wait before the next call comes in
Config.Calls.maxIntervalSeconds45Longest wait before the next call comes in
Config.Calls.responseTimeSeconds30How long the player has to accept or decline
Config.Calls.maxMissedCalls3Declined + expired calls allowed before auto clock-out
Config.Calls.enabledJobTypesnilRestrict dispatch to specific job types. nil = all types. Set a list to limit it, e.g. { JobType.TOWING, JobType.FUEL_HELP }
Config.Calls.cancelCooldownSeconds60Wait before the next call is dispatched after a worker cancels the call they were working on. 0 = no extra wait
Config.Calls.maxTravelSpeed50.0Fastest 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.2s

Stranded 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.

SettingDefaultWhat it does
Config.StrandedMarker.key74Control id the player holds to show the marker (74 = H)
Config.StrandedMarker.range50.0How 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 player
  • requiredJobs — total completed jobs needed to reach it
  • payMultiplier — multiplies each job's base pay and bonuses (1.0 up to 1.5 by default). The streak bonus and tip are added after it
  • tipChance — 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:

FieldTypeRequiredWhat it does
nametextYesThe 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
coordspositionYesWhere the dispatcher NPC stands. Workers walk up to this spot to clock in and out
headingnumberYesWhich way the dispatcher faces, in degrees (0–360)
vehicleSpawnposition + facingYesWhere 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
menuCameracameraNoThe 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:

Type /roadside settings in chat (admins only).
In the sidebar, open World → Locations & Events, then Tow yards.
Click Add at the bottom of the yard list. A new, empty yard row opens.
Fill in the Name.
For Dispatcher spot, press Place. The menu hides and a preview of the dispatcher NPC follows your aim — put him where you want him, facing the way you want, and confirm. This fills in both the position and the Facing value.
For Truck spawn, press Place the same way. A preview of the work truck appears so you can see exactly how it will sit; drop it on a clear spot with room to drive away.
Press Save Changes.

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 menuCamera field, 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 their menuCamera blocks — into shared/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.lua on 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:

FieldWhat it does
typeThe job type: JobType.FUEL_HELP, JobType.CHANGE_WHEEL, JobType.TOWING, or JobType.BATTERY_CHANGE
labelThe job name shown to the player (a translation key from locales/en.json)
vehicleThe model of the stranded car (e.g. 'Asea')
coordsWhere the stranded car spawns, plus its facing direction
fuelBoneFuel jobs only, optional — a backup bone index for the fueling target, used only when the car has none of the Fuel cap bones
deliveryCoordsTowing jobs only, optional — a custom drop-off for this scene
npcDrivertrue 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

SettingDefaultWhat 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.spawnDistance5.0How 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.healthCheckInterval1000How often (in milliseconds) the truck's condition is checked
Config.Vehicle.destroyedThreshold150The truck counts as destroyed when its engine health drops below this and its body health is 200 or less
Config.Vehicle.damageChargeRate0.50Dollars charged at clock-out per point the body health is below the damage charge threshold
Config.Vehicle.damageChargeThreshold950Body health above this is considered "undamaged" — no charge
Config.Vehicle.livery-1Paint job index for models with multiple liveries (-1 = leave default)
Config.Vehicle.extrasnilTow 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.

SettingDefaultWhat 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.slideDuration4.0Seconds for the bed to slide back or forward
Config.Flatbed.tiltDuration2.0Seconds 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:

SettingDefaultWhat it does
Config.Flatbed.winch.hookProp'prop_rope_hook_01'The hook prop on the end of the rope
Config.Flatbed.winch.ropeLength15.0Maximum rope length; the hook auto-drops beyond this
Config.Flatbed.winch.maxAttachDistance12.0Furthest the car can be from the bed to still be winched
Config.Flatbed.winch.pullDuration8.0Seconds to pull the car up onto the bed
Config.Flatbed.winch.grabRange2.0How close to the anchor point you must be to grab or return the hook
Config.Flatbed.winch.attachProgressDuration1500Milliseconds for the "attach hook" progress step
Config.Flatbed.winch.dropKey73Control 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 doing
  • Config.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's name — there is no separate blip label setting
  • Config.EventBlip — the blip marking an active job scene
  • Config.DeliveryBlip — the blip marking the tow drop-off

Stranded drivers

  • Config.DriverPeds — the pool of 16 possible stranded-driver looks
  • Config.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

SettingDefaultWhat it does
Config.Cones.enabledtrueMaster switch for the cone system
Config.Cones.model'prop_roadcone01a'The cone prop
Config.Cones.maxCones3Cones carried on the truck
Config.Cones.bonusPerCone5Bonus per cone placed when the job completes
Config.Cones.placementRange6.0How 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

SettingDefaultWhat it does
Config.uniformsEnabledfalseMaster switch for the uniform system
Config.RoadsideOutfitMaleplaceholderClothing pieces for male characters
Config.RoadsideOutfitFemaleplaceholderClothing 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:

SettingDefaultWhat 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.ModelHintsflatbed3, 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 name
  • title and body — translation keys from locales/en.json
  • position — 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