Admin & Developer Tools
Commands, permissions, the /roadside settings editor, and progression management for oxide-roadsideassistancejob.
Commands, permissions, the live settings editor, and progression management for oxide-roadsideassistancejob.
Commands
Everything lives under one command: /roadside. Typing /roadside in chat shows the available subcommands as suggestions; running it with no subcommand shows a usage hint.
| Command | Description | Permission |
|---|---|---|
/roadside settings | Opens the live settings editor — every job setting including tow yards and breakdown scenes, applied instantly | Admins |
/roadside tutorials | Turns the first-time hint pop-ups on or off | Anyone (affects only themselves) |
/roadside tutorialreset | Makes all hint pop-ups show again | Anyone (affects only themselves) |
Key Bindings
| Key | Action | Notes |
|---|---|---|
H (hold) | Show a floating marker over the active job location | Players can rebind the waypoint key through GTA's Settings → Key Bindings → FiveM |
The marker over the stranded car uses the fixed Hold key under Calls & Dispatch → Stranded vehicle marker.
The Settings Editor
/roadside settings opens a live editor covering every job setting — pay, timers, calls, the truck, blips, uniforms, tutorials, and more. Changes save to your database and apply instantly; nothing needs a restart. Each setting has a reset arrow that restores its factory default from the config files. See How Settings Work for why the config files stop mattering after the first start.
Settings are grouped in the sidebar:
| Category | Sections |
|---|---|
| Core | General, Crew, Complaints |
| Economy | Payment, Progression, Calls & Dispatch (call pacing, the job timer, the cancel cooldown) |
| Vehicles | Vehicle, Flatbed |
| World | Locations & Events (tow yards, breakdown scenes, the tow delivery point), NPCs & Blips, Scene & Effects |
| Presentation | Uniforms, Props & Animations, Compatibility (model replacements), Tutorials |
How it works:
- Basic and Advanced tabs keep the everyday settings upfront; a search box finds any setting by name.
- Edited fields are marked changed, and a counter shows how many unsaved changes you have. Nothing is stored until you press Save Changes.
- Values are checked before saving. A bad value is rejected with a reason, and the field is highlighted.
- If a setting can't be saved to the database, the editor says it couldn't be saved and the old value stays. A reset that fails shows a message too.
- Logging out with the editor open closes it.
- The editor's text comes from
locales/en.jsonand can be translated.
Editing tow yards and breakdown scenes
Tow yards, breakdown scenes, and the tow delivery point live in the Locations & Events group like any other setting — no separate tool:
- Tow yards is a list of cards. Each yard has a name, the dispatcher's spot, his facing, and the truck spawn. Press Place (the crosshair button) on a position to set it in the world: the menu hides, a see-through preview of the dispatcher or truck follows your aim, the scroll wheel rotates it, left-click confirms, right-click or ESC cancels — then the menu comes back with the coordinates filled in. Placing the dispatcher also sets his facing.
- Breakdown scenes works the same way. Each scene has a job type, a vehicle model, and a position — set the vehicle model first, and Place previews that exact car so you can drop it on the shoulder just right. The teleport button next to Place jumps you to an existing entry so you can check or re-place it.
- Tow delivery point is a single position with Place and teleport buttons, plus Clear (the ×). Clearing it and saving removes the shared drop-off, so towed cars from scenes without their own drop-off go back to the tow yard each worker clocked in at. The reset arrow brings back the shipped point.
- Cards can be added, removed, and reordered. Nothing changes on the server until you press Save Changes — then dispatcher NPCs and map blips move immediately and new calls draw from the updated scene list. The reset arrow restores the shipped defaults for the whole list.
Anyone working a shift keeps their current job when you save; only new calls use the new data. A shift also keeps its tow yard through renames, moves and reordering, as long as the yard keeps either its name or its dispatcher spot. Deleting a yard (or changing both its name and its dispatcher spot in one save) ends the shifts there straight away: they're paid, and the players see "Your tow yard was removed, so your shift has ended."
In-world placement needs an updated o-link. On an older version the Place button shows a notice asking you to update.
Permission
The command uses your server's standard admin permission. On QBCore, Qbox and ESX your existing admins can use it. Otherwise add these two lines to server.cfg (replace the license with the admin's own):
add_principal identifier.license:YOUR_LICENSE_HERE group.admin
add_ace group.admin admin allowThe permission is checked on the server, so players can't bypass it. Refused commands and settings attempts are written to the server log: one line per player and action per minute, so someone repeating a command can't flood the log. The log also records whether each settings change came from the menu or another resource.
Progression Management
Player progress is stored in the shared job_progression database table. Rows for this job use job = 'roadside'.
Replace PLAYER_CHAR_ID in the queries below with the character's ID from your framework's player table.
View a player's progress
SELECT *
FROM job_progression
WHERE char_id = 'PLAYER_CHAR_ID'
AND job = 'roadside';Reset a player completely
UPDATE job_progression
SET level = 1,
total_count = 0,
daily_streak = 0,
last_activity_date = NULL,
complaints = 0,
timeout_until = NULL
WHERE char_id = 'PLAYER_CHAR_ID'
AND job = 'roadside';Clear a player's complaints
UPDATE job_progression
SET complaints = 0
WHERE char_id = 'PLAYER_CHAR_ID'
AND job = 'roadside';Lift a suspension early
UPDATE job_progression
SET timeout_until = NULL
WHERE char_id = 'PLAYER_CHAR_ID'
AND job = 'roadside';Set a player's level manually
UPDATE job_progression
SET level = 3
WHERE char_id = 'PLAYER_CHAR_ID'
AND job = 'roadside';Run these while the player is offline, at least 6 minutes after they left: the server keeps a player's progress in memory for a few minutes and would overwrite your change on their next save.
Good to Know
- Shift pay is deposited when the player clocks out (bank account by default —
Config.Payment.payoutAccount). - The truck-destruction fine is taken from cash immediately, not at clock-out.
- Players who get hospitalized, die (or, on QBCore and Qbox, get downed), or are on shift during a server restart are paid automatically for the work they completed.
- Players who disconnect, log out or switch character on shift end their shift and are paid at their next login. Owed pay waits in the shared
job_pending_payoutstable until then. - Other resources can check whether a player is on shift, read the tow yards, a player's shift and their level, read or change settings, and show shift updates themselves, through the server exports — see the API Reference.
Next Steps
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.
API Reference
Server exports provided by oxide-roadsideassistancejob — IsOnShift, GetSetting, SetSetting, GetInfo, GetShift, GetProgression and SetUpdateHandler — with integration examples.