Configuration
This page serves as a guide to help you configure this resource and also serves as a preview of the config file.
Preview
Config = {}
-- /////////////////////////////////////////////////////////////////////////////////////////////////////// --
-- //////////////////////// arketype_GangBuilder Config //////////////////////// --
-- /////////////////////////////////////////////////////////////////////////////////////////////////////// --
Config.Framework = 'STANDALONE' -- ESX or QBCORE or OXCORE or STANDALONE
Config.Target = 'ox_target' -- ox_target / qb-target (If using STANDALONE, set to ox_target)
Config.MultiCharacter = false -- (Only for ESX framework) True = Multi-character system enabled / False = Multi-character system disabled
Config.InventorySystem = 'ox_inventory' -- ox_inventory / qb-inventory / qs_inventory (If using STANDALONE, set to ox_inventory)
Config.IconServer = 'https://i.postimg.cc/yNZ4qvNW/jg-logo.png' -- Server icon for GangBuilder menu (MAXIMUM 30x30 px format)
Config.Webhook = {
Territoire = 'https://discord.com/api/webhooks/-', -- Webhook for territory notifications (Gain/Loss of loyalty %)
GangBuilder = 'https://discord.com/api/webhooks/-', -- Webhook for GangBuilder notifications (Gang creation/modification/deletion/point changes)
SetGang = 'https://discord.com/api/webhooks/-', -- Webhook for admin gang change notifications (Player gang changes)
ActionBoss = 'https://discord.com/api/webhooks/-', -- Webhook for boss action notifications (Recruitment/Promotion/Demotion/Dismissal)
Blanchiement = 'https://discord.com/api/webhooks/-', -- Webhook for money laundering notifications
}
Config.Slots = 30 -- Available slots in gang storage
Config.Place = 1000000 -- Available capacity in gang storage (in grams)
Config.Key = 'F7' -- Default key to open gang menu (Player customizable)
Config.BuilderCommand = 'gangbuilder' -- Command to open GangBuilder
Config.ShopCurrency = "black_money" -- "money" = Clean money / "black_money" = Black money / "item_name" = Specific item (e.g. "goldbar")
Config.Blanchiement = 0.8 -- 0.0 = 0% / 1.0 = 100% | Percentage player receives from money laundering
Config.LBPHONENOTIF = true -- True = Use LB-Phone notification system / False = Use ox_lib notification system
Config.UseRX_Garage = false -- True = Use RX-Garage garage system / False = Don't use RX-Garage garage system
Config.SnitchNumber = '1234567890' -- Snitch phone number (For gang notifications) (Only if Config.LBPHONENOTIF is true)
Config.DrugsEnabled = true -- True = Enable drug selling / False = Disable drug selling
Config.DrugsNumberOfCops = 1 -- Minimum police officers required to sell drugs, do not work if using STANDALONE framework
Config.DrugsPoliceAlertJob = {'police', 'sheriff'} -- List of jobs that will receive drug sale notifications
Config.DrugsSellingTime = 8 -- Time per sale
Config.OpenMapCommandEnabled = true -- True = Enable Config.OpenMapCommand to open gang territory map / False = Config.OpenMapCommand (Accessible to all players)
Config.OpenMapCommand = 'mapgang' -- Command to open gang territory map
Config.InteractionInMenu = true -- True = Allow interactions with players in gang menu / False = Disable interactions in gang menu
Config.IdRecrutement = true -- True = Allow recruitment by ID from Gang Management menu / False = Disable recruitment by ID from Gang Management menu
Config.BagPickEnabled = true -- True = Enable bag snatching / False = Disable bag snatching
Config.BagPickNumberOfCops = 2 -- Minimum police officers required to snatch bags, do not work if using STANDALONE framework
Config.BagPickPoliceAlertJob = {'police', 'sheriff'} -- List of jobs that will receive bag snatch notifications
Config.PercentageShopZone = 50 -- Loyalty percentage required for a gang to purchase items in a controlled zone
Config.ZoneShopCurrency = = "black_money" -- "money" = Clean money / "black_money" = Black money / "item_name" = Specific item (e.g. "goldbar")
Config.PermZoneGang = {'group.admin', 'group.modo', 'group.superadmin'} -- Groups authorized to use /zonegang command (Display gang zones)
Config.PercentageAlerte = 50 -- Loyalty percentage required for a gang to receive alerts for illegal activities in controlled zones
-- To add a zone:
-- Keep the template and get vector2 coordinates using this site to create your own zones: https://skyrossm.github.io/PolyZoneCreator/
Config.Zones = {
["davis_sud"] = {
name = "Davis Sud",
points = {
vector2(179.55, -1390.19),
vector2(228.03, -1306.08),
vector2(331.82, -1315.93),
vector2(478.03, -1426.56),
vector2(536.36, -1451.57),
vector2(531.06, -1524.31),
vector2(612.88, -1591.74),
vector2(587.88, -1852.40),
vector2(555.30, -1885.74),
vector2(591.36, -1950.60),
vector2(375.45, -2188.52),
vector2(164.09, -2024.86),
vector2(451.97, -1654.33),
vector2(430.30, -1590.96)
},
},
["davis_nord"] = {
name = "Davis Nord",
points = {
vector2(-165.83, -1761.93),
vector2(-326.06, -1648.65),
vector2(-380.30, -1558.79),
vector2(-380.30, -1243.58),
vector2(-383.33, -1135.99),
vector2(201.52, -1137.50),
vector2(209.09, -1276.92),
vector2(123.48, -1406.64)
},
},
["davis_centre"] = {
name = "Davis Centre",
points = {
vector2(91.74, -2021.22),
vector2(71.29, -1978.78),
vector2(-115.83, -1824.21),
vector2(-165.38, -1780.71),
vector2(67.20, -1511.34),
vector2(154.39, -1402.99),
vector2(232.05, -1448.83),
vector2(316.89, -1519.30),
vector2(188.86, -1593.93),
vector2(366.67, -1741.92),
vector2(130.98, -2023.41)
},
},
}
Config.DrugsMoney = 'black_money' -- Type of money received from drug sales
Config.Drugs = {
Weed = {
label = "Sell Weed",
icon = "fa-solid fa-cannabis",
item = "weed",
chance = 70, -- Success chance for sale
priceMin = 50, -- Minimum price
priceMax = 70 -- Maximum price
},
Meth = {
label = "Sell Meth",
icon = "fa-solid fa-pills",
item = "meth_pooch",
chance = 60,
priceMin = 800,
priceMax = 1200
},
Coke = {
label = "Sell Coke",
icon = "fa-solid fa-prescription-bottle",
item = "coke_pooch",
chance = 50,
priceMin = 1200,
priceMax = 1600
}
}
Config.BagPickItem = {
{item = "money", label = "Money", quantite = 10},
{item = "money", label = "Money", quantite = 20},
{item = "money", label = "Money", quantite = 40},
{item = "money", label = "Money", quantite = 10},
{item = "money", label = "Money", quantite = 10},
{item = "money", label = "Money", quantite = 10},
{item = "money", label = "Money", quantite = 20},
{item = "money", label = "Money", quantite = 30},
}
AlertePoliceDrugs = function(icon, playerPed, coords) -- Client-side function (Replace with your dispatch system)
for _, job in ipairs(Config.DrugsPoliceAlertJob) do -- Do not modify
-- exports['core_dispach']:addCall("10-95", Config.Traduction["notifypolice"], {
-- {icon = icon, info = Config.Traduction["notifypolice"]}
-- }, coords, job, 2500, 140, 2)
end -- Do not modify
end
AlertePoliceBagPick = function(icon, playerPed, coords, streetName) -- Client-side function (Replace with your dispatch system)
for _, job in ipairs(Config.BagPickPoliceAlertJob) do -- Do not modify
-- exports['core_dispach']:addCall("911", "Bag Snatching", {
-- { icon = "fa-shopping-bag", info = "Someone stole my bag | Street: " .. streetName }
-- }, coords, job, 5000, 408, 1)
end -- Do not modify
end
vestiaire = function() -- Client-side function
exports["fivem-appearance"]:openWardrobe()
endMis à jour
