WENTUS

Config Builder

Seçenekleri seç, üretilen config'i kopyala, kaynağın config.lua'sındaki ilgili blok / satırların yerine yapıştır. (v1: üretir, parse etmez.)

Hazır şablon:
Config.Base (framework)
Config.Settings
Ürünler & Stok
config.lua
Config.Base = {
    Core = "QBox",
    CloseSitKey = "X",
    Events = {
        OnPlayerLoad = "QBCore:Client:OnPlayerLoaded",
        OnPlayerUnload = "QBCore:Client:OnPlayerUnload",
        OnJobUpdate = "QBCore:Client:OnJobUpdate",
        OnDutyServer = "QBCore:ToggleDuty",
        QBMenuClose = "qb-menu:client:closeMenu",
        ManagementMoney = "Renewed-Banking",
        ManagementMenu = "qb-bossmenu:client:OpenMenu",
    },
    Notify = "ox_lib",
    TargetSystem = { TargetExport = "ox_target" },
    MenuInputSettings = { Menu = "ox", MenuExport = "qb-menu", Input = "ox", InputExport = "ox-input" },
    ProgressBar = { Type = "ox", isCircle = false },
    PolyZone = { Type = "ox_lib" },
    InventoryType = "ox",
    InventoryExport = "ox-inventory",
    InventoryImagesPath = { Ox = "nui://ox_inventory/web/images/", Qb = "nui://qb-inventory/html/images/", ESX = "" },
    Music = { MusicExport = "xsound" },
}

Config.Settings = {
    JobName = "pondcafe",
    Logo = "https://cdn.discordapp.com/.../PONDLOGO2.png",
    StandStash = "pondcafeStand",
    FreezerStash = "pondcafeStorage",
    StashSettings = {
        slots = 100,
        weight = 1000000,
    },
    MinOnDuty = 1,
    TipTax = false,
    TaxRate = 0.1,
    WaiterEnabled = true,
    WaiterSettings = {
        PedModel = "a_f_y_business_02",
        StartCoords = vector4(1116.75, -644.9, 55.82, 280.0),
        StandCoords = vector3(1118.04, -641.25, 55.82),
        StandHeading = 12.85,
    },
    RentEnabled = true,
    RentPed = {
        PedModel = "s_m_y_barman_01",
        PedCoords = vector4(1104.62, -642.71, 55.82, 105.17),
    },
    RentSettings = {
        RentSpawnSettings = {
            VehicleCoords = vector3(1101.53, -644.62, 55.21),
            VehicleHeading = 103.09,
        },
        RentDeSpawnSettings = {
            Coords = vector3(1103.55, -652.43, 55.0),
            ReturnPedCoords = vector3(1105.12, -650.39, 55.82),
        },
        RentAreaSettings = {
            OutOfAreaRentVehicleDelete = true,
            OutOfAreaReturnPed = true,
        },
    },
    SoundBoxSettings = {
        soundBoxPrice = 5,
        Locations = {
            jukebox = {
                model = "prop_50s_jukebox",
                coords = vector3(1120.08, -654.45, 55.82),
                heading = 190,
                length = 2,
                width = 1,
                minZ = 55.3,
                maxZ = 58.5,
                distance = 1.5,
                radius = 10,
                defaultVolume = 0.2,
            },
        },
    },
}

