Configuration

🌐 Core Settings

editable/config/shared.lua:

return {
    debug = false,                    -- Enable for troubleshooting
    integration = {
        locales = 'en',                 -- choices (en, custom)
        notify = 'ox_lib',              -- choices (ox_lib, qb, custom)
        target = 'ox_target',           -- choices (qb-target, ox_target, custom)
        framework = 'qbx',              -- choices (qbx, qb, custom)
        inventory = 'ox_inventory',     -- choices (ox_inventory, qb-inventory, custom)
        logger = 'ox_lib',              -- choices (ox_lib, custom)
    },
    interactionMaxDistance = 3.0,     -- Kiosk interaction range
    paymentMethod = 'cash',           -- 'cash' or 'bank'
    phoneItemName = 'phone',          -- Your server's phone item name

    -- Charging speeds and prices
    chargingSpeed = {
        slow = { price = 5, tick = 0.1 },    -- 0.1% per second
        normal = { price = 10, tick = 0.2 },  -- 0.2% per second
        fast = { price = 20, tick = 0.5 }     -- 0.5% per second
    },

    -- Security settings
    pinValidation = {
        maxAttempts = 3,    -- Failed PIN attempts
        timeout = 60,       -- Lockout duration (seconds)
        length = 4          -- Required PIN length
    },

    rateLimit = {
        enabled = true,
        limits = {
            requestUI = 5,      -- UI request cooldown
            putPhone = 5,       -- Storage cooldown
            takeoutPhone = 5    -- Retrieval cooldown
        }
    }
}

πŸ”’ Security Settings

See Security Features for detailed explanation of these settings.

⚑ Charging Configuration

Basic speed and pricing setup. See Charging System for detailed calculations and recommendations.

πŸ“ Station Setup

Basic station setup. For detailed examples and best practices, see Charging System.

editable/data/stations.lua:


Configured by Sahara Scripters - We read the documentation so you don't have to

Last updated