UniJob is a job creator for ESX. You add new jobs by copying and editing a block in the config instead of installing a separate resource for every job. Each job can use any combination of the features below.
Features
- Job actions menu (F6): every feature can be switched on or off per job.
- Billing with label and amount for each bill
- Citizen actions: cuffing and uncuffing with animations, dragging, putting in and out of vehicles, searching, revive (can be disabled)
- Vehicle actions: lockpick (with item), repair, impound, attach to flatbed, clean
- Add your own elements to the menu
- Vaults: each job can have multiple vaults where you can store items and weapons; each vault has its own items. Access can be restricted by job grade. Uses its own storage system instead of esx_addoninventory.
- Job shops: items and weapons per point, paid with society money, cash or bank.
- Cloakroom: unlimited job outfits for all grades or specific grades; saved outfits from the classic cloakroom (
datastore_data) are shown too.
- Vehicles: multiple spawn points per vehicle point with range and heading, unlimited vehicle deleters, shared vehicles for the whole job plus special vehicles per grade, vehicle props such as plate and color. Works for boats, aircraft and cars or trucks.
- Crafting: multiple crafting points with different items and required amounts.
- Selling: sell zones with items, prices and a delay between sales.
- Collecting: multiple points that disappear for everyone once collected and respawn after a timeout, synced for all players.
- Boss actions: choose per job which boss actions are available.
- Blips: unlimited map blips with all properties configurable, optionally visible only to the job.
- Brigades: open certain points to players without the job. For example, anyone can sell wine at the vineyard point and the money goes to the vineyard's society.
- Discord webhooks for the F6 menu, vaults, shops and more
- Configurable markers (color, size, bouncing, rotating) that change color as you get closer
Requirements
- es_extended (weight system)
- esx_billing (for bills)
- esx_society (for the boss menu)
- esx_menu_default and esx_menu_dialog
- mysql-async
- Optional: mythic progress bar and LegacyFuel (both switchable in the config)
Installation
- Place the
unijob folder in your resources and ensure it in your server.cfg.
- Run
sqz_unijob.sql. It adds the example jobs fib and sandy_mechanic, their society accounts, the cuffs item and the tables sqz_unijob_inventory and sqz_unijob_log.
- For a new job: add it to
jobs and job_grades, add a society_JOBNAME entry to addon_account, register it in server/edit.lua if you use esx_society or a phone, then duplicate Config.Jobs.sandy_mechanic and adjust it.