Installation Guide

Complete installation instructions for the Oxide Roadside Assistance gig job system.

Prerequisites

Required Resources

ResourcePurpose
oxmysqlAsync MySQL database driver
ox_libUtility library, callbacks, UI components, timers
community_bridgeFramework abstraction (available from the Oxide Studios Discord)

community_bridge handles all framework abstraction, including target interactions, vehicle keys, phone, and notifications. It supports QBCore, QBx (Qbox), ESX, and standalone servers.

Supported Systems

SystemSupported Via
Frameworkcommunity_bridge (ESX, QBCore, QBx, Standalone)
Targetcommunity_bridge target bridge (ox_target, qb-target, etc.)
Vehicle Keyscommunity_bridge vehicle key bridge
Phonecommunity_bridge phone bridge (optional)
Notificationscommunity_bridge notification bridge
Progress Barox_lib progress bar

Supported Frameworks

FrameworkSupport
QBCoreFull
QBx (Qbox)Full
ESXFull
StandaloneVia community_bridge
CustomVia community_bridge

Installation Steps

1. Download and Place Resource

Place the oxide-roadsideassistancejob folder in your server's resources directory:

resources/
└── [oxide]/
    └── oxide-roadsideassistancejob/

2. Add to Server Config

Add the following to your server.cfg, ensuring dependencies start first:

ensure ox_lib
ensure oxmysql
ensure community_bridge
ensure oxide-roadsideassistancejob

3. Database Setup

Execute the SQL file located at sql/install.sql against your database. This creates the progression tracking table.

Table Created:

ColumnTypeDefaultDescription
char_idVARCHAR(60)Character identifier (primary key)
levelTINYINT1Current progression level (1–5)
total_jobsINT0Lifetime completed jobs
daily_streakINT0Consecutive days with completed jobs
last_job_dateDATENULLDate of most recent job
complaintsTINYINT UNSIGNED0Current complaint count
timeout_untilDATETIMENULLSuspension expiry timestamp
CREATE TABLE IF NOT EXISTS `roadsideassistancejob_progression` (
    `char_id` VARCHAR(60) NOT NULL,
    `level` TINYINT NOT NULL DEFAULT 1,
    `total_jobs` INT NOT NULL DEFAULT 0,
    `daily_streak` INT NOT NULL DEFAULT 0,
    `last_job_date` DATE NULL,
    `complaints` TINYINT UNSIGNED NOT NULL DEFAULT 0,
    `timeout_until` DATETIME NULL,
    PRIMARY KEY (`char_id`)
);

4. Configure

Review and adjust configuration files in shared/config.lua and shared/config/*.lua to match your server's needs. See Configuration for all available settings.


Verification

After installation, verify the following:

  • Resource starts without errors in server console
  • Database table is created
  • Tow Yard blip appears on the map
  • Dispatcher NPC is present at the tow yard
  • Third-eye interaction opens the shift menu
  • Clocking in spawns a tow truck and starts the dispatch loop
  • A dispatch call arrives and can be accepted

Optional Setup

Phone Integration

If your server uses a phone resource supported by community_bridge, players automatically receive email notifications for shift events, dispatch calls, and crew invites. No additional configuration is needed beyond having community_bridge phone support enabled.

ACE Permissions

The /roadsidebuilder admin tool requires ACE permissions:

add_ace group.admin admin.roadsidejob allow

This grants access to the roadside builder menu for creating and exporting tow yard locations and job events. See Admin Tools for details.


Troubleshooting

If you encounter issues during installation, see Troubleshooting.