AW ScriptsDocs
AW Banking

Configuration

#Config

Everything is in config.lua (with comments):

Setting What it does
Config.Framework 'auto', 'qb', 'qbox' or 'esx'
Config.Interaction 'auto' (ox_target if running, else key), 'target' or 'key'
Config.Limits min / max amount, cooldown between actions, max distance from the bank or ATM
Config.Transfer turn transfers on/off, allow offline receivers
Config.ATM ATM models, distance, deposits, transfers, bills, animation, daily withdraw limit
Config.Card card on/off, item name, inventory, prices, PIN length, wrong PIN tries, stolen cards
Config.Banks / Config.Blip bank counters (their order = bank id for robbery exports) and blips
Config.Society job accounts: job = { label, grade }, boss-only transfers
Config.Savings interest rate, interval, cap, online only
Config.Loans / Config.Credit loan sizes by credit score, interest, payment plans, interval, late fee, score changes
Config.Invoices /bill command, distance, max, commission, jobs that may bill
Config.Shared price, max owned, max members, can members withdraw
Config.Admin admin command and ace permission
Config.Logs Discord log on/off and which events (the webhook is a server convar, never in config)
Config.Robbery vault money, refill, ATM hack payout and cooldown
Config.UI brand text, blur, scale, page size, theme colours (same as html/style.css)

Texts are in locales/en.json.

#Notes

  • Personal balances stay in the framework; savings, job and shared balances are in aw_bank_accounts.
  • ATMs are map props the server cannot see. The server accepts an ATM only when the player stands right next to the reported spot, and checks the distance again on every action.
  • Money of offline players is written straight into the framework table (players.money or users.accounts).
  • Preview the menu without the game: open html/index.html in a browser (add #atm, #bill or #admin to the address). Demo PIN: 1234.