Preview Config
lib.locale()
Config = {}
Config.Debug = {
PolyZone = false, --Shows Red Boxes for Target
DrawSprite = true --Show White Circles above the target locations
}
Config.LogEnable = true --edit the webhook in Server/Log.lua
Config.CheckVersion = true
Config.Blip = {
BlipName = "BeanMachine", --Blip Name
Enable = true,
Coords = vector3(119.69, -1036.463, 29.278),
Options = {
Sprite = 106,
Color = 12,
Scale = 0.8,
Display = 4
}
}
-- If you want to change the red marker that appears on item processing edit this
Config.MarkerSettings = {
type = 2, -- Marker type
width = 0.2, -- Marker width
height = 0.3, -- Marker height
color = { r = 255, g = 0, b = 0, a = 100 } -- Marker color
}
Config.TextUI = 'ox_lib' --'ox_lib', 'qb-core', 'jg-textui', 'esx_textui', 'cd_drawtextui'
Config.Society = {
enable = true,
society_script = "qb-management", --esx_society, qb-management,qb-banking
}
Config.Target = "qb-target" --ox-target, qb-target
Config.Notify = 'ox' --ox, esx, okok,qb,wasabi,custom
Config.ShopMode = 'automatic' -- 'self' , 'automatic'
--for ox inventory ox_inventory/web/images/
--for qausar inventory qs-inventory/html/images/
--for qb-inventory qb-inventory/html/images/
--for ps-inventory ps-inventory/html/images/
--for codem inventory codem-inventory/html/images/
--for ak47 inventory ak47_inventory/web/build/images/
Config.Invimages = 'qb-inventory/html/images/' -- Image path for your inventory
Config.Jobname = 'beanmachine' -- Job Name
Config.Progressbar = 'ox_lib' -- qb, ox_lib, ox_lib_circle
--This is remove the green zone markers and enable target
Config.RemoveMarkers = true
Config.StashInventory = {
--Stash
StashSlot = 60,
StashWeight = 80000,
--Table
TableSlot = 10,
TableWeight = 20000,
--Counter
CounterSlot = 10,
CounterWeight = 20000,
}
Config.BillingMenu = 'qb-phone' -- 'esx_billing','qb-phone','s1n_billing','okokBilling'
Config.MaxBillAmount = 1000
Config.Clothing = 'qb-clothing' --esx_skin,illenium-appearance,fivem-appearance,qb-clothing
Config.Uniforms = {
clothes = {
male = {
tshirt_1 = 15, tshirt_2 = 0,
torso_1 = 382, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 0,
pants_1 = 0, pants_2 = 0,
shoes_1 = 0, shoes_2 = 0,
helmet_1 = 156, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 0, ears_2 = 0
},
female = {
tshirt_1 = 15, tshirt_2 = 0,
torso_1 = 382, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 0,
pants_1 = 0, pants_2 = 0,
shoes_1 = 0, shoes_2 = 0,
helmet_1 = 156, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 0, ears_2 = 0
}
},
}
Config.CheckCanCarryItem = false -- Only for ESX
Config.Shop = {
Clothing = {
Coords = vector3(128.1, -1031.18, 29.28),
},
management = vector3(120.83, -1043.27, 29.28), --Where you can manage your shop
fridge = vector3(122.59, -1040.34, 29.28), -- From where you will buy ingrediants
process = vector3(123.66, -1037.48, 29.28), --From where you will start making items
shop = {
vector3(120.73, -1038.08, 29.28),
}, --Shop buy menu
storagestash = vector3(126.47, -1035.29, 29.28),
bossmenu = vector3(121.99, -1042.7, 29.28),
Storage = {
label = "Fridge",
items = {
Donuts = {
{ name = "bm_dough", label="Dough", price = 50, amount = 50},
{ name = "bm_cinnamon_sugar", label="Cinnamon Sugar", price = 50, amount = 50},
{ name = "bm_crushed_cookies", label="Crushed Cookies & Cream", price = 50, amount = 50},
{ name = "bm_egg_dough", label="Egg Dough", price = 50, amount = 50},
{ name = "bm_chocolate_syrup", label="Chocolate Syrup", price = 50, amount = 50},
{ name = "bm_strawberry_glaze", label="Strawberry Glaze", price = 50, amount = 50},
},
Coffee = {
{ name = "bm_americano", label="Hot Water", price = 50, amount = 50},
{ name = "bm_cappuccino", label="Milk", price = 50, amount = 50},
{ name = "bm_iced_coffee", label="Ice Cubes", price = 50, amount = 50},
{ name = "bm_iced_macchiato", label="Caramel Drizzle", price = 50, amount = 50},
{ name = "bm_mocha", label="Chocolate Syrup", price = 50, amount = 50},
},
Cookies = {
{ name = "bm_chocolate_chip_cookie", label="Chocolate Chips", price = 50, amount = 50},
{ name = "bm_double_chocolate_cookie", label="Cocoa Powder", price = 50, amount = 50},
{ name = "bm_oatmeal_raisin_cookie", label="Raisins", price = 50, amount = 50},
{ name = "bm_peanut_butter_cookie", label="Peanut Butter", price = 50, amount = 50},
{ name = "bm_white_chocolate_cookie", label="White chocolate", price = 50, amount = 50},
},
Sandwiches = {
{ name = "bm_blt_sandwich", label="Crispy Bacon", price = 50, amount = 50},
{ name = "bm_chicken_pesto_panini_sandwich", label="Basil Pesto", price = 50, amount = 50},
{ name = "bm_classicclub_sandwich", label="Ham", price = 50, amount = 50},
{ name = "bm_grilled_cheese_sandwich", label="Cheese", price = 50, amount = 50},
{ name = "bm_tuna_melt_sandwich", label="Tuna Salad", price = 50, amount = 50},
}
},
},
ItemOrder = {
"Donuts",
"Coffee",
"Cookies",
"Sandwiches",
},
categories = {
Donuts = {
label = "Donuts", --Donot Change
icon = "fas fa-cookie-bite",
workingcoords = vector3(122.68, -1043.95, 29.28),
items = {
bm_strawberry_iced_donut = {
label="Strawberry Iced Donut",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_dough', label="Dough", quantity = 1}, -- Main ingredient
{item = 'bm_strawberry_glaze', label="Strawberry Glaze", quantity = 1},
},
},
bm_chocolate_frosted_donut = {
label="Chocolate Frosted Donut",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_dough', label="Dough", quantity = 1},
{item = 'bm_chocolate_syrup', label="Chocolate Syrup", quantity = 1},
},
},
bm_cruller_donut = {
label="Cruller Donut",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_dough', label="Dough", quantity = 1},
{item = 'bm_egg_dough', label="Egg Dough", quantity = 1},
},
},
bm_cookiecream_donut = {
label="Cookie Cream Donut",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_dough', label="Dough", quantity = 1},
{item = 'bm_crushed_cookies', label="Crushed Cookies & Cream", quantity = 1},
},
},
},
bm_cinnamon_sugar_donut = {
label="Cinnamon Sugar Donut",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_dough', label="Dough", quantity = 1},
{item = 'bm_cinnamon_sugar', label="Cinnamon Sugar", quantity = 1},
},
},
},
Coffee= {
label = "Coffee", --Donot Change
icon = "fas fa-glass-martini-alt",
workingcoords = vector3(124.05, -1036.52, 29.28),
items = {
bm_americano = {
label="Americano",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_coffee_beans', label="Coffee Beans", quantity = 1},
{item = 'bm_hot_water', label="Hot Water", quantity = 1},
},
},
bm_cappuccino = {
label="Cappuccino",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_coffee_beans', label="Coffee Beans", quantity = 1},
{item = 'bm_milk', label="Milk", quantity = 1},
},
},
bm_iced_coffee = {
label="Iced Coffee",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_coffee_beans', label="Coffee Beans", quantity = 1},
{item = 'bm_ice_cubes', label="Ice Cubes", quantity = 1},
},
},
bm_iced_macchiato = {
label="Iced Macchiato",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_coffee_beans', label="Coffee Beans", quantity = 1},
{item = 'bm_caramel_drizzle', label="Caramel Drizzle", quantity = 1},
},
},
bm_mocha = {
label="Mocha",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_coffee_beans', label="Coffee Beans", quantity = 1},
{item = 'bm_chocolate_syrup', label="Chocolate Syrup", quantity = 1},
},
},
}
},
Cookies = {
label = "Cookies", --Donot Change
icon = "fas fa-bread-slice",
workingcoords = vector3(122.11, -1039.02, 29.28),
items = {
bm_double_chocolate_cookie = {
label="Double Chocolate Cookie",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_cookie_dough',label="Cookie Dough", quantity = 1},
{item = 'bm_cocoa_powder',label="Cocoa Powder", quantity = 1},
},
},
bm_oatmeal_raisin_cookie = {
label="Oatmeal Raisin Cookie",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_cookie_dough',label="Cookie Dough", quantity = 1},
{item = 'bm_raisins',label="Raisins", quantity = 1},
},
},
bm_peanut_butter_cookie = {
label="Peanut Butter Cookie",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_cookie_dough',label="Cookie Dough", quantity = 1},
{item = 'bm_peanut_butter',label="Peanut Butter", quantity = 1},
},
},
bm_white_chocolate_cookie = {
label="White Chocolate Cookie",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_cookie_dough',label="Cookie Dough", quantity = 1},
{item = 'bm_white_chocolate',label="White Chocolate", quantity = 1},
},
},
bm_chocolate_chip_cookie = {
label="Chocolate Chip Cookie",
price = 50, --For Starting Price
reward = 1, --item reward on completing
duration = 10000,
required = { -- required items for crafting
{item = 'bm_cookie_dough',label="Cookie Dough", quantity = 1},
{item = 'bm_chocolate_chip',label="Chocolate Chip", quantity = 1},
},
},
}
},
Sandwiches = {
label = "Sandwiches", -- Do not change
icon = "fas fa-box",
workingcoords = vector3(123.9, -1034.36, 29.28),
items = {
bm_tuna_melt_sandwich = {
label = "Tuna Melt Sandwich",
price = 50, -- For starting price
reward = 1, -- Item reward on completing
duration = 10000,
required = { -- Required items for crafting
{item = 'bm_bread', label="Bread", quantity = 1},
{item = 'bm_tuna_salad', label="Tuna Salad", quantity = 1},
},
},
bm_chicken_pesto_panini_sandwich = {
label = "Chicken Pesto Panini",
price = 50, -- For starting price
reward = 1, -- Item reward on completing
duration = 10000,
required = { -- Required items for crafting
{item = 'bm_bread', label="Bread", quantity = 1},
{item = 'bm_pesto_sauce', label="Pesto Sauce", quantity = 1},
},
},
bm_classicclub_sandwich = {
label = "Classic Club Sandwich",
price = 50, -- For starting price
reward = 1, -- Item reward on completing
duration = 10000,
required = { -- Required items for crafting
{item = 'bm_bread', label="Bread", quantity = 1},
{item = 'bm_ham', label="Ham", quantity = 1},
},
},
bm_grilled_cheese_sandwich = {
label = "Grilled Cheese Sandwich",
price = 50, -- For starting price
reward = 1, -- Item reward on completing
duration = 10000,
required = { -- Required items for crafting
{item = 'bm_bread', label="Bread", quantity = 1},
{item = 'bm_cheese', label="Cheese", quantity = 1},
},
},
bm_blt_sandwich = {
label = "BLT Sandwich",
price = 50, -- For starting price
reward = 1, -- Item reward on completing
duration = 10000,
required = { -- Required items for crafting
{item = 'bm_bread', label="Bread", quantity = 1},
{item = 'bm_crispy_bacon', label="Crispy Bacon", quantity = 1},
},
},
}
},
}
}
Config.Chairs = {
--RoundTableSeating
{ coords = vector4(122.391, -1046.867, 29.630, 139.665), stand = vector3(121.628, -1046.55, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(121.752, -1048.591, 29.630, 350.704), stand = vector3(120.97, -1047.994, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(117.92, -1047.669, 29.630, 58.348), stand = vector3(118.159, -1046.881, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(116.246, -1047.045, 29.630, 248.141), stand = vector3(116.672, -1046.521, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(123.494, -1028.738, 29.630, 183.503), stand = vector3(122.812, -1028.967, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(125.098, -1029.066, 29.630, 162.554), stand = vector3(125.469, -1030.07, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
--squaretableseating and rectangle table
{ coords = vector4(114.274, -1046.116, 28.9, 338.056), stand = vector3(115.243, -1046.005, 28.922-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(113.329, -1044.387, 28.9, 267.558), stand = vector3(114.306, -1043.762, 28.922-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(119.09, -1028.527, 29.3, 245.6), stand = vector3(119.395, -1029.422, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(120.635, -1027.826, 29.3, 163.239), stand = vector3(120.798, -1028.603, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(119.047, -1031.598, 29.3, 177.804), stand = vector3(119.047, -1032.366, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(117.696, -1032.594, 29.3, 251.196), stand = vector3(118.426, -1032.51, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(117.8, -1036.031, 29.3, 340), stand = vector3(118.128, -1035.292, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(117.045, -1034.315, 29.3, 249.279), stand = vector3(117.664, -1034.606, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(117.285, -1033.403, 29.3, 247.463), stand = vector3(117.921, -1033.872, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
-- single chair
{ coords = vector4(119.913, -1044.945, 29.61, 338.011), stand = vector3(120.637, -1044.905, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(118.787, -1044.046, 29.61, 298.612), stand = vector3(118.739, -1043.435, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(118.796, -1042.821, 29.61, 262.925), stand = vector3(118.784, -1042.161, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(119.117, -1041.76, 29.61, 250.687), stand = vector3(119.635, -1041.208, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(121.838, -1034.455, 29.61, 246.69), stand = vector3(121.632, -1035.157, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(122.222, -1033.43, 29.61, 247.653), stand = vector3(122.744, -1032.893, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(123.017, -1032.385, 29.61, 193.797), stand = vector3(123.627, -1032.573, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
{ coords = vector4(124.368, -1032.503, 29.61, 162.677), stand = vector3(125.637, -1033.042, 29.278-0.5) , minZ = 25.0, maxZ = 27.5, w = 0.5, h = 0.5},
}
Config.Tables = {
--roundtable
{ name = "Bean Machine Table 01", coords = vector3(122.0, -1047.7, 29.0), heading = 340.0, minZ = 28.2, maxZ = 29.4, w = 1.1, h = 1.1, },
{ name = "Bean Machine Table 02", coords = vector3(117.1, -1047.3, 29.0), heading = 340.0, minZ = 28.2, maxZ = 29.4, w = 1.1, h = 1.1, },
{ name = "Bean Machine Table 03", coords = vector3(124.207, -1029.13, 29.572), heading = 340.0, minZ = 28.2, maxZ =29.4, w = 1.1, h = 1.1, },
--squaretable
{ name = "Bean Machine Table 04", coords = vec3(115.05, -1044.7, 28.1), heading = 70.54, minZ = 28.0, maxZ = 28.60, w = 1.2, h = 1.2, },
{ name = "Bean Machine Table 05", coords = vec3(120.4, -1029.5, 28.8), heading = 70.54, minZ = 28.40, maxZ = 28.90, w = 1.2, h = 1.2, },
--rectangletable
{ name = "Bean Machine Table 06", coords = vec3(118.9, -1034.0, 28.8), heading = 340.0, minZ = 28.40, maxZ = 28.90, w = 1.2, h =2.15, },
--countertable
{ name = "Bean Machine Table 07", coords = vector3(124.14, -1033.45, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 08", coords = vector3(123.24, -1033.37, 29.2), heading = 26.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 09", coords = vector3(123.169, -1033.823, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 10", coords = vector3(122.75, -1034.761, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 11", coords = vector3(120.14, -1042.108, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 12", coords = vector3(119.769, -1042.951, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 13", coords = vector3(119.539, -1043.601, 29.2), heading = 301.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
{ name = "Bean Machine Table 14", coords = vector3(120.177, -1044.107, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.40, w = 0.4, h =0.4, },
}
Config.Billing = {
{ name = "Bean Machine Billing Counter 1", coords = vec3(120.8, -1040.1, 29.3), heading = 340.25, minZ = 29.10, maxZ = 29.80, w = 0.55, h = 0.6, },
{ name = "Bean Machine Billing Counter 2", coords = vec3(122.05, -1036.5, 29.3), heading = 340.25, minZ = 29.10, maxZ = 29.80, w = 0.5, h = 0.4, },
}
Config.Counter = {
{ name = "Bean Machine Counter 01", coords = vec3(121.95, -1037.1, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.50, w = 0.5, h = 0.5, },
{ name = "Bean Machine Counter 02", coords = vec3(120.6, -1040.75, 29.2), heading = 340.0, minZ = 29.10, maxZ = 29.50, w = 0.5, h = 0.5, },
}
--This is Used When Config.RemoveMarkers = true
Config.TargetCoords = {
Fridge = {
{ name = ""..Config.Jobname.." Fridge", coords =vector3(123.0, -1040.5, 29.0),heading=340, minZ = 28.8, maxZ = 29.2, w = 0.75, h = 0.75, }
},
Management = {
{ name = ""..Config.Jobname.." Management", coords =vec3(120.75, -1043.75, 29.25),heading=340, minZ = 29.0, maxZ = 29.40, w = 0.45, h = 0.45, }
},
Process = {
{ name = ""..Config.Jobname.." Process", coords =vec3(124.1, -1037.8, 29.25),heading=340.0, minZ = 29.0, maxZ = 29.40, w = 0.3, h = 0.3, }
},
Stash = {
{ name = ""..Config.Jobname.." Stash", coords =vec3(126.5, -1034.7, 28.85),heading=340, minZ = 28.65, maxZ = 29.0, w = 0.3, h = 0.65, }
},
BossMenu = {
{ name = ""..Config.Jobname.." BossMenu", coords =vec3(122.45, -1042.5, 29.25),heading=340, minZ = 29.0, maxZ = 29.40, w = 0.25, h = 0.25, }
},
Clothing = {
{ name = ""..Config.Jobname.." Clothing", coords =vector3(128.4, -1031.25, 29.0),heading=340.0, minZ = 28.9, maxZ = 29.3, w = 0.5, h = 0.5, }
}
}
Last updated