gearConfiguration

chevron-rightConfiguration Overviewhashtag
Config.SystemSettings = {
    Language = "en", -- en - english | de - german | es - spanish | fr - french | pt - portuguese | ru - russian | tr - turkish
    -- Even you disabled this still printing debug make sure to also turn off in bridge aswell.Even if you disable this, it will still print debug logs. Please make sure to turn it off in the bridge as well.
    Debug = true,
    theme = "shadcn_dark", -- shadcn_dark | gblue | theme3 | theme4 | theme5 | theme6
}

--[[
inbuilt       - Uses the built-in object spawner
object_gizmo  - Uses the Object Gizmo (https://github.com/MrGrootx/object_gizmo)

Note:
If the type is set to "object_gizmo", both ox_lib and the object_gizmo resource are required.
]]
Config.ObjectSpawnerType = 'inbuilt' -- Supported object spawner types: "inbuilt" | "object_gizmo"

Config.AtmSettings = {
    lowCashAlertAmount = 10000, -- the amount of cash in the ATM when the cash is low
    receiptPaperCost = 20, -- the cost per receipt paper
    UserAtmMenuSettings = {
        receiptItemName = 'g_atm_receipt', -- the item name of the atm transaction receipt
        isRequiredCard = false, -- if true, the user will need a card in their inventory
        cardItemName = 'your_card_item_name_change_here', -- the item name of the card
        insertCardAnimationDuration = 1000 -- the duration of the insert card animation in milliseconds
    },
    enableAtmPassword = false, -- if true, the user will need to enter a PIN to access the atm
    zoneSize = {
        x = 1.0,
        y = 1.0,
        z = 2.0,
        PlusHeading = 1, -- the heading of the zone
    },
    -- Security Limits: These limits prevent abuse and ensure system stability
    -- IMPORTANT: These are per-transaction limits for security purposes
    -- NOTE: Players can perform multiple transactions, but each individual transaction cannot exceed these limits
    -- For example: If maxDepositPerTransaction is 10000000, a player can deposit 10000000 multiple times, but cannot deposit 20000000 in a single transaction
    SecurityLimits = {
        maxThermalPaperPerTransaction = 10000, -- Maximum thermal paper amount that can be added per transaction (security limit). Players can add this amount multiple times.
        maxDepositPerTransaction = 10000000, -- Maximum cash amount that can be deposited per transaction (security limit). Players can deposit this amount multiple times.
        maxWithdrawPerTransaction = 10000000, -- Maximum cash amount that can be withdrawn per transaction (security limit). Players can withdraw this amount multiple times.
    }
}
chevron-rightAtm Servicinghashtag
Config.AtmServicing = {
    enabled = true, -- Enable/disable the servicing system
    minTransactionsBeforeService = 15, -- Minimum transactions before requiring service
    maxTransactionsBeforeService = 50, -- Maximum transactions before requiring service
    serviceItem = 'g_atm_fixkit', -- Item name required to service ATM
    autoMaintenanceMode = true, -- Automatically set ATM to maintenance when service needed
    serviceRange = 3.0, -- Distance in meters to detect nearby ATM for servicing
    repairDuration = 1000 -- Duration of the repair animation in milliseconds
}
chevron-rightATM'shashtag
-- spawnCode also should be unique and not used by any other atm
Config.ATM = {
    [1] = {
        label = "Pulse ATM",
        price = 8000,
        maxCashCapacity = 50000,
        paperCapacity = 250,
        spawnCode = 'g_atm_001',
        requiredLevel = 0,
        xp = 1.5,
        image = 'red_atm.png'
    },

    [2] = {
        label = "Fleeca Smart ATM",
        price = 15000,
        maxCashCapacity = 120000,
        paperCapacity = 400,
        spawnCode = 'prop_fleeca_atm',
        requiredLevel = 1,
        xp = 2.5,
        image = 'gta_fleeca.png'
    },

    [3] = { 
        label = "Groot Secure ATM",
        price = 22000,
        maxCashCapacity = 200000,
        paperCapacity = 600,
        spawnCode = 'g_atm_002',
        requiredLevel = 2,
        xp = 3.5,
        image = 'blue_atm.png'
    },

    [4] = {
        label = "Vertex Banking ATM",
        price = 32000,
        maxCashCapacity = 350000,
        paperCapacity = 800,
        spawnCode = 'g_atm_003',
        requiredLevel = 3,
        xp = 5.0,
        image = 'yellow_atm.png'
    },

    [5] = {
        label = "Pacific Elite ATM",
        price = 50000,
        maxCashCapacity = 600000,
        paperCapacity = 1200,
        spawnCode = 'prop_atm_02',
        requiredLevel = 5,
        xp = 7.5,
        image = 'gta1.png'
    },
    -- add more
}

Last updated