Config File

This is the default config file


-- If you need support I now have a discord available, it helps me keep track of issues and give better support.

-- https://discord.com/invite/Gh4VpmAssN

Config = {
	Debug = false,  -- false to remove green boxes
	PrintDebug = false, -- false to remove f8 debug messages for the script

	-- Support Options
	Menu = "qb", -- "qb" or "ox"
	Notify = "okok", -- "qb" or "okok" or "infinity" or "rr" or "t"
	Fuel = "LegacyFuel", -- "LegacyFuel" or "ps-fuel"

	-- Blip
	blipEnable = true,
	blipName = "McDonalds",
	blipCoord = vector3(-584.71, -876.44, 25.92),
	blipSprite = 124,
	blipColor = 5,
	blipScale = 1.0,

	-- Job
	Job = "mcdonalds",
    	autoClock = { enter = true, exit = false, }, -- Turning these on will detect if the person has the job and auto clock them on or off
    	zones = { -- Clockin/out zone
		vector2(-570.67, -855.2),
		vector2(-571.47, -905.38),
		vector2(-621.8, -905.4),
		vector2(-622.75, -855.99)
	},

	-- Music Booth
	Booth = {
		enableBooth = true, -- Set false if using external DJ/Music stuff.
		DefaultVolume = 0.1, -- 0.01 is lowest, 1.0 is max
		radius = 50, -- The radius of the sound from the booth
		coords = vector3(-586.19, -883.36, 24.95), -- Where the booth is located
		heading = 178.36, -- Angle of object
		playing = false, -- Do not touch
	},

	Locations = {
		tables = { -- Locations of tables with stashes
			[1] = vector3(-587.7, -877.02, 25.8),
			[2] = vector3(-589.48, -876.99, 25.78),
			[3] = vector3(-588.19, -873.36, 25.05),
			[4] = vector3(-581.7, -874.67, 25.83),
			[5] = vector3(-581.85, -877.55, 25.82),
    	},
		refillmachines = { -- Locations of soda machines
			[1] = vector4(-583.43, -884.93, 26.3, 359.77),
			[2] = vector4(-581.48, -879.74, 26.44, 270.06),
			[3] = vector4(-588.44, -892.01, 26.19, 183.28),
			[4] = vector4(-587.72, -891.79, 26.2, 183.28),
		},
		blenders = { -- Locations of blenders to make milkshakes
			[1] = vector4(-590.47, -887.66, 26.06, 118.49),
			[2] = vector4(-583.53, -896.1, 26.14, 180.06),
		},
		register = { -- Locations of cash register to fine customers
			[1] = vector4(-584.14, -880.44, 26.07, 360.0),
			[2] = vector4(-582.04, -880.44, 26.07, 360.0),
			[3] = vector4(-579.11, -879.92, 26.07, 360.0),
		},
		clockin = { -- Locations of where workers can clockin and bosses can access boss menu
			[1] = vector4(-588.04, -880.71, 26.95, 186.54)
		},
		Meat = { [1] = vector4(-580.25, -891.24, 25.95, 180.27),}, -- Meat Cooking Locations
		Food = {[1] = vector4(-582.16, -895.98, 26.91, 182.18),}, -- Food Preparing Locations
		Sides = {[1] = vector4(-586.23, -896.0, 26.8, 183.75),} -- Sides Frying Locations
	},

	Consumable = { -- How much food and drink percentage gets filled up by item, and how long to consume item.
		combomeal = {drink = 30, food = 50, time = 7},
		bigmac = {drink = 0, food = 50, time = 3},
		mcchicken = {drink = 0, food = 50, time = 3},
		mcroyaldeluxe = {drink = 0, food = 50, time = 3},
		cbo = {drink = 0, food = 50, time = 3},
		quarterpounder = {drink = 0, food = 50, time = 3},
		chickendeluxe = {drink = 0, food = 50, time = 3},
		bigdoublecheese = {drink = 0, food = 50, time = 3},
		mcfish = {drink = 0, food = 50, time = 3},

		sfries = {drink = 0, food = 30, time = 2},
		lfries = {drink = 0, food = 40, time = 3},
		mcnuggets4 = {drink = 0, food = 40, time = 3},
		mcnuggets9 = {drink = 0, food = 50, time = 3},

		mcvmilkshake = {drink = 50, food = 0, time = 4},
		mcsmilkshake = {drink = 50, food = 0, time = 4},
		mccmilkshake = {drink = 50, food = 0, time = 4},

		mccocacup = {drink = 40, food = 0, time = 3},
		mcspritecup = {drink = 40, food = 0, time = 3},
		mcfantacup = {drink = 40, food = 0, time = 3},
	}
}
StorageItems = { -- For job only players, to get items to sell or craft food
	label = "Storage",
	slots = 17,
	items = {
		{ name = "slicedpotatoes", price = 0, amount = 50, info = {}, type = "item", slot = 1, },
		{ name = "slicedonions", price = 0, amount = 50, info = {}, type = "item", slot = 2, },
		{ name = "slicedtomatoes", price = 0, amount = 50, info = {}, type = "item", slot = 3, },
		{ name = "lettuce", price = 0, amount = 50, info = {}, type = "item", slot = 4, },
		{ name = "pickle", price = 0, amount = 50, info = {}, type = "item", slot = 5 },
		{ name = "cheese", price = 0, amount = 50, info = {}, type = "item", slot = 6, },
		{ name = "rawchicken", price = 0, amount = 50, info = {}, type = "item", slot = 7, },
		{ name = "rawfish", price = 0, amount = 50, info = {}, type = "item", slot = 8, },
		{ name = "rawbeef", price = 0, amount = 50, info = {}, type = "item", slot = 9, },
		{ name = "frozennugget", price = 0, amount = 50, info = {}, type = "item", slot = 10, },
		{ name = "burgerbun", price = 0, amount = 50, info = {}, type = "item", slot = 11, },
		{ name = "bacon", price = 0, amount = 50, info = {}, type = "item", slot = 12, },
		{ name = "vicecream", price = 0, amount = 50, info = {}, type = "item", slot = 13 },
		{ name = "sicecream", price = 0, amount = 50, info = {}, type = "item", slot = 14 },
		{ name = "cicecream", price = 0, amount = 50, info = {}, type = "item", slot = 15 },
		{ name = "mcemptyscup", price = 0, amount = 50, info = {}, type = "item", slot = 16 },
		{ name = "mcemptymcup", price = 0, amount = 50, info = {}, type = "item", slot = 17 },
	},
}
Crafting = {
	Meat = {
		{ ['beefpatty'] = { ['rawbeef'] = 1,} },
		{ ['batteredfish'] = { ['rawfish'] = 1,} },
		{ ['chickenpatty'] = { ['rawchicken'] = 1,} },
	},

	Food = {
		{ ['combomeal'] = { ['bigmac'] = 1, ['lfries'] = 1, ['mcemptyscup'] = 1,} },
		{ ['bigmac'] = { ['burgerbun'] = 1, ['cheese'] = 1, ['beefpatty'] = 2, ['slicedtomatoes'] = 1, ['slicedonions'] = 1, ['lettuce'] = 1, ['pickle'] = 1, } },
		{ ['mcchicken'] = { ['burgerbun'] = 1, ['lettuce'] = 1, ['chickenpatty'] = 1,} },
		{ ['mcroyaldeluxe'] = { ['burgerbun'] = 1, ['cheese'] = 1, ['beefpatty'] = 1, ['slicedtomatoes'] = 1, ['slicedonions'] = 1, ['lettuce'] = 1, } },
		{ ['cbo'] = { ['burgerbun'] = 1, ['slicedonions'] = 1,['cheese'] = 1, ['bacon'] = 1,} },
		{ ['quarterpounder'] = { ['burgerbun'] = 1, ['beefpatty'] = 1, ['cheese'] = 2, } },
		{ ['chickendeluxe'] = { ['burgerbun'] = 1, ['cheese'] = 1, ['chickenpatty'] = 1, ['slicedtomatoes'] = 1, ['slicedonions'] = 1, ['lettuce'] = 1, } },
		{ ['bigdoublecheese'] = { ['burgerbun'] = 1, ['cheese'] = 2, ['beefpatty'] = 2, ['slicedtomatoes'] = 1, ['slicedonions'] = 1, ['lettuce'] = 1, ['pickle'] = 1, } },
		{ ['mcfish'] = { ['burgerbun'] = 1, ['batteredfish'] = 1, ['cheese'] = 1,} },
	},

	Sides = {
		{ ['sfries'] = { ['slicedpotatoes'] = 10,} },
		{ ['lfries'] = { ['slicedpotatoes'] = 15, } },
		{ ['mcnuggets4'] = { ['frozennugget'] = 4, } },
		{ ['mcnuggets9'] = { ['frozennugget'] = 9, } },
	},

	Milkshake = {
		{ ['mcvmilkshake'] = { ['mcemptymcup'] = 1, ['vicecream'] = 1, } },
		{ ['mcsmilkshake'] = { ['mcemptymcup'] = 1, ['sicecream'] = 1, } },
		{ ['mccmilkshake'] = { ['mcemptymcup'] = 1, ['cicecream'] = 1, } },
	},

	Drinks = {
		{ ['mccocacup'] = { ['mcemptyscup'] = 1,} },
		{ ['mcspritecup'] = { ['mcemptyscup'] = 1, } },
		{ ['mcfantacup'] = { ['mcemptyscup'] = 1, } },
	},
}

