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 = {
	-- More languages can be added
	Language = "en", -- en - English | es - Spanish | zh_tw - Chinese (Traditional) | kr - Korean | fr - French | pt_br - Portuguese (Brazil)
	Debug = true,
	theme = "gblue", -- gblue | theme2 | theme3 | theme4 | theme5 - defalt theme
}

-- 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

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
}


Config.OrderSystems = {
	['cat_cafe'] = { -- job name
		name = "Cat Cafe",
		allowProductPageGrades = { 2, 3, 4 },
		allowManagementPageGrades = { 3, 4 },
	},
}
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
}

Last updated