Installation
First install the general dependencies. Then:
Place the folder
Place the wentus-coolbeans folder under resources/[wentus]/.
Add Items
Paste the contents of items-qbox.lua into the table in ox_inventory/data/items.lua.
Paste the contents of items.lua into qb-core/shared/items.lua.
Copy the images from assets/images/ → into your inventory's image folder. Sound files ship with the resource and are loaded from assets/sounds/ automatically.
Add Job
Add the coolbeans job to your framework — the location depends on the framework (same as the inventory):
qbx_core/shared/jobs.lua — job key ['coolbeans'], numeric grade keys [0]:
['coolbeans'] = {
label = "Coolbeans Coffee",
defaultDuty = true,
offDutyPay = false,
grades = {
[0] = { name = 'Waiter', payment = 50 },
[1] = { name = 'Cook', payment = 75 },
[2] = { name = 'Chef', payment = 125 },
[3] = { name = 'Manager', payment = 100 },
[4] = { name = 'Owner', isboss = true, payment = 150 },
},
},
qb-core/shared/jobs.lua — unbracketed job key coolbeans, string grade keys ['0']:
coolbeans = {
label = "Coolbeans Coffee",
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Waiter', payment = 50 },
['1'] = { name = 'Cook', payment = 75 },
['2'] = { name = 'Chef', payment = 125 },
['3'] = { name = 'Manager', payment = 100 },
['4'] = { name = 'Owner', isboss = true, payment = 150 },
},
},
In ESX, jobs live in the database (jobs + job_grades tables). Add coolbeans via SQL or with an ESX job tool.
Bank account
Set Config.Base.Events.ManagementMoney according to your banking resource. If you use qb-banking, the business account is created automatically.
Config + start
config.lua → make your Config.Base framework selection (Configuration). Add to server.cfg:
ensure wentus-coolbeans
Wentus-CoolBeans: Started in the console. If a missing dependency or missing item warning appears, fix Config.Base / your items file.Stash
Cafe Cool Beans automatically registers (ox_inventory) or creates (qb-inventory) the worker stand stash:
| Stash | Config key | Access |
|---|---|---|
| Service counter | Config.Settings.JobName..'Stand' | coolbeans job only |
Size: 100 slots, 1,000,000 weight (hardcoded for ox; qb uses config defaults).