Restaurants Script

14.99 USD

Restaurants Script

Description

Restaurants Script [ESX, QBcore, Qbox, Custom]

## 📚 Dependencies

## TODO

  •  Check if you have all the dependencies
  • Add ensure lc_restaurants in your server.cfg
  • Choose your language by putting *setr ox:locale en* or *setr ox:locale fr* in your server.cfg
  • Add ACE for admin command if needed: add_ace group.admin lc_restaurants.admin allow
  • Configure your restaurants in config/restaurants.lua (zones, terminals, stashes, stations, delivery, kitchen screen)
  • Check the install folder to find some item/image and shop exemple

## Features

  • Boss (or employee with permissions) can create their own recipes directly in-game — forget the hours wasted editing files to add new recipes to your restaurants/bars (item creation, images, crafting, etc.)
  • Quality metadata system — ingredient quality and cooking mini game affects the final dish
  • Food preference system — each player has unique tastes (love/like/dislike/hate) that affect hunger & stress bonuses
  • Multi restaurant support with independent configs (jobs, zones, stations, terminals, stashes)
  • Employee hierarchy and permissions management (hire, fire, grade, permission toggles)
  • Admin panel with command access and full cross-restaurant management
  • Tablet interface for invoices, employees, menu prices, recipes and upgrades
  • Configurable recipe limits and ingredient limits per recipe
  • Crafting system with skill check, XP gain and optional quality metadata
  • Failure consequences on crafting (ingredient loss, optional fire chance)
  • Fire extinguisher interaction zones and fire gameplay handling
  • Food safety system with risky food detection and delayed sickness
  • Consumption system for restaurant items with multiple uses and animations
  • Billing system with invoice item, menu card item and optional black money payment
  • Automatic invoice cleanup for paid/cancelled old records
  • Revenue split for employee commission and delivery commission
  • Delivery system with configurable items, amounts, prices, cooldown and timeout
  • Upgrades system (NPC vendor + Chef trainer tiers)
  • Chef trainer XP lessons with daily XP cap
  • Public menu card interaction with dedicated world target/prop support
  • Security layer with rate limit checks and webhook activity logs
  • Works with ox_target or qb-target
  • EN/FR localization support
  • Highly configurable architecture for custom servers
  • Compatibility with lc_addiction and lc_hunting

## Command

  • Use /restaurants command to open the admin menu (can be change in Config.Admin.command)

## Export

Client side exports:

  • Admin menu export : exports['lc_restaurants']:OpenAdminMenu()
  • Employee tablet export : exports['lc_restaurants']:OpenMenuRestaurant(restaurantId)
  • Item consumption export: exports['lc_restaurants']:useRestaurantItem(data, slotData)
  • Public menu card export: exports['lc_restaurants']:useRestaurantMenu(data, slotData)
  • Food inspector export: exports['lc_restaurants']:useFoodInspector(data, slotData)

Check in the Readme.md to see how to use

## 👐 Credit

  • Thanks to the Overextended and Community ox team for generously providing the resources that have empowered me to bring this script to life. (ox_lib, ox_inventory and ox_target)
  • Some of the item image are from : https://items.rainmad.com, Thanks to them for provide such a great gallery
  • Image for the minigame : 
    • - Cooking icons created by Freepik - Flaticon
    • - Salt icons created by Pause08 - Flaticon
    • - Mixology icons created by Slamlabs - Flaticon
    • - Shaker icons created by Freepik - Flaticon

## Discord

If you have any question or need support :

My Discord

## Preview

Youtube


< Go back to scripts