Config.Settings.ProductItems = {
    CoffeeItems = {
        MenuImage = "",
        Items = {
            [1] = {
                itemName = "pond_espresso", itemLabel = "Espresso", itemPrice = 25, itemAmount = 1, itemDescription = "Espresso",
                itemCraftRecipe = {
                    { itemName = "pond_coffeebean", itemAmount = 1 },
                },
            },
            [2] = {
                itemName = "pond_americano", itemLabel = "Americano", itemPrice = 25, itemAmount = 1, itemDescription = "Americano",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                },
            },
        },
    },
    CoffeeSpecialItems = {
        MenuImage = "",
        Items = {
            [1] = {
                itemName = "pond_flatwhite", itemLabel = "Flat White", itemPrice = 30, itemAmount = 1, itemDescription = "Flat White",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                    { itemName = "pond_milk", itemAmount = 1 },
                },
            },
            [2] = {
                itemName = "pond_cappucino", itemLabel = "Cappucino", itemPrice = 30, itemAmount = 1, itemDescription = "Cappucino",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                    { itemName = "pond_milk", itemAmount = 1 },
                },
            },
            [3] = {
                itemName = "pond_latte", itemLabel = "Latte", itemPrice = 30, itemAmount = 1, itemDescription = "Latte",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                    { itemName = "pond_milk", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 1 },
                },
            },
            [4] = {
                itemName = "pond_mocha", itemLabel = "Mocha", itemPrice = 30, itemAmount = 1, itemDescription = "Mocha",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                    { itemName = "pond_milk", itemAmount = 1 },
                    { itemName = "pond_chocolate", itemAmount = 1 },
                },
            },
            [5] = {
                itemName = "pond_macchiato", itemLabel = "Macchiato", itemPrice = 30, itemAmount = 1, itemDescription = "Macchiato",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                    { itemName = "pond_milk", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 1 },
                },
            },
            [6] = {
                itemName = "pond_whitemocha", itemLabel = "White Mocha", itemPrice = 30, itemAmount = 1, itemDescription = "White Mocha",
                itemCraftRecipe = {
                    { itemName = "pond_espresso", itemAmount = 1 },
                    { itemName = "pond_milk", itemAmount = 1 },
                    { itemName = "pond_wchocolate", itemAmount = 1 },
                },
            },
        },
    },
    BakeryItems = {
        MenuImage = "",
        Items = {
            [1] = {
                itemName = "pond_pizza", itemLabel = "Pizza", itemPrice = 25, itemAmount = 1, itemDescription = "Pizza",
                itemCraftRecipe = {
                    { itemName = "pond_raw_pizza", itemAmount = 1 },
                },
            },
            [2] = {
                itemName = "pond_cake", itemLabel = "Cake", itemPrice = 35, itemAmount = 1, itemDescription = "Cake",
                itemCraftRecipe = {
                    { itemName = "pond_dough", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 2 },
                },
            },
            [3] = {
                itemName = "pond_trileche", itemLabel = "Trileche", itemPrice = 25, itemAmount = 1, itemDescription = "Trileche",
                itemCraftRecipe = {
                    { itemName = "pond_dough", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 2 },
                    { itemName = "pond_caramel", itemAmount = 1 },
                },
            },
            [4] = {
                itemName = "pond_chocolatecupcake", itemLabel = "Chocolate CupCake", itemPrice = 15, itemAmount = 1, itemDescription = "Chocolate CupCake",
                itemCraftRecipe = {
                    { itemName = "pond_cupcakedough", itemAmount = 1 },
                    { itemName = "pond_chocolate", itemAmount = 2 },
                },
            },
            [5] = {
                itemName = "pond_vanillacupcake", itemLabel = "Vanilla Cup Cake", itemPrice = 15, itemAmount = 1, itemDescription = "Vanilla Cup Cake",
                itemCraftRecipe = {
                    { itemName = "pond_cupcakedough", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 2 },
                },
            },
            [6] = {
                itemName = "pond_glazed_donut", itemLabel = "Glazed Donut", itemPrice = 35, itemAmount = 1, itemDescription = "Glazed Donut",
                itemCraftRecipe = {
                    { itemName = "pond_dough", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 2 },
                },
            },
            [7] = {
                itemName = "pond_doublechocolate_donut", itemLabel = "Double Chocolate Donut", itemPrice = 25, itemAmount = 1, itemDescription = "Double Chocolate Donut",
                itemCraftRecipe = {
                    { itemName = "pond_dough", itemAmount = 1 },
                    { itemName = "pond_chocolate", itemAmount = 2 },
                },
            },
            [8] = {
                itemName = "pond_vanillafrosted_donut", itemLabel = "Vanilla Frosted Donut", itemPrice = 15, itemAmount = 1, itemDescription = "Vanilla Frosted Donut",
                itemCraftRecipe = {
                    { itemName = "pond_dough", itemAmount = 1 },
                    { itemName = "pond_chocolate", itemAmount = 2 },
                },
            },
            [9] = {
                itemName = "pond_strawberryfrosted_donut", itemLabel = "Strawberry Frosted Donut", itemPrice = 15, itemAmount = 1, itemDescription = "Strawberry Frosted Donut",
                itemCraftRecipe = {
                    { itemName = "pond_dough", itemAmount = 1 },
                    { itemName = "pond_crema", itemAmount = 2 },
                },
            },
        },
    },
    RawDoughItems = {
        MenuImage = "",
        Items = {
            [1] = {
                itemName = "pond_dough", itemLabel = "Dough", itemPrice = 15, itemAmount = 5, itemDescription = "Dough",
                itemCraftRecipe = {
                    { itemName = "pond_flour", itemAmount = 2 },
                    { itemName = "pond_salt", itemAmount = 2 },
                },
            },
            [2] = {
                itemName = "pond_cupcakedough", itemLabel = "Cup Cake Dough", itemPrice = 15, itemAmount = 5, itemDescription = "Cup Cake Dough",
                itemCraftRecipe = {
                    { itemName = "pond_flour", itemAmount = 2 },
                    { itemName = "pond_salt", itemAmount = 2 },
                },
            },
            [3] = {
                itemName = "pond_salad", itemLabel = "Salad", itemPrice = 15, itemAmount = 5, itemDescription = "Salad",
                itemCraftRecipe = {
                    { itemName = "pond_raw_salad", itemAmount = 1 },
                },
            },
        },
    },
    OvenItems = {
        MenuImage = "",
        Items = {
            [1] = {
                itemName = "pond_soup", itemLabel = "Soup", itemPrice = 10, itemAmount = 1, itemDescription = "Soup",
                itemCraftRecipe = {
                    { itemName = "pond_raw_soup", itemAmount = 1 },
                },
            },
            [2] = {
                itemName = "pond_pasta", itemLabel = "Pasta", itemPrice = 30, itemAmount = 1, itemDescription = "Pasta",
                itemCraftRecipe = {
                    { itemName = "pond_raw_pasta", itemAmount = 1 },
                },
            },
        },
    },
    JuiceItems = {
        MenuImage = "",
        Items = {
            [1] = {
                itemName = "pond_strawberry_juice", itemLabel = "Strawberry Juice", itemPrice = 35, itemAmount = 1, itemDescription = "Strawberry Juice",
                itemCraftRecipe = {
                    { itemName = "pond_strawberry", itemAmount = 10 },
                },
            },
            [2] = {
                itemName = "pond_orange_juice", itemLabel = "Orange Juice", itemPrice = 35, itemAmount = 1, itemDescription = "Orange Juice",
                itemCraftRecipe = {
                    { itemName = "pond_orange", itemAmount = 5 },
                },
            },
        },
    },
}

