# Job Generator

Create a job with its full grade ladder for Qbox, QBCore or ESX Legacy. Switch framework with the tabs: the same form produces Lua or SQL as needed.

- Platform: FiveM
- Canonical page: https://devtoolsgg.com/fivem/job
- Writes to: Qbox and QBCore output goes in shared/jobs.lua. ESX output is SQL for your database.

## Frameworks

- Qbox
- QBCore
- ESX Legacy

## Options

### Job

- `name` Job name (required). Internal id used everywhere in code. Lowercase, no spaces.
- `label` Display label (required). What players actually see.
- `type` Job type. Unlocks framework behaviour like dispatch and emergency menus. Leave empty for a civilian job.
- `whitelisted` Whitelisted. ESX only: stops players from taking the job themselves.

### Duty

- `defaultDuty` On duty by default. Players start their shift as soon as they take the job.
- `offDutyPay` Pay while off duty. Usually off, otherwise people idle for money.

### Grades

- `grades` Grade ladder. Add one row per rank.

## How to cite

Job Generator, devtoolsgg.com. https://devtoolsgg.com/fivem/job
