Skip to content

Getting Started

Configuration

Change the settings to fit your server.


All settings live in the config file inside the script folder. Every option is commented so you know what it does.

Editing the config#

  1. Open resources/zolt_banking/config.lua in a code editor (VS Code is recommended).
  2. Change the values you need. Keep the commas and brackets intact.
  3. Save the file and restart the script.
config.lua· lua
Config = {} Config.Framework   = 'auto'      -- 'auto' | 'esx' | 'qb' | 'qbox' | 'standalone'Config.Locale      = 'en'        -- see shared/locale.luaConfig.Currency    = '$'Config.BankName    = 'Zolt Bank'Config.IbanPrefix  = 'ZOLT'        -- account numbers look like ZOLT12-3456-7890Config.Debug       = false Config.UI = {    Logo       = 'logo.png',   -- file inside web/img/  OR  'https://i.imgur.com/yourlogo.png'  OR  false for a letter badge    LogoSize   = 46,           Accent     = '#e2cba1',    -- main color (buttons, highlights).    AccentInk  = '#17110a',    -- text color drawn on top of the accent    Tilt3D     = true,         -- window follows the mouse in 3D + cards tilt/flip    Particles  = true,         -- soft floating light particles behind the UI    Sounds     = true,         -- click / page / cash / open / close sound effects    Volume     = 0.45,         -- 0.0 - 1.0    -- Use your own sound files instead of the built-in ones: put them in web/sounds/ (or use a URL)    -- names: click, hover, nav, page, open, close, modal, success, error, cash, send, key, flip, toggle, tick    CustomSounds = {        -- click = 'click.ogg',        -- cash  = 'register.mp3',    },} Config.Interaction = 'auto'      -- 'auto' | 'ox_target' | 'qb-target' | 'prompt'  Config.StartingBalance = 5000 -- Starting balances given when a player opens the bank for the very first time (only used in standalone mode - with ESX/QB the framework bank balance is used) -- SYNC WITH FRAMEWORK-- The PERSONAL account is always the framework 'bank' money (ESX account 'bank',-- QB/Qbox money 'bank'), so every other script that pays/charges bank keeps working.-- Savings, shared, business & loan balances are stored by Zolt Banking.Config.UseFrameworkSocietyAccounts = true -- business accounts mirror esx_addonaccount / qb-banking / Renewed-Banking society money when available Config.Limits = {    MaxTransfer        = 2500000,  -- per single transfer    MaxDeposit         = 5000000,    MaxWithdraw        = 5000000,    AtmMaxWithdraw     = 10000,    -- per ATM transaction    AtmDailyWithdraw   = 50000,    -- per card per 24h    MaxSharedAccounts  = 3,        -- a player can OWN at most this many shared accounts    MaxSavingsAccounts = 1,    MaxCards           = 3,    ActionCooldownMs   = 750,      -- anti-spam between money actions per player} Config.Fees = {    TransferPercent   = 0.0,   -- 0.5 = 0.5% fee on transfers (goes to Config.FeeSociety if set)    TransferMin       = 0,    AtmPercent        = 0.0,   -- fee on ATM withdrawals    NewCardPrice      = 250,    FeeSociety        = nil,   -- e.g. 'bank' to send fees to a job account; nil = destroyed (money sink)} Config.Savings = {    Enabled          = true,    InterestRate     = 0.25,       -- % paid per payout    PayoutIntervalMin= 60,         -- real minutes between interest payouts    MaxBalanceForInterest = 1000000, -- interest only on this much (anti-inflation)    OnlineOnly       = false,      -- true = only pay interest to online owners} Config.Loans = {    Enabled          = true,    -- credit score 300..850, max loan grows with score    Tiers = {        { minScore = 300, max = 10000,   rate = 12.0 },        { minScore = 500, max = 50000,   rate = 9.0  },        { minScore = 650, max = 150000,  rate = 6.5  },        { minScore = 750, max = 500000,  rate = 4.5  },    },    Durations        = { 7, 14, 30 },   -- days (real days)    InstallmentEvery = 24,              -- hours between automatic installments    MaxActiveLoans   = 1,    LatePenaltyScore = 25,              -- credit score lost per missed installment    OnTimeBonusScore = 5,    StartingCreditScore = 600,} Config.Cards = {    RequireCardForAtm = true,  -- need a card + PIN to use an ATM    PinAttempts       = 3,     -- wrong PINs before the card is locked    CardItem          = nil,   -- set to an inventory item name (e.g. 'bank_card') to also give a physical item} Config.AtmModels = {    'prop_atm_01', 'prop_atm_02', 'prop_atm_03', 'prop_fleeca_atm',} Config.Blip = { sprite = 108, color = 2, scale = 0.75, label = 'Bank' } Config.Banks = {    { label = 'Pacific Standard', coords = vector3(248.95, 222.73, 106.29), blip = true },    { label = 'Fleeca Legion',    coords = vector3(149.91, -1040.74, 29.37), blip = true },    { label = 'Fleeca Hawick',    coords = vector3(314.18, -278.83, 54.17),  blip = true },    { label = 'Fleeca Alta',      coords = vector3(-350.99, -49.99, 49.04),  blip = true },    { label = 'Fleeca Rockford',  coords = vector3(-1213.0, -331.04, 37.78), blip = true },    { label = 'Fleeca Great Ocean', coords = vector3(-2962.59, 482.62, 15.70), blip = true },    { label = 'Fleeca Route 68',  coords = vector3(1175.06, 2706.64, 38.09), blip = true },    { label = 'Blaine County Savings', coords = vector3(-112.20, 6469.29, 31.63), blip = true },}Config.InteractDistance = 2.0 Config.Phone = {    Enabled    = true,    AppId      = 'zolt_banking',    AppName    = 'Zolt Bank',    AppDesc    = 'Manage your money anywhere',    Developer  = 'Zolt Scripts',    DefaultApp = true,    -- pre-installed (lb-phone)    -- which phone(s) to register into. 'auto' tries every supported phone that is started.    Provider   = 'auto',  -- 'auto' | 'lb-phone' | 'qs-smartphone' | 'yseries' | 'npwd' | 'gksphone' | 'none'    -- If no supported phone is running, players can use this command/item to open the    -- standalone phone-style app (works with ANY phone script or none at all).    FallbackCommand = 'bankapp',    FallbackItem    = nil,   -- e.g. 'phone' to open the app from an item    -- phone transfers can be limited separately    MaxPhoneTransfer = 250000,} Config.Admin = {    Command      = 'bankadmin',        Ace          = 'zolt_banking.admin', -- \add_ace group.admin zolt_banking.admin allow)    Groups       = { 'admin','god' },    FlagAmount   = 250000,       FlagBurst    = 25,  -- How many transactions in 5 minutes from one player triggers a flag} Config.Webhook = '' -- Discord webhook for large transactions & admin actions (leave empty to disable)Config.HistoryDays = 60 -- delete transactions older than this (0 = keep forever)

Applying changes#

Restart just this script from the server console or txAdmin:

Server console· bash
restart zolt_banking

Warning

If you see a Lua syntax error after editing, you've most likely removed a comma or a quote. Undo your last change and try again.

Your cart

Your cart is empty.

Browse scripts

Saved Items(0)

No saved items yet

Tap the heart on a product to keep it here.

Browse scripts
Configuration · Banking System | Zolt Scripts