Config.Settings.StockShop = {
    Freezer = {
        MenuImage = "", MenuTitle = "Stock",
        Items = {
            [1] = {
                itemName = "pond_oil", itemLabel = "Oil", itemPrice = 5, itemAmount = 10, itemDescription = "Oil",
                itemCraftRecipe = {},
            },
            [2] = {
                itemName = "pond_egg", itemLabel = "Egg", itemPrice = 5, itemAmount = 10, itemDescription = "Egg",
                itemCraftRecipe = {},
            },
            [3] = {
                itemName = "pond_sugar", itemLabel = "Sugar", itemPrice = 5, itemAmount = 10, itemDescription = "Sugar",
                itemCraftRecipe = {},
            },
            [4] = {
                itemName = "pond_flour", itemLabel = "Flour", itemPrice = 5, itemAmount = 10, itemDescription = "Flour",
                itemCraftRecipe = {},
            },
            [5] = {
                itemName = "pond_salt", itemLabel = "Salt", itemPrice = 5, itemAmount = 10, itemDescription = "Salt",
                itemCraftRecipe = {},
            },
            [6] = {
                itemName = "pond_caramel", itemLabel = "Caramel", itemPrice = 5, itemAmount = 10, itemDescription = "Caramel",
                itemCraftRecipe = {},
            },
            [7] = {
                itemName = "pond_raw_soup", itemLabel = "Raw Soup", itemPrice = 5, itemAmount = 10, itemDescription = "Raw Soup",
                itemCraftRecipe = {},
            },
            [8] = {
                itemName = "pond_raw_pasta", itemLabel = "Raw Pasta", itemPrice = 5, itemAmount = 10, itemDescription = "Raw Pasta",
                itemCraftRecipe = {},
            },
            [9] = {
                itemName = "pond_crema", itemLabel = "Crema", itemPrice = 5, itemAmount = 10, itemDescription = "Crema",
                itemCraftRecipe = {},
            },
            [10] = {
                itemName = "pond_milk", itemLabel = "Milk", itemPrice = 5, itemAmount = 10, itemDescription = "Milk",
                itemCraftRecipe = {},
            },
            [11] = {
                itemName = "pond_chocolate", itemLabel = "Chocolate", itemPrice = 5, itemAmount = 10, itemDescription = "Chocolate",
                itemCraftRecipe = {},
            },
            [12] = {
                itemName = "pond_wchocolate", itemLabel = "White Chocolate", itemPrice = 5, itemAmount = 10, itemDescription = "White Chocolate",
                itemCraftRecipe = {},
            },
            [13] = {
                itemName = "pond_coffeebean", itemLabel = "Coffee Bean", itemPrice = 5, itemAmount = 10, itemDescription = "Coffee Bean",
                itemCraftRecipe = {},
            },
            [14] = {
                itemName = "pond_raw_pizza", itemLabel = "Raw Pizza", itemPrice = 5, itemAmount = 10, itemDescription = "Raw Pizza",
                itemCraftRecipe = {},
            },
            [15] = {
                itemName = "pond_raw_salad", itemLabel = "Raw Salad", itemPrice = 5, itemAmount = 10, itemDescription = "Raw Salad",
                itemCraftRecipe = {},
            },
            [16] = {
                itemName = "pond_strawberry", itemLabel = "Strawberry", itemPrice = 5, itemAmount = 10, itemDescription = "Strawberry",
                itemCraftRecipe = {},
            },
            [17] = {
                itemName = "pond_orange", itemLabel = "Orange", itemPrice = 5, itemAmount = 10, itemDescription = "Orange",
                itemCraftRecipe = {},
            },
        },
    },
}

config.lua'nın geri kalanını koru. Büyük veri tabloları (tarif, animasyon, araç/süre listeleri, stok) burada üretilmez — config.lua'da düzenle.