Skip to main content
TRACK A·FRAMEWORK CONFIG·Verified June 2026 · Lua 5.4 · ox_lib 3.x
Learning with an AI assistant?
Copies this lesson plus 2026 ground rules (no lua54 'yes', Cfx.re Portal, correct callback signatures) as a ready-to-paste mentor prompt.
Frameworks

Create and edit jobs in your framework

A job is a role a player can hold, like police or mechanic. Every job has grades, the ranks inside it, like Recruit or Chief. All three frameworks share that idea, but they store jobs differently: QBCore and Qbox keep every job in one Lua file, ESX keeps jobs as rows in your SQL database. Jump to the section below that matches your framework. Each one is self-contained: how storage works, the exact fields, adding a job end to end, and assigning it to a player.

You'll do
Pick your framework - QBCore, ESX Legacy, or Qbox - then open its jobs storage, read the job and grade fields, add a new job, assign it to a player with /setjob, and restart the right resource so the change applies.
Time
~15-20 minutes for your framework's section.
You need
A running QBCore, ESX Legacy, or Qbox server you can edit and restart. QBCore and Qbox need a text editor on your server files; ESX needs a database client (HeidiSQL or DBeaver) connected to your fivem database.
Result
A new job that shows up in game, with ranks and paychecks you chose, in whichever framework you run.

Watch

Cruze: building a job system from scratch.
BEFORE YOU START

Keep reading the full lesson

Sign in to start, then unlock every step of this lesson and the full FiveM School with a membership.

Still ahead in this lesson
  • How the job system works
  • The job structure
  • Add a new job
  • Common mistakes
  • Example job list
  • What you can do now
  • Try it yourself

The remainder of Create and edit jobs in your framework is available to FiveM School members.