Installation & database
Get the resource running, import the schema, and prepare your first restaurant.
Place the Resource
resources/
└── [LuckyScripts]/
└── lcky-restaurant_management/Import the Database
Execute sql/schema.sql in your MySQL database. This creates:
lcky_restaurants— Restaurant master tablelcky_menu_items— Menu items per restaurantlcky_recipes— Dynamic recipeslcky_recipe_ingredients— Recipe ingredient mappinglcky_interaction_points— Stored interaction pointslcky_orders_log— Completed/cancelled order historylcky_discounts— Time-limited discount records
Register Inventory Items
Add all required items to your ox_inventory items configuration. Use the inventory item definitions supplied with your resource package. The source guide refers to an inventoryitems.lua file; check your download for the definitions that match your release.
Add the Resource to Your Server Config
ensure ox_lib
ensure oxmysql
ensure ox_inventory
ensure ox_target
ensure lcky-restaurant_managementAdd ACE Permission (Admin)
add_ace group.admin command.restaurantadmin allowCreate Restaurants In-Game
Use the /restaurantadmin command to open the admin panel and register your restaurants.
Database Setup
The sql/schema.sql file creates all necessary tables with proper indexing and foreign key relationships. All tables use InnoDB with utf8mb4 character set.
Key Tables
| Table | Purpose |
|---|---|
lcky_restaurants | Restaurant definitions (job, name, center coords, radius, settings JSON, open/close times) |
lcky_menu_items | Per-restaurant menu items (label, price, category, base item, recipe link) |
lcky_recipes | Dynamic recipes (assembly station, output item, created by) |
lcky_recipe_ingredients | Recipe ingredients with amounts and sort order |
lcky_interaction_points | Interaction point coordinates and types |
lcky_orders_log | Completed/cancelled order log with payment details, tips, discounts |
lcky_discounts | Time-limited discounts with type, percentage, targets, start/end times |
LuckyScripts Business Management · Match configuration examples to your downloaded release.
Need a hand? Read the support guide ↗