🧰Installation
Dependency matrix
Required
Framework (ESX/QBCore/Qbox), target, notify, textUI, clothing, society/banking bridge — see pl_lib docs
pl_restaurant_props
Required
Custom food/kiosk props — not declared in fxmanifest.lua, see below
ox_inventory, qb-inventory, or ESX items
Required (pick one)
Item registration
Optional
Grill/fryer sizzle + drink machine pour sound. Script works fine without it, just silently no sound.
pl_restaurantapp
Optional
Delivery/ordering companion app for lb-phone/gksphone
Step 1 — Download & place
Drop the pl_burgershot folder into your server's resources directory.
Step 2 — Install pl_lib first
pl_lib must be installed, configured, and started before pl_burgershot. Follow the pl_lib installation guide, then come back here. If pl_lib isn't running when pl_burgershot starts, framework/target/notify detection fails and the whole script silently breaks.
Step 3 — Required manual steps not enforced by fxmanifest
These aren't in pl_burgershot's dependencies {} block, so it's easy to install the script and think it's "done" while these are still missing.
1. pl_restaurant_props (required)
A separate map/prop resource that streams the custom models the config references by name — pl_rawpatty, pl_cookedpatty, pl_burnedpatty, pl_cookedfries, pl_fries, pl_burnedfries, pl_fry_basket, pl_burgerbun, pl_kiosk. Drop the pl_restaurant_props folder into resources and ensure it in server.cfg before pl_burgershot. Without it, cooked food and the kiosk prop simply won't render.
2. xsound sound files (optional, but silent otherwise)
If you run xsound, copy the 3 files from pl_burgershot/Installfolder/sounds/ into your xsound resource's own sounds folder:
drinkmachine.mp3
Config.DrinkMachine.PourSound
fryer.mp3
Config.Fryer.SizzleSound
grillstation.mp3
Config.Grill.SizzleSound
The Url values in shared/config.lua are relative to xsound's own html folder — keep the filenames the same, or update the Url fields to match wherever you place them.
3. Animation dictionaries in your emote resource (required for animations to work)
The custom .ycd files in pl_burgershot/Installfolder/animations/ (cup_holding, fries_eating, frybasket, kitchen_spatula, pl_fry_basket) need to be added/registered in your emote resource (e.g. rpemotes) so the game can find them. Without this step, carry and cooking animations that reference these dictionaries won't play. Follow your emote resource's own instructions for adding a custom animation dictionary.
Step 4 — server.cfg
Step 5 — Configure
Open shared/config.lua and set, at minimum:
Config.location— the map pack you're using (gabz,molo,gn,smalo,uniqx,king,tstudio,giant), or'auto'to detect it from whichever resource is running (fill inConfig.LocationResourcesfirst if you useauto).Config.Jobname/Config.JobLabel— must match the job you create in Step 7.Config.Interaction—'target','textui', or'text3d'.Config.RequireDuty/Config.RequireHandWash— turn these on if you want employees to clock in / wash hands before working.
Everything else has sensible defaults — see Preview Config for the full annotated file, and Feature Guide for what each system does.
Step 6 — Database
Leave Config.AutoInstallSQL = true (the default). On first boot the script creates all 4 tables it needs — pl_burgershot, pl_burgershot_fridge, pl_burgershot_orders, pl_burgershot_shifts — and seeds the fridge with the items from Config.Shop.Storage. If you upgrade later, it also auto-migrates older table formats without touching your existing data.
Step 7 — Job
ESX users: the job + grades are created automatically by the manual SQL in Step 6 (or by AutoInstallSQL).
Config.BossGrade (default 4) is the minimum grade that can use boss/ management actions — match it to whichever grade number you make "Owner"/"Manager".
Step 8 — Register items
Item images
The kiosk/fridge/display NUI reads its icons straight from web/assets/items/ via Config.ImagesPath — nothing to do there. Your inventory's own UI (the item icon shown in a player's inventory slots, hotbar, etc.) is separate and reads from its own image folder, so you still need to copy the icons from pl_burgershot/Installfolder/images/ into it:
ox_inventory
ox_inventory/web/images/
qb-inventory
qb-inventory/html/images/
Installfolder/images/ contains one .png per core item (matching the item names above, including bs_receipt.png for the receipt) — drop all of them in, don't rename anything.
Step 9 — Optional: delivery app
If you want customers to order (and staff to deliver) BurgerShot food from a phone, install the companion pl_restaurantapp resource (lb-phone or gksphone builds — see its own documentation) and add an entry for "burgershot" to its Config.Restaurants, with dbTable = "pl_burgershot" matching Config.DBTable here exactly.
Common pitfalls
Last updated