Configuration
Configuration Overview
Config = {}
--- RECOMENDED TO LEAVE AS TRUE ---
Config.CheckForUpdates = true -- Check for updates on server start
Config.AutoImportSQL = true -- Automatically import on server start
Config.SystemSettings = {
Language = "en", -- en - English | es - Spanish | zh_tw - Chinese (Traditional) | kr - Korean | fr - French | pt_br - Portuguese (Brazil)
Debug = false,
theme = "gblue", -- gblue | theme2 | theme3 | theme4 | theme5 - defalt theme
-- Even if you use an NPC delivery job with OpenMenuVia == "target", you still need a text UI to park the vehicle.
OpenMenuVia = "target", -- target | textui | custom
}
-- TextUI settings
Config.Key = 38 -- 38 = [E] https://docs.fivem.net/docs/game-references/controls/#controls
Config.KeyName = "[E] "
Config.TextUI = "ox_lib" -- supported Notifications TextUi's - "ox_lib" | "okok" | "esx" | "qbcore"
-- g-notifications package - https://groot-development.tebex.io/package/6838310
Config.Notify =
"g-notifications" -- supported Notification's' - "g-notifications" | "ox_lib" | "esx" | "qbcore" | "okok" | 17mov | standalone
-- You can add your custom ProgressBar in src/client/cl_edit.lua.
Config.ProgressBar = "ox_lib" -- supported ProgressBars's - "ox_lib" | "qbcore" | "custom"
Config.PosSettings = {
enableClickSound = true,
MaxQuantityPerItem = 10,
CurrencySymbol = "$",
isTimeFormat24 = true,
TaxPercentage = 10,
MaxPriceEditAmount = 20000,
totalTables = 7,
pos_tablet_item = "pos_tablet",
pos_receipt_item = "pos_receipt",
-- This is the type used when you deposit or withdraw money from the POS.
deposit_and_withdraw_type = "cash", -- cash | bank
useTablet3DEffect = true,
nearbyDist = 10.0, -- distance radius to detect nearby players
-- update 1.1.0
enablePagerNotification = false,
Crafting = {
enable = true,
-- if type is inbuilt, the menu will show in the pos tablet
-- if type is external, the menu will show in the external menu
type = "external", -- inbuilt | external
},
-- update 1.3.0
enablePosJob = true,
-- if this false system will use inbuilt society system
-- If true, deposits and withdrawals will use your framework’s society/banking system
UseSocietyPayouts = false,
POSPlayerCommission = {
enabled = false, -- Enable commission system for POS sales
commissionMoneyType = "bank", -- cash | bank - type of money for player commission
},
-- update 1.4.0
enableSelfOrderSystem = true,
}
Config.OrderSystems = {
['cat_cafe'] = { -- job name
name = "Cat Cafe",
allowProductPageGrades = { 2, 3, 4 },
allowManagementPageGrades = { 3, 4 },
allowCraftingPageGrades = { 2, 3, 4 },
-- crafting config
-- This will only work if you enable the crafting in the pos settings
crafting = {
kitchenCoords = {
vec3(-1195.2910, -899.5399, 13.8862)
},
},
playerPercentage = 15, -- Percentage of sale that goes to the player who made the sale (if 0 rest goes to society)
-- update 1.4.0
SelfOrderSystem = {
coords = {
vec3(-1189.2491, -887.4050, 13.8862),
},
}
},
}
POS items
-- These are header category and these category will be shown in the main page
Config.CategoryIcons = {
['breakfast'] = {
text = "Breakfast",
icon = "fa-solid fa-bread-slice"
},
['lunch'] = {
text = "Lunch",
icon = "fa-solid fa-hamburger"
},
['dinner'] = {
text = "Dinner",
icon = "fa-solid fa-utensils"
},
['snacks'] = {
text = "Snacks",
icon = "fa-solid fa-cookie"
},
['desserts'] = {
text = "Desserts",
icon = "fa-solid fa-ice-cream"
},
['sauces'] = {
text = "Sauces",
icon = "fa-solid fa-bottle-droplet"
},
['beverages'] = {
text = "Beverages",
icon = "fa-solid fa-mug-saucer"
},
-- Add more if you want
}
-- Config for products. These products can only be added to a restaurant.
-- AllowedJobs = {'<job_name>'} → If empty, all jobs can add this item to their shop.
Config.Items = {
[1] = {
itemName = "water",
itemLabel = "Water",
image = "water.png",
AllowedJobs = { "cat_cafe", "bar", "police" },
Category = "beverages",
},
[2] = {
itemName = "fries",
itemLabel = "Fries",
image = "fries.png",
AllowedJobs = { "cat_cafe", "bar", "police" },
Category = "snacks",
},
[3] = {
itemName = "mustard",
itemLabel = "Mustard",
image = "mustard.png",
AllowedJobs = { "cat_cafe", "bar", "police" },
Category = "sauces",
},
[4] = {
itemName = "pizza_ham",
itemLabel = "Ham Pizza",
image = "pizza_ham.png",
AllowedJobs = { "cat_cafe", "bar", "police" },
Category = "dinner",
},
-- Add more items as needed
}
Pos Cooking/Crafting items
Config.PosCraftingItems = {
["water"] = {
label = "Water",
item = "water",
image = "water.png",
ingredients = {},
craftingTime = 5000, -- in milliseconds
maxCraft = 10,
category = "beverages",
jobs = { "cat_cafe", },
},
["burger"] = {
label = "Burger",
item = "burger",
image = "burger.png",
ingredients = {
{ item = "bun", label = "Bun", image = "bun.png", quantity = 1 },
{ item = "patty", label = "Patty", image = "patty.png", quantity = 1 },
{ item = "lettuce", label = "Lettuce", image = "lettuce.png", quantity = 1 },
{ item = "tomato", label = "Tomato", image = "tomato.png", quantity = 1 },
},
craftingTime = 5000, -- in milliseconds
maxCraft = 10,
category = "lunch",
jobs = { "cat_cafe", },
},
["fries"] = {
label = "Fries",
item = "fries",
image = "fries.png",
ingredients = {
{ item = "potato", label = "Potato", image = "potato.png", quantity = 2 },
{ item = "oil", label = "Oil", image = "oil.png", quantity = 1 },
},
craftingTime = 3000, -- in milliseconds
maxCraft = 5,
category = "snacks",
jobs = { "cat_cafe", },
},
["mustard"] = {
label = "Mustard",
item = "mustard",
image = "mustard.png",
ingredients = {
{ item = "mustard", label = "Mustard", image = "mustard.png", quantity = 1 },
},
category = "sauces",
jobs = { "cat_cafe", },
},
["pizza_ham"] = {
label = "Ham Pizza",
item = "pizza_ham",
image = "pizza_ham.png",
ingredients = {
{ item = "dough", label = "Dough", image = "dough.png", quantity = 1 },
{ item = "ham", label = "Ham", image = "ham.png", quantity = 1 },
},
category = "dinner",
jobs = { "cat_cafe"},
},
['sprunk'] = {
label = "Sprunk",
item = "sprunk",
image = "sprunk.png",
ingredients = {
{ item = "sprunk", label = "Sprunk", image = "sprunk.png", quantity = 1 },
},
category = "beverages",
jobs = { "cat_cafe", "police" },
},
}
Last updated