Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Created March 13, 2024 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aqade/8af9e0f05e03d911a1ed7685b447d0ba to your computer and use it in GitHub Desktop.
Save aqade/8af9e0f05e03d911a1ed7685b447d0ba to your computer and use it in GitHub Desktop.
apex_club77
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
-- ██╗ ██████╗ ██████╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
-- ██║██╔═══██╗██╔══██╗ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
-- ██║██║ ██║██████╔╝ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██ ██║██║ ██║██╔══██╗ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚█████╔╝╚██████╔╝██████╔╝ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Name = "Club 77"
Config.Jobname = "club77"
Config.Blips = {
{
enabled = true,
point = vector3(231.18, -3174.56, 0.1),
sprite = 121,
scale = 0.6,
colour = 48,
title = Config.Name,
},
}
Config.Features = {
Office = true,
OfficeSettings = {
Target = {
{
points = vector3(245.04, -3152.16, 3.33),
heading = 0.0,
minZ = 3.33-1,
maxZ = 3.33+0.5,
Size = {3.4, 1.0},
distance = 2.0,
},
},
},
Duty = true, -- This is a QBCore function, set it to false, if using ESX!
DutySettings = {
Target = {
{
points = vector3(251.06, -3155.87, -0.19),
heading = 0.0,
minZ = -0.19-1.0,
maxZ = -0.19+1.6,
Size = {0.8, 1.8},
distance = 2.5,
},
},
},
Wardrobe = true,
WardrobeSettings = {
Target = {
{
points = vector3(255.08, -3151.4, -0.19),
heading = 0.0,
minZ = -0.19-1,
maxZ = -0.19+1,
Size = {4.0, 0.4},
distance = 2.0,
},
},
ClothingStore = true,
ClothingStoreTrigger = "qb-clothing:client:openMenu",
--[[
- qb-clothing:client:openMenu (default qbcore)
- illenium-appearance:client:openClothingShop (illenium-appearance)
- Or you can add your own trigger if you are using something else.
]]--
OutfitMenu = true,
OutfitMenuTrigger = "qb-clothing:client:openOutfitMenu",
--[[
- qb-clothing:client:openOutfitMenu (default qbcore)
- illenium-appearance:client:openOutfitMenu (illenium-appearance)
- Or you can add your own trigger if you are using something else.
]]--
PersonalLocker = true,
},
DJBooth = true,
DJBoothSettings = {
EmployeeOnly = true,
AudioVolume = 0.5,
AudioRange = 35.0,
Target = {
points = vector3(247.23, -3187.07, 0.5),
heading = 0.0,
minZ = 0.5-0.3,
maxZ = 0.5+0.2,
Size = {0.4, 2.0},
distance = 2.5,
},
},
Table = true,
TableSettings = {
Size = 10000,
Slots = 10,
},
Tray = true,
TraySettings = {
Size = 10000,
Slots = 10,
},
Storage = true,
StorageSettings = {
Size = 4000000,
Slots = 500,
},
Ingredients = true,
IngredientsSettings = {
shelves = {
label = "Ingredients",
slots = 15,
items = {
{ name = "pineapplejuice", price = 5, amount = 20, info = {}, type = "item", slot = 1, },
{ name = "lemon", price = 5, amount = 20, info = {}, type = "item", slot = 2, },
{ name = "lime", price = 5, amount = 20, info = {}, type = "item", slot = 3, },
{ name = "sugar", price = 5, amount = 20, info = {}, type = "item", slot = 4, },
{ name = "mint", price = 5, amount = 20, info = {}, type = "item", slot = 5, },
{ name = "cocomilk", price = 5, amount = 20, info = {}, type = "item", slot = 6, },
{ name = "gin", price = 5, amount = 20, info = {}, type = "item", slot = 7, },
{ name = "rum", price = 5, amount = 20, info = {}, type = "item", slot = 8, },
{ name = "whiskey", price = 5, amount = 20, info = {}, type = "item", slot = 9, },
{ name = "vodka", price = 5, amount = 20, info = {}, type = "item", slot = 10, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 11, },
},
},
},
Freezer = true,
FreezerSettings = {
shelves = {
label = "Freezer",
slots = 5,
items = {
{ name = "ice", price = 5, amount = 20, info = {}, type = "item", slot = 1, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 2, },
},
},
},
Bartending = true,
BartendingSettings = {
Target = {
{
points = vector3(248.61, -3159.93, -0.19),
heading = 0.0,
minZ = -0.19,
maxZ = 30.32+0.5,
Size = {1.6, 2.6},
distance = 2.0,
},
},
DrinkMakingDuration = 10, -- Duration in seconds
Recipes = {
{
label = "Blue Lagoon",
ingredients = {
{name = "vodka", amount = 1},
{name = "lemon", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "bluelagoon", amount = 1},
},
},
{
label = "Pinã Colada",
ingredients = {
{name = "cocomilk", amount = 1},
{name = "pineapplejuice", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "pinacolada", amount = 1},
},
},
{
label = "San Francisco",
ingredients = {
{name = "gin", amount = 1},
{name = "pineapplejuice", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "sanfrancisco", amount = 1},
},
},
{
label = "Caipirinha",
ingredients = {
{name = "rum", amount = 1},
{name = "lime", amount = 1},
{name = "sugar", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "caipirinha", amount = 1},
},
},
{
label = "Mojito",
ingredients = {
{name = "rum", amount = 1},
{name = "lime", amount = 1},
{name = "sugar", amount = 1},
{name = "mint", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "mojito", amount = 1},
},
},
{
label = "Mai Tai",
ingredients = {
{name = "rum", amount = 1},
{name = "lime", amount = 1},
{name = "pineapplejuice", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "maitai", amount = 1},
},
},
}
}
}
--████████╗ █████╗ ██████╗ ██████╗ ███████╗████████╗███████╗
--╚══██╔══╝██╔══██╗██╔══██╗██╔════╝ ██╔════╝╚══██╔══╝██╔════╝
-- ██║ ███████║██████╔╝██║ ███╗█████╗ ██║ ███████╗
-- ██║ ██╔══██║██╔══██╗██║ ██║██╔══╝ ██║ ╚════██║
-- ██║ ██║ ██║██║ ██║╚██████╔╝███████╗ ██║ ███████║
-- ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝
Config.AdditionalTargets = {
Storage = {
{
Coords = vector3(251.68, -3156.69, -0.19),
Heading = 0.0,
Size = {0.6, 1.8},
Distance = 2.0,
minZ = -0.19-1.2,
maxZ = -0.19,
},
},
Ingredients = {
{
Coords = vector3(258.6, -3158.94, -0.19),
Heading = 0.0,
Size = {4.0, 5.8},
Distance = 2.0,
minZ = -0.19-1.2,
maxZ = -0.19+1.6,
},
},
Freezer = {
{
Coords = vector3(251.13, -3160.04, -0.19),
Heading = 359.0,
Size = {1.0, 0.8},
Distance = 2.0,
minZ = -0.19-1,
maxZ = -0.19,
},
{
Coords = vector3(244.1, -3157.0, -0.19),
Heading = 0.0,
Size = {1.0, 0.8},
Distance = 2.0,
minZ = -0.19-1,
maxZ = -0.19,
},
},
CashRegisters = {
{
Coords = vector3(242.89, -3159.18, -0.19),
Heading = 350.0,
Size = {0.4, 0.2},
Distance = 2.0,
minZ = -0.19,
maxZ = -0.19+0.5,
},
},
Tables = {
{ Coords = vector3(237.53, -3165.98, -0.05), Heading = 0.0, Size = {0.8, 1.0}, Distance = 2.5, minZ = -0.05-1.1, maxZ = -0.05, },
{ Coords = vector3(237.53, -3170.49, -0.05), Heading = 0.0, Size = {0.8, 1.0}, Distance = 2.5, minZ = -0.05-1.1, maxZ = -0.05, },
{ Coords = vector3(237.53, -3183.04, -0.05), Heading = 0.0, Size = {0.8, 1.0}, Distance = 2.5, minZ = -0.05-1.1, maxZ = -0.05, },
{ Coords = vector3(237.53, -3187.60, -0.05), Heading = 0.0, Size = {0.8, 1.0}, Distance = 2.5, minZ = -0.05-1.1, maxZ = -0.05, },
{ Coords = vector3(255.83, -3182.52, -0.05), Heading = 0.0, Size = {0.8, 1.0}, Distance = 2.5, minZ = -0.05-1.1, maxZ = -0.05, },
{ Coords = vector3(255.83, -3177.99, -0.05), Heading = 0.0, Size = {0.8, 1.0}, Distance = 2.5, minZ = -0.05-1.1, maxZ = -0.05, },
{ Coords = vector3(249.60, -3169.97, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(246.98, -3169.95, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(243.93, -3170.25, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(249.31, -3166.79, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(246.81, -3166.77, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(243.94, -3166.78, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(239.01, -3161.24, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
{ Coords = vector3(236.70, -3161.27, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19-1.1, maxZ = -0.19+1, },
},
Trays = {
{ Coords = vector3(247.62, -3162.71, -0.19), Heading = 0.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19, maxZ = -0.19+0.5, },
{ Coords = vector3(251.58, -3162.26, -0.19), Heading = 20.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19, maxZ = -0.19+0.5, },
{ Coords = vector3(245.36, -3162.16, -0.19), Heading = 340.0, Size = {0.8, 0.8}, Distance = 2.5, minZ = -0.19, maxZ = -0.19+0.5, },
},
}
--███████╗███████╗ █████╗ ████████╗███████╗
--██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔════╝
--███████╗█████╗ ███████║ ██║ ███████╗
--╚════██║██╔══╝ ██╔══██║ ██║ ╚════██║
--███████║███████╗██║ ██║ ██║ ███████║
--╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
Config.Seats = {
-----------------------------------------------------------------------------------------------
--[[ Lounge ]]---------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
{ coords = vector4(255.38, -3184.00, -0.05, 0.000), stand = vector3(254.85, -3182.52, -0.05)},
{ coords = vector4(256.38, -3184.00, -0.05, 0.000), stand = vector3(254.85, -3182.52, -0.05)},
{ coords = vector4(257.35, -3182.99, -0.05, 90.00), stand = vector3(254.85, -3182.52, -0.05)},
{ coords = vector4(257.35, -3182.02, -0.05, 90.00), stand = vector3(254.85, -3182.52, -0.05)},
{ coords = vector4(256.33, -3181.10, -0.05, 180.0), stand = vector3(254.85, -3182.52, -0.05)},
{ coords = vector4(255.38, -3181.10, -0.05, 180.0), stand = vector3(254.85, -3182.52, -0.05)},
{ coords = vector4(255.38, -3179.44, -0.05, 0.000), stand = vector3(254.85, -3178.04, -0.05)},
{ coords = vector4(256.38, -3179.44, -0.05, 0.000), stand = vector3(254.85, -3178.04, -0.05)},
{ coords = vector4(257.35, -3178.46, -0.05, 90.00), stand = vector3(254.85, -3178.04, -0.05)},
{ coords = vector4(257.35, -3177.48, -0.05, 90.00), stand = vector3(254.85, -3178.04, -0.05)},
{ coords = vector4(256.38, -3176.50, -0.05, 180.0), stand = vector3(254.85, -3178.04, -0.05)},
{ coords = vector4(255.38, -3176.50, -0.05, 180.0), stand = vector3(254.85, -3178.04, -0.05)},
{ coords = vector4(237.98, -3164.56, -0.05, 180.0), stand = vector3(238.50, -3165.96, -0.05)},
{ coords = vector4(236.98, -3164.56, -0.05, 180.0), stand = vector3(238.50, -3165.96, -0.05)},
{ coords = vector4(236.00, -3165.52, -0.05, 270.0), stand = vector3(238.50, -3165.96, -0.05)},
{ coords = vector4(236.00, -3166.48, -0.05, 270.0), stand = vector3(238.50, -3165.96, -0.05)},
{ coords = vector4(236.98, -3167.45, -0.05, 0.000), stand = vector3(238.50, -3165.96, -0.05)},
{ coords = vector4(237.98, -3167.45, -0.05, 0.000), stand = vector3(238.50, -3165.96, -0.05)},
{ coords = vector4(237.98, -3169.10, -0.05, 180.0), stand = vector3(238.50, -3170.46, -0.05)},
{ coords = vector4(236.98, -3169.10, -0.05, 180.0), stand = vector3(238.50, -3170.46, -0.05)},
{ coords = vector4(236.00, -3170.06, -0.05, 270.0), stand = vector3(238.50, -3170.46, -0.05)},
{ coords = vector4(236.00, -3171.05, -0.05, 270.0), stand = vector3(238.50, -3170.46, -0.05)},
{ coords = vector4(236.98, -3171.95, -0.05, 0.000), stand = vector3(238.50, -3170.46, -0.05)},
{ coords = vector4(237.98, -3171.95, -0.05, 0.000), stand = vector3(238.50, -3170.46, -0.05)},
{ coords = vector4(237.98, -3181.65, -0.05, 180.0), stand = vector3(238.50, -3183.04, -0.05)},
{ coords = vector4(236.98, -3181.65, -0.05, 180.0), stand = vector3(238.50, -3183.04, -0.05)},
{ coords = vector4(236.00, -3182.59, -0.05, 270.0), stand = vector3(238.50, -3183.04, -0.05)},
{ coords = vector4(236.00, -3183.52, -0.05, 270.0), stand = vector3(238.50, -3183.04, -0.05)},
{ coords = vector4(236.98, -3184.47, -0.05, 0.000), stand = vector3(238.50, -3183.04, -0.05)},
{ coords = vector4(237.98, -3184.47, -0.05, 0.000), stand = vector3(238.50, -3183.04, -0.05)},
{ coords = vector4(237.98, -3186.15, -0.05, 180.0), stand = vector3(238.50, -3187.58, -0.05)},
{ coords = vector4(236.98, -3186.15, -0.05, 180.0), stand = vector3(238.50, -3187.58, -0.05)},
{ coords = vector4(236.00, -3187.12, -0.05, 270.0), stand = vector3(238.50, -3187.58, -0.05)},
{ coords = vector4(236.00, -3188.09, -0.05, 270.0), stand = vector3(238.50, -3187.58, -0.05)},
{ coords = vector4(236.98, -3189.00, -0.05, 0.000), stand = vector3(238.50, -3187.58, -0.05)},
{ coords = vector4(237.98, -3189.00, -0.05, 0.000), stand = vector3(238.50, -3187.58, -0.05)},
-----------------------------------------------------------------------------------------------
--[[ Bar ]]------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
{ coords = vector4(241.40, -3157.55, 0.09, 270.0), stand = vector3(241.88, -3157.51, -0.19)},
{ coords = vector4(241.46, -3159.72, 0.09, 270.0), stand = vector3(241.92, -3159.62, -0.19)},
{ coords = vector4(242.58, -3161.68, 0.09, 335.0), stand = vector3(242.31, -3162.07, -0.19)},
{ coords = vector4(244.82, -3163.19, 0.09, 335.0), stand = vector3(244.67, -3163.63, -0.19)},
{ coords = vector4(246.39, -3163.71, 0.09, 336.0), stand = vector3(246.27, -3164.20, -0.19)},
{ coords = vector4(248.22, -3163.90, 0.09, 336.0), stand = vector3(248.22, -3164.44, -0.19)},
{ coords = vector4(249.99, -3163.86, 0.09, 19.00), stand = vector3(250.12, -3164.41, -0.19)},
{ coords = vector4(251.87, -3163.46, 0.09, 19.00), stand = vector3(252.10, -3163.95, -0.19)},
{ coords = vector4(253.63, -3162.62, 0.09, 29.00), stand = vector3(253.93, -3163.03, -0.19)},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment