Docs/ORB Banking/Configuration

Configuration

All configuration is in config.lua (not escrowed).

Core Settings

lua
Config.Debug        = false        -- Verbose server-side logging
Config.Locale       = 'en'         -- 'en' | 'es' | '' for auto-detect
Config.AutoHideHud  = true         -- Hide the framework HUD while the bank is open
Config.AutoHideChat = false        -- Hide chat while the bank is open

Config.DirtyMoneyAccount = 'dirty' -- Maps to black_money (ESX) / crypto (QB)

Fees & Limits

lua
Config.TransactionFee  = 0.00      -- Transfer fee (0.05 = 5%)

Config.MinDeposit  = 1
Config.MaxDeposit  = 500000000
Config.MinWithdraw = 1
Config.MaxWithdraw = 500000000
Config.MinTransfer = 1
Config.MaxTransfer = 50000000

Config.TransactionCooldown   = 2   -- Seconds between transactions per player (anti-spam)
Config.MaxRecentTransactions = 10  -- Recent transactions kept per player

Bank Locations

Ships with 6 bank locations. Each has coordinates and a blip:

lua
Config.BankLocations = {
    {
        name   = 'Pacific Standard Bank',
        coords = vector3(x, y, z),
        blip   = { sprite = 108, color = 2, scale = 0.7 },
    },
    -- ... more locations
}

Players access a bank by walking within ~3m and pressing E. Walking more than ~5m away closes the UI automatically.

Custom HUD Events

If you use a non-native HUD, trigger your own events when the bank opens and closes:

lua
Config.OnOpen  = { { event = 'myhud:toggle', args = false } }
Config.OnClose = { { event = 'myhud:toggle', args = true  } }