Config
The default configruation provided with Possible Turfs.
The resource folder on your server must be named exactly possible_turfs.
The default configruation provided with Possible Turfs.
return { Debug = true, -- Set to true to enable debug mode Framework = "qb", -- Framework to use (qb or esx) NotifyPosition = "top", -- Position to show notifications (top or bottom) -- Ensure all gangs are defined here, its used to make ESX gang checks easier. Gangs = { "ballas", "families", "vagos", "triads", "lostmc", "aztecas", "marrabunta", "armenians" }, -- Ensure each gang has an appropriate blip colour GangColours = { ballas = "83", families = "2", vagos = "46", triads = "1", lostmc = "40", aztecas = "26", marrabunta = "3", armenians = "4" }, -- Turf zone marker settings TurfMarker = { height = 40.0, -- Height of the turf zone marker when active alpha = 120, -- Transparency of the marker (0-255) }, -- Define any turf you want here with the following format TurfZones = { { name = "Kortz Center", -- Name of the turf coords = vector3(-2240.5, 258.36, 174.6), -- Coords of the turf radius = 150.0, -- Radius of the turf propItem = "prop_ld_int_safe_01", -- Prop item to spawn propItemSpawnArea = vector3(-2239.14, 253.66, 174.91), -- Coords to spawn prop stashId = "kortz_center_stash", -- Unique id for stash -- List shop items for the turf here lootTable = { { item = "WEAPON_BATTLEAXE", chance = 70, min = 1, max = 2, price = 7500 }, { item = "heavyarmor_blueprint", chance = 50, min = 1, max = 3, price = 1500 }, { item = "procaine", chance = 30, min = 1, max = 10, price = 250 }, { item = "armor", chance = 30, min = 1, max = 10, price = 500 }, { item = "coke_leaf", chance = 30, min = 1, max = 75, price = 75 } } }, { name = "Power Station", -- Name of the turf coords = vector3(2745.51, 1521.99, 24.5), -- Coords of the turf radius = 175.0, -- Radius of the turf propItem = "p_v_43_safe_s", -- Prop item to spawn propItemSpawnArea = vector3(2745.51, 1521.99, 24.5), -- Coords to spawn prop stashId = "oil_rig_stash", -- Unique id for stash -- List shop items for the turf here lootTable = { { item = "heavyarmor", chance = 70, min = 1, max = 5, price = 1500 }, { item = "WEAPON_MOLOTOV", chance = 50, min = 1, max = 3, price = 7500 }, { item = "sapphire_ring", chance = 70, min = 1, max = 25, price = 100 }, { item = "procaine", chance = 30, min = 1, max = 10, price = 250 } } }, }, TimeToBombPlant = 15000, -- Time in ms to plant bomb TimeToBombExplode = 900000, -- Time in ms for the bomb to blow if no defuse TimeToBombDiffuse = 15000, -- Time in ms to defuse the bomb TurfCooldown = 3600, -- Time in seconds for turf cooldown (3600 = 1 hour) OwnerDefenseCooldown = 1800, -- Time in seconds for cooldown when owner defends turf (1800 = 30 minutes) TurfPointsToReward = 10, -- Points to reward for turf capture TurfShops = { { name = "Kortz Center", -- The name needs to match that of the turf model = `s_m_m_movalien_01`, -- Model of the shop keeper coords = vec4(-2305.28, 203.72, 166.6, 115.45), -- Coords of the shop keeper -- items for the turf boss to sell in the shop items = { { item = "microsmg_blueprint", label = "Micro SMG Blupeprint", price = 10000, requiredPonts = 50 }, -- requiredPonts is turf points { item = "coke_brick", label = "Coke Brick", price = 1000, requiredPoints = 10 }, { item = "combat_pistol_blueprint", label = "Combat Pistol Blueprint", price = 100, requiredPoints = 4 }, { item = "pistolbody", label = "Pistol Body", price = 100, requiredPoints = 4 }, { item = "oxy", label = "Oxy", price = 100, requiredPoints = 2 }, } }, { name = "Power Station", -- The name needs to match that of the turf model = `s_m_m_movalien_01`, -- Model of the shop keeper coords = vec4(2808.3, 1546.01, 23.53, 167.42), -- Coords of the shop keeper -- items for the turf boss to sell in the shop items = { { item = "armour", label = "Armor", price = 1000, requiredPonts = 3 }, { item = "machinepistol_blueprint", label = "MP Blupeprint", price = 100, requiredPoints = 75 }, { item = "WEAPON_MOLOTOV", label = "Molotov", price = 100, requiredPoints = 7 }, { item = "procaine", price = 100, label = "Procaine", requiredPoints = 2 }, { item = "oxy", price = 100, label = "Oxy", requiredPoints = 2 }, } } }, TurfShopCurrency = "cash", -- Your cash item you want to use for shops PossibleGangLevels = true, -- Integrates my paid gang level script - https://possible-scripts.tebex.io/package/6036883 set false if no likey GangXPReward = 20, -- XP reward for capturing a turf -- Passive XP rewards for holding turfs PassiveXPInterval = 1, -- How often (in minutes) to give XP for holding turfs PassiveXPAmount = 5, -- Base XP amount to give per turf owned -- Passing shop restock for turfs RestockShopsAfterCooldown = true, -- Whether to restock shop inventory after cooldown expires RestockChance = 70, -- Percentage chance for each item to restock (0-100) RestockAmount = { -- Min/max amount to restock for each item min = 1, max = 3 }, RestockInterval = 60, -- How often (in minutes) to check for shop restocking}