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 / LT / HU / EN / FR / IT / PT / SK / TW / HR / EL / CZ / SI / AR / TR / DE / SV / NL
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.TextUI = "none" -- 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,
DisableFrames = false, -- Disable tablet Frames.
}
----------------------------------------------------------------------------
-- 🌍 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 = true,
ItemName = "rope"
},
Keybind = {
Enable = true,
Bind = "F6"
},
Target = {
Enable = true
-- 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"
},
TimeToLand = 2, -- Time in Minutes after which airdrop will start going down.
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,
chance = 50,
},
{
rewardType = "item", -- item/money/blackmoney
itemName = "spray_remover",
amount = 10,
chance = 50,
},
{
rewardType = "blackmoney", -- item/money/blackmoney
itemName = "black_money",
amount = 100000,
chance = 50,
},
{
rewardType = "item", -- item/money/blackmoney
itemName = "bread",
amount = 15,
chance = 50,
},
},
ProgressTime = 10000, -- Time in miliseconds
SkillCheck = function()
return lib.skillCheck({'easy', 'easy', 'medium', 'easy', 'medium'}, {'w', 'a', 's', 'd'})
end
}-- This is Configuration file of turf zones system
Config.DisableTurfZones = false -- Disable Turf Zones.
Config.DisableEnterNotifications = true -- Will disable all notification about enter/leave turf zone
Config.Rivalry = {
Disable = false, -- Disable rivalry system
RivalryStartPrice = 5000, -- Price in dirty money. You can can set it to 0 if you want to make it for free.
RivalryDuration = 1, -- Duration in hours
RivalryWinEXP = 250, -- EXP for winning rivalry.
}
Config.Graffiti = {
-- If you don't want to use graffiti - don't create items for spraying!
Disable = false, -- Disable/Enable Graffiti
RenderDistance = 30.0, -- Render Distance
CooldownTime = 1, -- Time in Minutes of cooldown between spraying graffiti
CooldownTimeRemover = 1, -- Time in Minutes of cooldown between removing graffiti
Items = {
graffitiSpray = "spray_can",
graffitiRemover = "spray_remover"
},
loyality = {
-- Owner of the zone is choosed when gang/org have at least 51% of all gangs/orgs loyality points in this zone.
LoyalityPerGraffiti = 75, -- Loyality for gang who Painted Graffiti in zone.
loyalityIncreaseOnRemove = 15, -- Loyality for gang who removed other's gang graffiti in zone
loyalityDecreaseOnRemove = 15, -- decrease of loyality for gang when other gang remove their graffiti in zone.
loyalityDecreaseOnPaint = 5, -- decrease of loyality for gangs when other gang paint graffiti in zone.
},
exp = {
-- If gang will remove their grafiti they will not get EXP!
SprayingEXPgain = 50,
RemovingGraffitiEXPgain = 50
},
-- Radius blip on map where graffiti's are (Visible only for gang members)
Blip = {
Enable = true,
Radius = 80.0, -- Minimum 25
},
Settings = {
-- These are optimal sizes.
MaxSize = 9.75,
MinSize = 1.75,
},
CleanGraffitiInterval = 24, -- Time in hours every which script will clean existing graffiti's
}
Config.Racketeering = {
-- If you don't want to use Racketeering points just don't create them in crime admin!
Cooldown = 30, -- Time in minutes!
Exp = 50, -- exp which will be given for collecting protect reward.
Blip = {
BlipId = 358,
BlipColor = 1,
}
}
Config.DrugSelling = {
expOnDrugSell = 15, -- Exp for selling drugs
loyality = {
-- Owner of the zone is choosed when gang/org have at least 51% of all gangs/orgs loyality points in this zone.
LoyalityPerTransaction = 50, -- Loyality for gang who sold drug in zone.
loyalityDecreaseOnOtherOrgs = 15 -- decrease of loyality for gang when other gang sold drugs in their zone.
},
-- If you want to integrate drug dealing script - you can do it by following docs page. Otherwise contact us on https://discord.gg/otherplanet
DrugScript = "none", -- none / jaksam_drugs / envi-trapphone
-- If you want use:
-- op-drugselling (FREE SCRIPT by us) -> https://github.com/Bagietame/op-drugselling
-- nc-drugselling
-- visualz_selldrugs
-- tk_drugs
-- lunar_drugscreator
-- fs_trapphone
-- lation_selling
-- Visit: https://docs.otherplanet.dev/scripts/op-gangs/integrations
-- Those scripts are fully integrated without chaning anything here.
-- Only what you have to do is edit files inside their scripts following to the link above ^^
}File Location > Config/Missions/MissionsConfig.lua
-- ⚠️ Each mission must be configured using the structure below! ⚠️
--- @param type: car / weapon / money / black_money / item
--- Description:
--- - "car" → Must be a vehicle available in the Vehicle Store. Otherwise, it will not appear.
--- - To assign a vehicle as a mission reward, enable "vehicle visibility" from the Admin Panel
--- and provide the model name using:
--- @param ModelName
-- 💡 Mission-related functions are located in:
-- config/Missions/MissionsFunctions.lua
Config.Missions = {
["find_vehicle"] = {
UI = {
missionLabel = "FIND VEHICLE ON STREET",
missionDescription = "Find vehicle model which we will send to you and bring us, no damaged.",
missionExp = 100,
missionReward = {
label = "Ammo 9mm x500",
nameSpawn = "ammo-9mm",
amount = 500,
img = "https://cdn3d.iconscout.com/3d/premium/thumb/ammo-3d-icon-download-in-png-blend-fbx-gltf-file-formats--ammunition-case-metal-box-bullet-military-pack-weapon-icons-9555390.png",
rare = "red",
type = "item"
}
},
OnMissionStart = function()
startFindVehicleMission()
end,
},
["laundry_100k"] = {
UI = {
missionLabel = "LAUNDRY 100 000$ OF DIRTY MONEY",
missionDescription = "Laundry 100 000$ of dirty money at laundry point. To do this your organisation have to unlock Laundry upgrade!",
missionExp = 250,
missionReward = {
label = "15x Vintage Pistol",
nameSpawn = "weapon_vintagepistol",
amount = 15,
img = "https://data.otherplanet.dev/fivemicons/%5bweapons%5d/weapon_vintagepistol.png",
rare = "purple",
type = "item"
}
},
OnMissionStart = function()
startLaundryMission()
end,
},
["capture_1Zone"] = {
UI = {
missionLabel = "Capture at least 1 Zone.",
missionDescription = "Capture at least 1 zone to claim extra rewards and EXP points for your organisation.",
missionExp = 150,
missionReward = {
label = "20 000$",
nameSpawn = "",
amount = 20000,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "blue",
type = "money"
}
},
OnMissionStart = function()
startZoneCaptureMission()
end,
},
["spray_graffiti"] = {
UI = {
missionLabel = "Graffiti Mission",
missionDescription = "Spray at least 3 graffiti in Turf Zones",
missionExp = 180,
missionReward = {
label = "20 000$",
nameSpawn = "",
amount = 20000,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "blue",
type = "money"
}
},
OnMissionStart = function()
startSprayGraffitiMission()
end,
},
["remove_graffiti"] = {
UI = {
missionLabel = "Graffiti Mission",
missionDescription = "Remove at least 5 graffiti of enemy's gang",
missionExp = 180,
missionReward = {
label = "20 000$",
nameSpawn = "",
amount = 20000,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "blue",
type = "money"
}
},
OnMissionStart = function()
startRemoveGraffitiMission()
end,
},
["sell_drugs"] = {
UI = {
missionLabel = "Sell Drugs",
missionDescription = "Sell Drugs to 50 people of any choosen drug inside Turf Zone",
missionExp = 180,
missionReward = {
label = "20 000$",
nameSpawn = "",
amount = 20000,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "blue",
type = "money"
}
},
OnMissionStart = function()
startSellingDrugsMission()
end,
},
["steal_van"] = {
UI = {
missionLabel = "Steal Van",
missionDescription = "Steal Van with Drugs from armored Gangsters and deliver it safely",
missionExp = 180,
missionReward = {
label = "35 000$",
nameSpawn = "",
amount = 35000,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "purple",
type = "money"
}
},
OnMissionStart = function()
deliverVanMission()
end,
},
["drug_sell_npc"] = {
UI = {
missionLabel = "Deliver Drugs",
missionDescription = "Deliver 50G of Marihuana to Marked Location.",
missionExp = 120,
missionReward = {
label = "15 000$",
nameSpawn = "",
amount = 15000,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "purple",
type = "money"
}
},
OnMissionStart = function()
startWeedDelivey()
end,
},
--[[
-------------------------------------------------
-- ONLY FOR VEHICLE THEFT SCRIPT ----------------
-- https://www.otherplanet.dev/product/6503031 --
-------------------------------------------------
["vehicleTheft"] = {
UI = {
missionLabel = "Complete Vehicle Theft Hacking",
missionDescription = "Start and complete vehicle theft hacking proccess.",
missionExp = 350,
missionReward = {
label = "50 000$",
nameSpawn = "",
amount = 15,
img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
rare = "blue",
type = "money"
}
},
OnMissionStart = function()
startVehicleTheftMission()
end,
},]]--
}ServerConfig = {}
ServerConfig.SteamApiKey = "" -- Used to fetch Steam avatars
ServerConfig.DiscordWebHook = '' -- Webhook for general logs
ServerConfig.DiscordWebHookAdmin = '' -- Webhook for admin panel actions-- To get your current outfit data use: /getMyOutfit (Script will print data on f8 console).
-- This is configuration of laundry mission outfit!
Config.Clothing = {
clothingScript = "skinchanger" -- Supported: skinchanger, illenium-appearance, fivem-appearancearance, 17mov_CharacterSystem, rcore_clothing, crm-appearance
}
Config.LaundryClothing = {
enable = true, -- Disable/Enable Laundry Clothing
playerOutFit = {
['crm-appearance'] = { {
crm_texture = 0,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 0,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 1,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 3,
crm_style = 4
}, {
crm_texture = 5,
crm_id = 4,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 5,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 6,
crm_style = 3
}, {
crm_texture = 0,
crm_id = 7,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 8,
crm_style = 15
}, {
crm_texture = 0,
crm_id = 9,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 10,
crm_style = 0
}, {
crm_texture = 0,
crm_id = 11,
crm_style = 12
} },
['rcore_clothing'] = {
components = {
["3"] = "nondlcgta5--3--0--0",
["8"] = "8_15_0",
["11"] = "nondlcgta5--11--9--14"
},
props = {}
},
['skinchanger'] = {
chain_2 = 0,
mask_1 = 0,
pants_2 = 1,
torso_1 = 14,
bproof_1 = 0,
shoes_1 = 57,
bproof_2 = 0,
glasses_2 = 0,
glasses_1 = 0,
helmet_2 = 1,
tshirt_1 = 15,
bags_1 = 0,
decals_1 = 0,
mask_2 = 0,
arms_2 = 0,
tshirt_2 = 0,
torso_2 = 7,
bags_2 = 0,
shoes_2 = 10,
chain_1 = 0,
pants_1 = 6,
arms = 0,
helmet_1 = 45,
decals_2 = 0
},
['illenium-appearance'] = {
{ component_id = 0, drawable = 0, texture = 0 },
{ component_id = 1, drawable = 10, texture = 0 },
{ component_id = 2, drawable = 0, texture = 0 },
{ component_id = 3, drawable = 0, texture = 0 },
{ component_id = 4, drawable = 0, texture = 0 },
{ component_id = 5, drawable = 0, texture = 0 },
{ component_id = 6, drawable = 0, texture = 0 },
{ component_id = 7, drawable = 0, texture = 0 },
{ component_id = 8, drawable = 0, texture = 0 },
{ component_id = 9, drawable = 0, texture = 0 },
{ component_id = 10, drawable = 0, texture = 0 },
{ component_id = 11, drawable = 10, texture = 0 }
},
['fivem-appearancearance'] = {
{ component_id = 0, drawable = 0, texture = 0 },
{ component_id = 1, drawable = 10, texture = 0 },
{ component_id = 2, drawable = 0, texture = 0 },
{ component_id = 3, drawable = 0, texture = 0 },
{ component_id = 4, drawable = 0, texture = 0 },
{ component_id = 5, drawable = 0, texture = 0 },
{ component_id = 6, drawable = 0, texture = 0 },
{ component_id = 7, drawable = 0, texture = 0 },
{ component_id = 8, drawable = 0, texture = 0 },
{ component_id = 9, drawable = 0, texture = 0 },
{ component_id = 10, drawable = 0, texture = 0 },
{ component_id = 11, drawable = 10, texture = 0 }
},
['17mov_CharacterSystem'] = { {
component_id = 1,
texture = 0,
drawable = 0
}, {
component_id = 3,
texture = 0,
drawable = 0
}, {
component_id = 4,
texture = 2,
drawable = 15
}, {
component_id = 5,
texture = 0,
drawable = 0
}, {
component_id = 6,
texture = 0,
drawable = 114
}, {
component_id = 7,
texture = 0,
drawable = 0
}, {
component_id = 8,
texture = 0,
drawable = 15
}, {
component_id = 9,
texture = 0,
drawable = 0
}, {
component_id = 10,
texture = 0,
drawable = 0
}, {
component_id = 11,
texture = 0,
drawable = 36
}},
}
}Last updated