Config Files
The script is fully configurable, allowing complete customization of its behavior and features. Below is a list of configuration files included in the resource.
Useful Articles
File Location > Config/MainConfig.lua
Config = {}
Config.Locale = "en" -- Supported: PL / ES / EN / FR / IT / PT / SK / TW / HR / EL / CZ / SI / AR / TR / DE / SV
Config.Debug = false -- Help us understand your issues.
Config.FuelDependency = "none" -- Options: none, cdn-fuel, ox-fuel, LegacyFuel, qs-fuel, rcore-fuel, codem-xfuel, lc_fuel, stg-fuel
Config.KeysDependency = "none" -- Options: none, brutal_keys, qs-keys, qb-keys, wasabi_carlock, sna-vehiclekeys, dusa_vehiclekeys, Renewed-Vehiclekeys, tgiann-keys, ak47_vehiclekeys, ak47_qb_vehiclekeys, mVehicle, sy_carkeys, MrNewbVehicleKeys,
Config.dispatchScript = "none" -- none, cd_dispatch, codem_dispatch, lb-tablet, ps-dispatch, rcore_dispatch
Config.TextUI = "jg-textui" -- Options: none, ox_lib, jg-textui, qs-textui, okokTextUI, brutal_textui, 0r-textui
Config.GarageScript = "none" -- none (Default Menu by us!), op-garages
Config.AdditionalScripts = {
kq_shellcreator = false
}
Config.Inventory = {
inventoryScript = "ox_inventory"
-- Supported:
-- ox_inventory
-- qb-inventory
-- old-qb-inventory
-- codem-inventory
-- quasar_inventory
-- tgiann_inventory
-- none (menu using ox_lib)
}
Config.CurrencySettings = {
-- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
currency = "USD",
style = "currency",
format = "en-US"
}
Config.DirtyMoney = {
-- ON ESX IT WORKS WITH DEFAULT black_money account balance!
-- This settings apply only for QB/QBOX!
itemName = "dirty_money"
}
----------------------------------------------------------------------------
-- ⚒️ MISC CONFIGURATION ⚒️
----------------------------------------------------------------------------
Config.Misc = {
AccessMethod = "ox-target", -- Options: none / ox-target / qb-target
zoneSize = 1.2, -- Marker radius
zoneColor = { -- marker color
r = 219,
g = 0,
b = 0,
},
TowingTime = 5, -- Time in seconds
Notify = "ox_lib", -- Supported: op_hud / okokNotify / vms_notify / brutal_notify / ox_lib / ESX / QBCORE / QBOX
stashCapacityUpgradePer = 5, -- One stash upgrade = +5KG
-- Note: Changing this require your changes in Locale file! UI in description will still display that upgrade will add 5kg, you have to change translation in locales/
ranksLimit = 5, -- Limit maximum ranks that organization can purchase and create.
membersLimit = 20, -- Limit maximum number of members in org.
-- Note: You can limit bossmenu to one player in mean time!
limitBossMenu = false, -- True = Only one player can access bossmenu in the same time.
disableGarage = false, -- Will completly disable garages function as well vehicle shop in bossmenu.
disableDarkChat = false, -- Will disable darkchat in crime tablet.
disableDarkChatNotificationAboveMap = false, -- Will disable dark chat new message notification.
disableRanking = false, -- Will disable ranking in tablet.
}
Config.AdminPanelCommand = "crimeadmin" -- Crime Admin command name.
Config.SetJobCommand = "setcrimejob" -- Command to set selected player crime job
Config.AddCrimeVehicle = "addcrimecar" -- Command to add vehicle to selected organization
Config.FireCommand = "firemember" -- Command to fire member from current organisation.
-- List of allowed identifiers to use admin Commands /setcrimejob and /addcrimecar
-- You can use all identifiers from TXADMIN -> `IDs` (No Hardware IDs!)
-- You can also use character identifier to allow only selected character of administrator:
-- E.X: char1:7e0ec7b80d186fd8c29f6631e4377e75812fe8fd
-- OR ON QBOX/QB CITIZENID!!
Config.AdminCommandsPlayers = {
['steam:110000118d2c0db'] = true,
['discord:571105311251890186'] = true,
}
-- List of allowed identifiers to use /crimeadmin
-- You can use all identifiers from TXADMIN -> `IDs` (No Hardware IDs!)
-- You can also use character identifier to allow only selected character of administrator:
-- E.X: char1:7e0ec7b80d186fd8c29f6631e4377e75812fe8fd
-- OR ON QBOX/QB CITIZENID!!
Config.AdminPanelPlayers = {
['steam:110000118d2c0db'] = true,
['discord:571105311251890186'] = true,
}
Config.SellVehiclePercentage = 20 -- Percentage of selling vehicle in bossmenu
----------------------------------------------------------------------------
-- 📱 TABLET CONFIGURATION 📱
----------------------------------------------------------------------------
Config.Tablet = {
tabletASItem = false,
commandName = "crimetablet", -- Used only when tabletASItem is false
item = {
name = "crime_tablet" -- Required item name if tabletASItem is true
},
MissionsPerRestart = 8, -- Missions amount that tablet will generate for each organisations per update.
DisableSeasonPass = false,
}
----------------------------------------------------------------------------
-- 🌍 BLIPS CONFIGURATION 🌍
----------------------------------------------------------------------------
Config.Blips = {
BlipScale = 0.8, -- Scale of blips.
ShowBlipsOnMap = true, -- Disable: money laundry blip, garages blips and illegal medics blips.
ZonesShowBlipsOnMap = true, -- Disable zones blips on map.
Medic = { blipId = 51, blipColor = 7 },
Organisation = { blipId = 437, blipColor = 1 },
Zone = { blipId = 379, blipColor = 3 },
Garage = { blipId = 357, blipColor = 2 },
MoneyLaundry = { blipId = 318, blipColor = 25 },
MoneyLaundryLocation = { blipId = 478, blipColor = 1 },
LaundryLocationRadiusBlip = {
Color = 49,
Alpha = 222,
Radius = 60.0
}
}
----------------------------------------------------------------------------
-- 🧼 MONEY LAUNDRY CONFIGURATION 🧼
----------------------------------------------------------------------------
Config.MoneyLaundry = {
Disable = false, -- Disable/Enable this feature
laundryAmountPerOneStop = 20000, -- Dirty cash cleaned per location.
laundryPercentage = 15, -- Tax percentage applied.
Ped = { -- Change it to false to disable ped! (Ped = false,)
model = "a_m_m_afriamer_01",
gender = "male",
},
laundryMisc = {
location = vec4(78.8508, 112.5588, 80.1682, 161.7077),
vehicleSpawnCoords = vec4(68.4445, 119.2293, 79.1232, 161.5234),
vehicleModel = 'boxville4',
-- LAUNDRY MISSION OUTFIT IS LOCATED NOW IN config/ClothingConfig.lua
},
laundryLocations = {
{
coords = vec4(237.7540, 22.6503, 82.6137, 341.4727)
},
{
coords = vec4(-77.5555, -1200.6666, 26.6352, 92.4784)
},
{
coords = vec4(232.4930, -1771.4315, 27.6610, 48.4330)
},
{
coords = vec4(967.5204, -1823.1718, 30.0824, 229.1019)
},
{
coords = vec4(947.5532, -1698.1992, 29.0851, 84.8497)
},
}
}
----------------------------------------------------------------------------
-- 🏥 MEDIC CONFIGURATION 🏥
----------------------------------------------------------------------------
Config.Medic = {
Disable = false, --Disable/Enable
HealingTime = 10, -- Time in seconds
Ped = {
model = "s_m_m_scientist_01",
gender = "male",
animation = {
Dict = "missheistdockssetup1clipboard@base",
Lib = "base",
Prop = {
Prop = 'prop_notepad_01',
PropBone = 18905,
PropPlacement = {
0.1,
0.02,
0.05,
10.0,
0.0,
0.0
}
}
}
}
}
----------------------------------------------------------------------------
-- 📍 PVP ZONES CONFIGURATION 📍
----------------------------------------------------------------------------
-- THIS IS SECTION FOR PVP ZONES (NO TURFZONES)
-- IF YOU WANT TO CONFIGURE TURF ZONES - GO TO config/TurfConfig.lua
Config.ZonesMisc = {
PerOnePlayerInside = 1, -- Time (in seconds) for 1% capture progress.
-- If there are 2 organisations in zone the zone capturing percentage will stop.
ZonesCooldown = 15, -- Cooldown time (in minutes) after a capture
ZoneCaptureEXP = 150, -- Experience earned per zone capture
Disable = false, -- Disable PVPV zones
}
Config.Zones = {
-- To create new zones use /pzcreate poly
-- To add new point to created poly use /pzadd
-- More info: https://github.com/mkafrin/PolyZone
{
label = "Sandy Scrapy Yard",
index = "sandyscrapy",
coords = vec3(2404.2021, 3104.1765, 48.1648),
Zone = function()
return PolyZone:Create({
vector2(2329.3020019532, 3053.681640625),
vector2(2330.888671875, 3081.3254394532),
vector2(2361.8330078125, 3087.1943359375),
vector2(2379.0219726562, 3105.4108886718),
vector2(2404.3395996094, 3163.1628417968),
vector2(2437.2124023438, 3160.5307617188),
vector2(2434.8149414062, 3024.4143066406),
vector2(2329.9057617188, 3024.9143066406)
}, {
name = "SandyScrapyYard",
})
end,
},
}
----------------------------------------------------------------------------
-- ROPE MENU
----------------------------------------------------------------------------
Config.Rope = {
Enable = true,
Item = {
Enable = false,
ItemName = "rope"
},
Keybind = {
Enable = true,
Bind = "F6"
},
Target = {
Enable = false
-- When it's enabled - will add options to every player on the server.
}
}
----------------------------------------------------------------------------
-- AIRDROPS
----------------------------------------------------------------------------
Config.AirDrop = {
StartCommand = {
Enable = true, -- Allow your admins to start AirDrop Manually!
CommandName = "startAirDrop"
},
Enable = true,
Timer = 2, -- Time in hours every which the airdrop event will start.
Locations = {
vec4(470.7527, 2942.3884, 40.7600, 95.2011),
vec4(1350.2504, 4354.7686, 42.7147, 315.9569),
vec4(2034.9507, 4764.8198, 40.0590, 290.3700),
vec4(3700.1226, 4533.2456, 22.2974, 193.3774),
vec4(1518.1498, 6341.2002, 23.0057, 171.9430),
vec4(-70.5034, 1910.8385, 195.1936, 196.7471),
},
Exp = 100, -- EXP FOR OPENING AIRDROP!
Blip = {
EnableRadiusBlip = true,
Blip = 550,
BlipColor = 3,
},
RewardsAmount = 3, -- Will generate 3 random rewards from list below.
Rewards = {
{
rewardType = "item", -- item/money/blackmoney
itemName = "spray_can",
amount = 10,
},
{
rewardType = "item", -- item/money/blackmoney
itemName = "spray_remover",
amount = 10,
},
{
rewardType = "blackmoney", -- item/money/blackmoney
itemName = "black_money",
amount = 100000,
},
{
rewardType = "item", -- item/money/blackmoney
itemName = "bread",
amount = 15,
},
}
}
Last updated