For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Dependencies, database, server.cfg order, and a quick test.

1

Check dependencies

Make sure these are installed and starting before 0r-electricianjob:

  • ox_lib

  • oxmysql

  • electricianjob-assets — props, custom markers, fusebox models, and animations

  • A framework: es_extended, qb-core, or qbx_core (auto-detected by LTBridge)

2

Add the resource

Drop the folder into your server as 0r-electricianjob.

3

Database

By default, setup.autoSQL = true in config/main.lua creates the 0r_electrician_players table on startup.

To import manually instead, run sql/electricianjob.sql in your database and set autoSQL = false if you prefer full control.

4

Update server.cfg

ensure ox_lib
ensure oxmysql

# your framework
ensure es_extended      # or qb-core / qbx_core

# other resources ...

# bottom of the file
ensure electricianjob-assets
ensure 0r-electricianjob

Don't forget to start electricianjob-assets before the main resource.

5

Configure integrations

Open config/main.luasetup and set backends if 'auto' does not pick the right resource on your server:

Option
Purpose

notify

Job toasts and errors

textui

[E] interact prompts

progress

Pre-minigame “checking problem” bar

fuel

Fills spawned work trucks

vehiclekeys

Gives keys when the job starts

See Configuration for all supported values.

6

Test in-game

  1. Join the server and go to the employer NPC (default blip near 735.74, 130.51, 79.7 — see employees in config).

  2. Use target on the NPC to open the job lobby.

  3. Select the Easy scenario and start the job solo.

  4. Drive to a repair point, complete one minigame, then have the leader finish the job.

  5. Confirm XP and money are applied (check paymentAccount in config).

If the menu does not open, set setup.debug = 1, restart the resource, and check the server console. See FAQ for common fixes.

Last updated