Skip to content

Installation

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

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)

Add the resource#

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

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.

Update server.cfg#

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.

Configure integrations#

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

OptionPurpose
notifyJob toasts and errors
textui[E] interact prompts
progressPre-minigame “checking problem” bar
fuelFills spawned work trucks
vehiclekeysGives keys when the job starts

See Configuration for all supported values.

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.