luckyscripts.DOCUMENTATION
LuckyScripts / Business ManagementFIVEM FIELD GUIDE

Configuration

Set permission grades, restaurant jobs, menus, defaults, and kitchen stations.

Main Config (shared/config.lua)

Permission Grades

Config.Permissions = {
    addInteractionPoint = 2,    -- Manager+
    removeInteractionPoint = 2, -- Manager+
    editMenu = 2,               -- Manager+
    editSettings = 2,           -- Manager+
    accessStorage = 1,          -- Chef+
    accessKitchen = 1,          -- Chef+
    accessCashier = 0,          -- All employees
    redeemReceipts = 2,         -- Manager+
    viewZReport = 2,            -- Manager+
    manageDiscounts = 2,        -- Manager+
}

Restaurant Definitions

Config.Restaurants = {
    ["burgershot"] = { name = "Burger Shot", description = "Fast food restaurant" },
    ["beanmachine"] = { name = "Bean Machine", description = "Coffee shop" },
    -- Add more restaurants here
}

Config.RestaurantJobs = { "burgershot", "beanmachine", ... }

Default Settings

Config.DefaultSettings = {
    isOpen = false,           -- Starts closed on every restart
    maxMenuItems = 15,
    orderTimeout = 1800,      -- 30 minutes
    maxActiveOrders = 20,
}
Config.MenuCategories = {
    burger  = { label = "Burgers",  icon = "fas fa-burger" },
    drink   = { label = "Drinks",   icon = "fas fa-glass-water" },
    dessert = { label = "Desserts", icon = "fas fa-ice-cream" },
    pizza   = { label = "Pizzas",   icon = "fas fa-pizza-slice" },
}

Base Food Items

Items selectable as the output item when creating menu entries:

Config.BaseFoodItems = {
    "burger", "pizza", "coffee", "donut", "cake_slice",
    "sandwich", "taco", "hotdog", "soda", "water", "juice", "icecream"
}

Receipt System

Config.ReceiptSystem = {
    enabled = true,
    itemName = 'receipt',
    npc = { model = 's_m_m_linecook', coords = vec4(...), ... },
    allowBulkRedeem = true,
    maxBulkRedeem = 10,
}

Tip, Discount, and Z Report Systems

Config.TipSystem = { enabled = true, maxPercentage = 20, step = 1 }
Config.DiscountSystem = { enabled = true, maxPercentage = 50, maxDurationHours = 6 }
Config.ZReport = { enabled = true, autoArchiveOnClose = false }

Station Config (shared/config_stations.lua)

Cooking Stations (Fixed input → output)

StationProcesses
GrillRaw Meat → Cooked Meat, Raw Bacon → Cooked Bacon, Sausage → Cooked Sausage, Raw Steak → Cooked Steak
FryerPotato → Fries, Onion → Onion Rings, Raw Chicken → Chicken Nuggets
OvenDough → Baked Dough, Whole Chicken → Roasted Chicken
Coffee MachineCoffee Beans → Espresso Shot, Milk → Steamed Milk

Assembly Stations (Dynamic recipe-based)

StationDefault Recipes
Prep TableSimple Burger, Simple Sandwich, Simple Salad
Drink StationSoda, Fruit Juice

Assembly Ingredients

The pool of ingredients available when creating custom recipes via the menu editor.

LuckyScripts Business Management · Match configuration examples to your downloaded release.
Need a hand? Read the support guide ↗

On this page