server.lua

The server.lua file allows you to setup the activities and jobs you wish to display.

return {
     illegalActions = {
        storerobbery = {
            minimumPolice = 0,
            label = 'Store Robbery',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-store',
            difficulty = 'Easy',
            payout = '$500-2,000',
            duration = '5-10 mins',
            requirements = {'Lockpick', 'No weapons needed'}
        },
        bankrobbery = {
            minimumPolice = 0,
            label = 'Fleeca Robbery',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-university',
            difficulty = 'Medium',
            payout = '$15,000-30,000',
            duration = '15-20 mins',
            requirements = {'Drill', 'Hacking device', 'Getaway vehicle'}
        },
        jewellery = {
            minimumPolice = 0,
            label = 'Vangelico',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-gem',
            difficulty = 'Medium',
            payout = '$20,000-40,000',
            duration = '10-15 mins',
            requirements = {'Hammer', 'Bag', 'Fast vehicle'}
        },
        pacific = {
            minimumPolice = 0,
            label = 'Pacific Bank',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-landmark',
            difficulty = 'Hard',
            payout = '$100,000+',
            duration = '30-45 mins',
            requirements = {'Thermite', 'Advanced laptop', 'Team of 4+'}
        },
        paleto = {
            minimumPolice = 0,
            label = 'Paleto Bank',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-building',
            difficulty = 'Medium',
            payout = '$40,000-60,000',
            duration = '20-25 mins',
            requirements = {'Explosives', 'Drill', 'Escape plan'}
        },
        houserobbery = {
            minimumPolice = 0,
            label = 'House Robbery',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-home',
            difficulty = 'Easy',
            payout = '$1,000-5,000',
            duration = '5-10 mins',
            requirements = {'Lockpick', 'Stealth'}
        },
        oilrig = {
            minimumPolice = 0,
            label = 'Oil Rig',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-oil-well',
            difficulty = 'Hard',
            payout = '$80,000+',
            duration = '45-60 mins',
            requirements = {'Boat/Helicopter', 'C4', 'Diving gear'}
        },
        metorrobbery = {
            minimumPolice = 0,
            label = 'Parking Meter',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-parking',
            difficulty = 'Easy',
            payout = '$50-200',
            duration = '1-2 mins',
            requirements = {'Crowbar'}
        },
        atmrobbery = {
            minimumPolice = 0,
            label = 'ATM Drilling',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-credit-card',
            difficulty = 'Easy',
            payout = '$800-3,000',
            duration = '3-5 mins',
            requirements = {'Drill', 'Rope'}
        },
        boosting = {
            minimumPolice = 0,
            label = 'Boosting',
            globalCooldown = 300, -- 5 minutes in seconds
            personalCooldown = 1800, -- 30 minutes
            icon = 'fas fa-car',
            difficulty = 'Variable',
            payout = '$5,000-50,000',
            duration = '10-30 mins',
            requirements = {'Hacking tool', 'Driving skill'}
        },

    },  
    
    -- Job Categories for Job Count Display
    jobCategories = {
        police = {
            label = "Police",
            icon = "fas fa-shield-alt",
            color = "#3498db", -- blue
            jobCodes = {"bcso", "fbi", "sasp", "lspd"}, -- job names that count as police
            jobTypes = {"leo"} -- job types that count (alternative to jobCodes)
        },
        ems = {
            label = "EMS",
            icon = "fas fa-ambulance", 
            color = "#e74c3c", -- red
            jobCodes = {"ems"}, -- job names that count as EMS
            jobTypes = {} -- empty if using jobCodes
        },
        -- Add more job categories as needed:
        -- mechanic = {
        --     label = "Mechanic",
        --     icon = "fas fa-wrench",
        --     color = "#f39c12", -- orange
        --     jobCodes = {"mechanic", "tunershop", "bennys"},
        --     jobTypes = {}
        -- },
        -- government = {
        --     label = "Government", 
        --     icon = "fas fa-university",
        --     color = "#9b59b6", -- purple
        --     jobCodes = {"judge", "lawyer", "da", "mayor"},
        --     jobTypes = {}
        -- }
    }
}

Last updated