How to Set Up a Cafe Job in FiveM (2026 Guide)
Almost every RP server has a cafe MLO sitting empty. Someone bought a nice interior, a few players got the job for a week, and then it went quiet. The reason is nearly always the same: the job was a menu, a progress bar and an item that appears out of nowhere, so after the third shift there was nothing left to do.
A cafe that people actually staff needs a reason to clock in, a reason to come back, and money that means something. I build and sell FiveM scripts and run servers, and I’ve set up food jobs every way there is. There are three real ways to do it, from least effort to most control, and each has trade-offs worth knowing before you start.
First, two terms people mix up. The MLO is the interior, meaning the building, the counter and the furniture. The job is the script that makes the building work: who’s employed, what they can make, where the money goes. Buying a cafe MLO gives you the first and none of the second. Most of this guide is about the job.
What a Cafe Job Actually Needs
Whatever route you take, you’re wiring up the same pieces:
- A job in your framework, with grades and a boss.
- Items for every drink and dish, registered in your inventory.
- Stations: the places in the interior where staff take orders, prepare food and clock in.
- A way to make things, whether that’s a progress bar, a recipe or a minigame.
- The money: where sales go, and what (if anything) they pay for.
- Something to do when it’s quiet, or your staff log off at 3am when nobody’s ordering.
Option 1: Install a Free Restaurant Script (Fastest)
If you want a working food job this week, start with a free one. A couple I’ve confirmed are on GitHub:
- hpx-catcafe, a cat cafe job for the UwU Cafe interior. Its README says it was made for QBCore, it uses PolyZone, and it ships with a list of mochi, boba tea and latte items to paste into
qb-core/shared/items.lua. - bd-burgershot, a QBCore Burger Shot job built on ox_lib. Its README lists
qb-core,ox_libandqb-targetas dependencies, and its files include a kiosk page and a boss menu.
There are dozens more for specific restaurants. Search GitHub for the name of your MLO plus “job”, and check how recently each one was updated before you trust it.
The install is the same as any resource, and how to install FiveM scripts covers it if you’re new:
- Download the repo and extract it to a single folder.
- Add the job to your framework. Most free scripts ship a QBCore
jobs.luablock to paste. - Add the items to your inventory, and copy the images into its image folder.
- Ensure it in
server.cfgafter your framework, inventory and target. - Restart and test with two characters: one employee, one customer.
The honest downside: free food jobs are usually built for one MLO’s coordinates and one framework. Making a drink is a progress bar, every coffee is the same item, and the money comes from nowhere, because nothing ever has to be bought back. That works fine for a server that just needs somewhere to buy food. It’s not much of a job.
Option 2: Build the Cafe Job Yourself (The Manual Way)
If no free script fits your interior or your framework, you can build the job from the parts your server already has. The heavy lifting is done by ox_inventory, ox_target and ox_lib, and the rest is glue.
- Create the job. On QBCore, jobs live in
qb-core/shared/jobs.lua, and the format looks like this:
cafe = {
label = 'Cafe',
defaultDuty = false,
offDutyPay = false,
grades = {
['0'] = { name = 'Trainee', payment = 40 },
['1'] = { name = 'Barista', payment = 55 },
['2'] = { name = 'Manager', isboss = true, payment = 80 },
},
},
On ESX the job is two database tables, jobs and job_grades. If you want the cafe to have its own money, add a society_cafe row to addon_account too. How to set up jobs on an ESX server walks through the ESX side in detail.
INSERT INTO `jobs` (`name`, `label`) VALUES ('cafe', 'Cafe');
INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES
('cafe', 0, 'trainee', 'Trainee', 40, '{}', '{}'),
('cafe', 1, 'barista', 'Barista', 55, '{}', '{}'),
('cafe', 2, 'boss', 'Manager', 80, '{}', '{}');
INSERT INTO `addon_account` (`name`, `label`, `shared`) VALUES ('society_cafe', 'Cafe', 1);
-
Register the menu as items. In ox_inventory that’s
ox_inventory/data/items.lua, one entry per drink or dish. Doing this properly, with a prop in hand and the right hunger and thirst values, is its own job, and how to add custom food items to FiveM covers it for ox_inventory, QBCore and ESX. -
Place the stations. Stand at each spot in the interior, copy the coordinates, and add a target zone for it. With ox_target, a counter where staff make drinks looks something like this:
exports.ox_target:addBoxZone({
coords = vec3(122.8, -1034.4, 29.3),
size = vec3(1.2, 0.8, 1.0),
rotation = 340,
options = {
{
name = 'cafe_make_latte',
label = 'Make a latte',
icon = 'fa-solid fa-mug-hot',
groups = 'cafe',
onSelect = function()
if lib.progressBar({ duration = 5000, label = 'Making a latte', canCancel = true, disable = { move = true, combat = true } }) then
TriggerServerEvent('cafe:server:makeLatte')
end
end,
},
},
})
-
Give the item on the server, not the client. The server event checks the player’s job, their distance to the counter and the ingredients, then calls
exports.ox_inventory:RemoveItemfor the ingredients andexports.ox_inventory:AddItemfor the drink. Never trust a price or an item name sent from the client, or someone with a menu will print lattes all night. -
Add duty, a boss menu and the society account. Duty is your framework’s flag. The boss menu and society account depend on which banking or management script you run.
-
Repeat for every station and every menu item, then test with two people. Fix the zones that sit inside the counter, restart, and test again.
That loop is the real cost. Every station is a coordinate you copied by hand, and every recipe is code. If you move the cafe to another MLO you redo all of it, and anything beyond “progress bar, get item” (walk-in customers, stock the cafe has to buy, tips) is a project of its own.
The manual way is the right call when you want something no script does, you’re comfortable in Lua, and the cafe is central enough to your server to be worth weeks of work. If you’ve never written a server event before, the FiveM Lua scripting tutorial is the place to start.
Option 3: A Cafe Where Staff Build Every Order In-Game
Full disclosure: this is our script. Weigh what I say accordingly. I built it because every cafe I’d set up the first two ways went quiet within a month.
The LMX Cafe Job is $29.99 one-time, for ESX, QBCore and Qbox. It’s an acai bowl and smoothie cafe where the employee builds each order by hand, and according to its docs, the bowl the customer gets is the one that was built.
What a shift looks like, from the docs:
- Clock in at the time clock and the grade’s uniform goes on. Clock out and your own clothes come back. Nothing is saved to your clothing script.
- Customers order at a self-order kiosk with its own screen and pay up front with cash or bank. Staff can also take a counter order at the register, which the customer accepts or declines, and nothing is charged until they accept.
- Build the bowl at the bowl bar. The camera goes down to a bowl on the counter, and you drag in one of three bases (Acai, Pitaya, Matcha) and up to three of eight toppings, Regular or Large. An order can’t fail. How close it is to the order is scored as accuracy.
- Blend smoothies with a minigame in four modes: Standard, Easy, Assist (the blender runs itself) and Skill check. The score sets the smoothie’s quality.
- Walk-in NPC customers queue at the counter while someone is on duty, so the cafe isn’t empty at quiet hours. Players always come first, and the money walk-ins bring is capped per hour ($2,000 per cafe and $800 per employee by default).
- The cafe runs on its takings. Sales go to the cafe’s account, and stock is bought from that account at wholesale cost plus a $10 delivery fee. The delivery arrives three minutes later and staff unload it into the fridge.
- A boss laptop to hire, promote, demote and fire, pay bonuses, set prices, order stock and read sales, supplies and profit.
- Any MLO. A built-in editor places the nine stations with the game’s move and turn gizmo, moves the whole cafe at once with Re-anchor, and walk-tests the route the NPC customers take. It ships with a preset for the Oatberry Acai MLO by Polo Maps with every station already in place.
/cafejob checkchecks your database, items, job, cafe account, props and layout, and prints the fix under anything that fails.
It supports ox_inventory, qb-inventory v2, qs-inventory and the ESX default inventory, ox_target, qb-target or a built-in key prompt, and English, Spanish and French. Prices, stock, payments and distances are worked out on the server, and the docs say a screen never sends a price.
You can watch it in the showcase video.
Where it falls short, honestly:
- The MLO isn’t included. The Oatberry Acai MLO is sold separately by Polo Maps. Any other interior works through the editor, but you place the stations yourself.
- The menu is fixed in this version: three bases, eight toppings and three smoothies. Bosses set prices and what’s on the menu, but you can’t add a new base or topping. If you want a coffee shop or a burger joint, this isn’t it.
- Testing so far: the docs say it has been tested in game on ESX with ox_inventory and ox_target. QBCore, Qbox and the other inventories are covered by the code and automated tests, and in-game runs on those are still on the list.
- What a bowl shows depends on your inventory. ox_inventory shows each bowl’s own name, picture and toppings. qb-inventory v2 shows the toppings as tooltip lines. qs-inventory and the ESX default inventory show the base only, and on the ESX default inventory the toppings are forgotten when the server restarts.
- It needs OneSync, oxmysql and ox_lib, and the props pack needs one full server restart after you install it.
The fair comparison: a free restaurant script gets you a working food job for nothing, and if you want a coffee shop or a menu of your own, it’s the better start, or the manual route is. What the Cafe Job adds is the part that keeps people on shift: the order built by hand, customers when it’s quiet, and money that has to go back into stock.
Troubleshooting: Cafe Job Not Working
These are the problems I see most, whichever route you took.
Items don’t exist when a customer orders. The inventory doesn’t know the items yet. Paste them into the right file for your inventory, then restart the inventory. On the ESX default inventory, restart the whole server, because ESX builds inventories from the database when a player loads. With the Cafe Job, /cafejob items names the inventory it found and the file to paste.
Item pictures are blank. qb-inventory and qs-inventory read images from their own html/images/ folder, so the files have to be copied there with the item’s exact name. More fixes are in FiveM inventory images not showing.
Nobody can clock in or open the boss menu. The job or a grade is missing in your framework, or the player’s grade lacks the permission. Check the job exists, then give yourself the top grade with /setjob <id> <job> <grade> and try again.
Props or uniforms didn’t show up. Anything in a stream/ folder, whether models or clothing, is registered when the server starts. ensure and restart don’t do it. Stop and start the whole server.
The cafe’s money went nowhere. On ESX, the society_<job> row has to exist in addon_account before esx_addonaccount can pay into it. With the Cafe Job, start your banking script before lmx_cafejob, because it picks the account provider once, when it starts.
Restarting ox_lib killed the cafe. FiveM stops every resource that depends on one you stop, and doesn’t start them again. Run ensure on the job afterwards, or restart the server.
Cafe Job FAQ
Do I need a cafe MLO? For a real cafe, yes. Every option here needs an interior with a counter. Free MLOs exist, and how to add custom MLOs to FiveM covers the install. The LMX Cafe Job has a ready preset for the Oatberry Acai MLO and an editor for any other interior.
Does a cafe job work on Qbox?
It depends on the script, so check that its README lists Qbox before you install it. The LMX Cafe Job supports Qbox through the qbx_core exports, with ox_inventory, though its in-game Qbox test is still on the to-do list.
How do cafe workers get paid? The salary is your framework’s job salary, the same as any job. On top of that, a cafe script can pay tips or commission. In the LMX Cafe Job the sale goes to the cafe’s account and the tip goes to the employee who made the order.
Can I make it a female-only job?
In the LMX Cafe Job, Config.Uniforms.FemaleOnlyJob = true lets only female characters clock in. It’s off by default. With a free script you’d have to add that check yourself.
Can I sell my own menu, like coffee or burgers? With a free script or the manual route, yes, since you write the items. The LMX Cafe Job’s menu is fixed to its bowls and smoothies in this version, and you choose the prices and what’s on it.
Which One Should You Pick?
If you need a food job running tonight and your interior matches one, install a free restaurant script. Browse our free scripts page while you’re at it. If you want your own menu and full control, and you’re happy writing Lua, build it yourself with ox_inventory, ox_target and ox_lib. And if you want a cafe people actually staff, with orders built by hand, walk-in customers and stock paid for out of the takings, the LMX Cafe Job is what I’d set up.
Stuck on a setup, or want to see it running first? Ask in our Discord.