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, orqbx_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#
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:
| 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.
Test in-game#
- Join the server and go to the employer NPC (default blip near
735.74, 130.51, 79.7— seeemployeesin config). - Use target on the NPC to open the job lobby.
- Select the Easy scenario and start the job solo.
- Drive to a repair point, complete one minigame, then have the leader finish the job.
- Confirm XP and money are applied (check
paymentAccountin config).
If the menu does not open, set setup.debug = 1, restart the resource, and check the server console. See FAQ for common fixes.