OTHERPLANET DOCS
  • ๐ŸชAbout US
  • ๐Ÿ’ปScripts
    • ๐Ÿ”ซOP Crime Organisations
      • Installation
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • ๐Ÿš˜OP Mechanic Job
      • Installation
      • Config File
      • Setup Jobs
      • Setup Dispatch
      • Get Duty
      • Update Tablet Stats
      • Notifications/Progressbar
      • Discord Logs
    • ๐Ÿ—’๏ธOP Requests
      • Installation
      • Config
      • Usage
    • ๐ŸŒ‡OP HUD
      • Config File
      • Instalation
      • Progress Bar Usage
      • Notify Usage
      • Alcohol Status & Stamina
    • ๐ŸŽ๏ธOP Vehicle Theft
      • Installation
      • OX Inventory
      • Translate Sounds
      • Config
      • Customization
    • ๐Ÿ…ฟ๏ธOP Garages V1 (OLD)
      • Installation
      • Config
        • Main
        • Garages Locations
        • Vehicles and Brands
      • Customization
      • Vehicle Types
      • Jobs
      • Exports
      • Other
Powered by GitBook
On this page
  1. Scripts
  2. OP Crime Organisations

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.

PreviousInstallationNextCustomization

Last updated 21 days ago

Useful Articles

File Location > Config/MainConfig.lua

Config = {}
Config.FrameWork = "ESX" -- Supported: ESX / QBCORE / QBOX
Config.Locale = "en" -- Supported:  / EN / FR / IT / PT / SK / TW / HR / EL / CZ / SI / AR

-- Translations in progress: NL / PL / DE / ES / SE / BG / RO / TR / LT / AR / HU / MY

Config.FuelDependency = "none" -- Options: none, cdn-fuel, ox-fuel, LegacyFuel, qs-fuel, rcore-fuel, codem-xfuel, lc_fuel
Config.KeysDependency = "none" -- Options: none, qs-keys, qb-keys, wasabi_carlock, sna-vehiclekeys, dusa_vehiclekeys, Renewed-Vehiclekeys, tgiann-keys, ak47_vehiclekeys, ak47_qb_vehiclekeys

Config.SteamApiKey = "" -- Used to fetch Steam avatars
Config.DiscordWebHook = '' -- Webhook for general logs
Config.DiscordWebHookAdmin = '' -- Webhook for admin panel actions

Config.Inventory = { 
    inventoryScript = "ox_inventory" -- Supported: ox_inventory / qb-inventory / quasar_inventory / none menu using ox_lib)
}

Config.Clothing = {
    clothingScript = "skinchanger" -- Supported: skinchanger, illenium-appearance, fivem-appearancearance, 17mov_CharacterSystem, rcore_clothing
}

Config.CurrencySettings = {
    -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
    currency = "USD",
    style = "currency",
    format = "en-US"
}

----------------------------------------------------------------------------
-- โš’๏ธ 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 = "QBOX", -- Supported: op-hud / ESX / QBCORE / QBOX
}

Config.AdminPanelCommand = "crimeadmin" -- Crime Admin command name.
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 = 3, -- 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,
    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 = {
    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',
        -- To get your current outfit data use: /getMyOutfit (Script will print data on f8 console)
        -- If you're using rcore_clothing Please use command /getMyOutfit and set the variable that you got below.
        playerOutFit = (Config.Clothing.clothingScript == "illenium-appearance" or Config.Clothing.clothingScript == "17mov_CharacterSystem" or Config.Clothing.clothingScript == "fivem-appearance") and {
            { 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 }
        } or {
            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
        }          
    },
    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 = {
    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
                }
            }
        }
    }
}

----------------------------------------------------------------------------
-- ๐Ÿ“ ZONES CONFIGURATION ๐Ÿ“
----------------------------------------------------------------------------

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 = 30, -- Cooldown time (in minutes) after a capture
    ZoneCaptureEXP = 150, -- Experience earned per zone capture
}

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,
    },
}

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 = 15,
                img = "https://cdn-icons-png.flaticon.com/512/7630/7630510.png",
                rare = "blue",
                type = "money"
            }
        },
        OnMissionStart = function()
            startZoneCaptureMission()
        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,
    },]]--
}

๐Ÿ’ป
๐Ÿ”ซ
LogoIntro to WebhooksDiscord
https://steamcommunity.com/dev/apikeysteamcommunity.com