Restaurants
Restaurants
A full multi-restaurant system: category menus with a cart, shop stock, cooking stations, kitchen orders with a staff tablet, NPC deliveries, ingredient pickups, a management dashboard, player-owned restaurants and an in-game creator.
Works on ESX Legacy, QBCore and QBox through dh_bridge. Framework, inventory, target, society and duty are all set once in dh_bridge.
Compatibility
ESX LegacyQBCoreQBoxdh_bridge 2.5+ox_liboxmysqlOneSyncox_inventoryqb-inventoryps-inventoryqs-inventorycodemtgianncore_inventoryorigenak47jaksamox_targetqb-targetRenewed-Bankingqb-bankingqb-managementesx_addonaccount
How it plays
- Customers order at the counter. Buy Now takes food from shop stock. Order from Kitchen (when staff are on duty) pays up front; staff accept it on the tablet, cook it and hand it over in person. Cancelled or expired orders are refunded
- No staff on duty? The counter switches to self-service using the restaurant's
offlineShoplist - Employees cook at stations, stock the shop, run deliveries, collect ingredient orders and work the order tablet
- Bosses and owners use the dashboard: sales, revenue, society deposit/withdraw, ingredient orders, custom recipes, and hiring/firing/grades. Owners also get a Prices tab
- Ownership: buy an unowned restaurant at its dashboard point, list it for resale (paid even when offline, minus tax) or sell it back to the city
- Closed, disabled or members-only restaurants turn customers away with a message; staff can still work
Features
- Unlimited restaurants, built in game with
/restaurantcreatoror shipped inconfig/restaurants.lua - 17 station types: shop, stocking, cooking, fresh, frying, bbq, drinks, baking, cutting, ice, stash, dropoff, orders, dashboard, wardrobe, delivery, garage
- Kitchen orders with a staff tablet, held payment and automatic refunds
- Ingredient pickups: the society pays, then staff collect the order from a supplier and drop it off
- NPC deliveries, optionally taken from real shop stock
- Active hours, members-only access, and Bank / Cash / Black money / item-currency payments per restaurant
- Duplicate any restaurant with its menu, recipes, stations and (optionally) stock, balance and owner
- Menu providers: other resources can add items to a menu (used by Halo Backrooms' House Specials)
- Server-side distance, timing and price checks on every action
- One re-skinnable tablet UI for the menu, dashboard, order tablet and creator
- Startup report: detected framework, inventory, target and society backend, plus warnings for missing tables, items, jobs and stations
Commands
| Command | Who | Description |
|---|---|---|
| /restaurantcreator | admin | Creator tablet: create, edit, delete, open any dashboard, teleport |
| /restockrestaurant <name> [amount] | admin | Add stock of every menu item |
| /restockrestaurants [amount] | admin | Same, for every restaurant |
| /setrestaurantowner <name> <id|none> | admin | Set or clear the owner |
| /setrestaurantsale <name> <price|off> | admin | Put on or take off the market |
| /cancelorder <id> | anyone | Cancel your own pending kitchen order |
| /cancelpickup | staff | Abandon your ingredient pickup (order goes back on the list) |
Dependencies
| Resource | Required | Notes |
|---|---|---|
| dh_bridge | required | 2.5.0+. Framework, money, inventory, society, notify, target |
| ox_lib | required | Menus, callbacks, text UI, locales |
| oxmysql | required | Database |
| An inventory | required | ox, qb (1.x/2.x), ps, qs, codem, tgiann, core, origen, ak47 or jaksam |
| OneSync | required | Server-side distance checks |
| ox_target / qb-target | optional | Without one, [E] prompts are used |