Agency-Banking: A Complete FiveM Bank, With or Without a Framework
Wallet, cards, transfers, fixed deposits, stock and crypto trading, ATM PIN. Agency-Banking runs on QBCore, Qbox, ESX or standalone with money exports.
Agency Scripts
Founder and Lead Developer at Agency Scripts
Documentation
Configuration, exports and events of Agency-Banking in one place.
A Complete Bank for Your City
Agency-Banking turns every bank branch and ATM into a full banking app. Players see bank balance and cash side by side, send money, and manage cards, fixed deposits and investments in one place. It runs on QBCore, Qbox or ESX, and on a server without a framework it keeps its own accounts. The only required resource is oxmysql.
Everything in the Menu
- Wallet: bank balance and cash, deposits and withdrawals.
- Transfers: by server ID or to a player standing nearby.
- Cards: bank cards in four themes.
- ATM PIN: locks for 60 seconds after five wrong tries.
- Fixed deposits: 7, 14 or 30 days by default, at rates that come from the server config and never from the player.
- Markets: stock and crypto trading.
- Activity log: a full history of the account.
Framework Detected, or Standalone
Leave the framework setting on auto and the bank finds QBCore, Qbox or ESX by itself, even one that starts late. On every start, the server console says which framework it detected or that the bank runs standalone. Standalone is only chosen when none of them is installed.
In standalone mode, players are identified by their Rockstar licence and admins come from ACE or a licence list in the config. Balance and cash are kept by the bank itself. With Agency-Phone installed, phone and bank share the same balance, and servers with their own money system connect it through a few hooks in the config.
The Money System for Your Other Scripts
The server exports work the same on every framework. On a standalone server they are the money system: a shop, a job or a garage pays and charges players through the bank, and an open bank shows the new balance right away.
-- pay a player into their bank account
exports['Agency-Banking']:AddBankMoney(source, 500, 'Paycheck')
-- charge a player: returns false and takes nothing if the balance is too low
if not exports['Agency-Banking']:RemoveBankMoney(source, 150, 'Garage fee') then
-- not enough money
end
The same pair exists for cash with AddCashMoney and RemoveCashMoney, next to GetBankBalance, GetCashBalance, AddTransaction for the activity log and GetFramework. On QBCore and ESX an open bank follows framework money changes by itself. After any other change, trigger agency_banking:client:MoneyChanged for that player.
Checked on the Server
Payouts, interest rates, fixed deposits, cards and transactions are checked on the server, so a modified client cannot create money or touch other players' cards. The Companion pairing carries no banking rights of its own: every money action from the app is validated on the server again.
Two Designs and a Size Slider
The menu follows the Agency design: a solid dark panel, gold accents, pill buttons and a gold highlight that glides along the sidebar. Servers that prefer the classic blue look switch the design setting to v1 and keep every feature.
Every player can scale the bank from 60 to 150 percent in 1 percent steps under Settings, and each player keeps their own size. The bank speaks 13 languages and opens at markers or through qb-target or ox_target.
Setup and Updates
No SQL import is needed: every table, column and index is created on the first start, on MariaDB and MySQL 8. The included agency_banking.sql is only there for servers whose database user may not create tables. By default /openbank is for admins only, and one config switch opens it to every player.
Updates are free for everyone who already owns Agency-Banking. Accounts, cards, transactions, fixed deposits and Companion pairings survive an update. Use the new config.lua instead of copying the old one over, and run refresh before restarting the resource when the manifest changed.
Banking on the Real Phone
Agency-Banking pairs with the free Agency Companion app on iOS and Android, on its own and independent of Agency-Phone: balance, transfers, cards, fixed deposits and the ATM PIN on the go. Players pair with /abconnect, short /abc, or with the QR code inside the bank menu.
Get Agency-Banking
Agency-Banking is available in the Agency Scripts shop, and the documentation covers configuration, exports and events.