MapEdit = { -- This is set for the mlo used in preview.
	DeleteProps = { -- Deletes props
		[1] = {coords = vector3(-587.52, -876.81, 25.76), hash = -446181301},
		[2] = {coords = vector3(-581.94, -877.6, 25.76), hash = -446181301},
		[3] = {coords = vector3(-587.43, -873.39, 25.98), hash = -1455204349},
		[4] = {coords = vector3(-582.04, -877.62, 25.79), hash = -2054442544},
		[5] = {coords = vector3(-581.94, -877.6, 25.76), hash = -446181301},
		[6] = {coords = vector3(-581.83, -877.68, 25.78), hash = -521383735},
		[7] = {coords = vector3(-587.41, -876.87, 25.78), hash = -521383735},
		[8] = {coords = vector3(-587.62, -876.83, 25.79), hash = -2054442544},
		[9] = {coords = vector3(-583.24, -880.37, 25.96), hash = -446181301},
		[10] = {coords = vector3(-583.14, -880.38, 26.08), hash = 910205311},
		[11] = {coords = vector3(-583.34, -880.35, 26.08), hash = 910205311},
		[12] = {coords = vector3(-580.09, -890.44, 25.44), hash = 2064772359},
		[13] = {coords = vector3(-579.91, -890.98, 26.41), hash = 2064772359},
		[14] = {coords = vector3(-579.62, -887.57, 25.33), hash = -177104014},
		[15] = {coords = vector3(-588.4, -890.95, 25.07), hash = 1167668471},
	},
	proptable = { -- Spawns props
		{ prop = "plateau1", coords = vector4(-587.02, -873.39, 27.01, 9.64) },
		{ prop = "plateau1", coords = vector4(-581.87, -874.48, 26.78, 107.33) },
		{ prop = "plateau2", coords = vector4(-581.86, -877.57, 26.81, 86.77) },
		{ prop = "plateau1", coords = vector4(-587.45, -877.06, 26.78, 6.37) },
		{ prop = "plateau2", coords = vector4(-589.28, -877.07, 26.78, 6.37) },
		{ prop = "filetofish", coords = vector4(-584.6, -883.53, 27.53, 90.0) },
		{ prop = "bigtasty", coords = vector4(-582.89, -883.6, 27.54, 90.0) },
		{ prop = "triplecheese", coords = vector4(-583.8, -883.58, 27.54, 90.0) },
		{ prop = "prop_cooker_03", coords = vector4(-580.25, -891.24, 25.95, 180.27) },
		{ prop = "plateauvide", coords = vector4(-583.15, -880.32, 26.99, 357.09) },
		{ prop = "prop_laptop_jimmy", coords = vector4(-588.04, -880.71, 26.99, 6.54) },
	}
} -- Purpose is to replace default burgershot logo props with mcdonalds provided in stream folder.

Last updated