FiveM Banking Script: ATMs, Cards & Loans
A complete bank on top of your framework's bank money: ATMs, PIN cards, transfers, shared accounts, savings and loans.
$39.99 · one-time purchase · QBCore, Qbox, ESX and standalone
Requires: ox_lib, oxmysql, rd_bridge. Protected with Cfx.re Asset Escrow; config, locales and SQL stay editable.


ATMs and branch counters, filtered history, transfers by account number with fees, PIN cards, shared and business accounts, savings with interest and loans. The balance is your framework's bank account, so shops and payrolls keep working. English and Spanish UI. v1.0, first release.
Needs the free rd_bridge resource, which adapts it to your framework and inventory.
🏦 A real bank for your city
ATMs, branches, PIN cards, savings and loans, built on the money your framework already has. rd_banking adds ATMs and 8 branch counters, transfers by account number, shared and business accounts and a modern interface in English and Spanish. Shops and payrolls that use the framework bank money keep working untouched.
Why you'll want it
- 🏧 Every map ATM works: prop_atm_01/02/03 and prop_fleeca_atm through target or a proximity prompt, plus 8 branch counters with editable coordinates for your own MLOs.
- 💸 Transfers by account number: format RD 1234 5678, tiered fees, per-operation caps and rolling 24 h limits. If the receiver is offline, the money arrives when their character loads.
- 💳 PIN cards: an inventory item with a salted, iterated SHA-256 PIN. By default it locks after 3 wrong PINs for 30 minutes, and you can require it at ATMs.
- 🏢 Accounts, savings and loans: shared accounts with member permissions, business accounts per job (police, ambulance, mechanic and taxi by default), savings that keep growing while offline, and loans with instalments, late fees and your own eligibility hook.
- 🛡️ Decided on the server: the client only sends an operation and an amount; the server checks session, place, permissions, limits and balance. Transfers use a journal, and 7 admin commands leave an audit trail.
- 🔌 Easy to plug in: server exports and events for your other scripts. Needs ox_lib, oxmysql and rd_bridge; the 8 tables install themselves.
First release (v1.0): code-reviewed and lint-checked. Report any issue and we fix it.
What you get
- The rd_banking resource with a modern NUI in English and Spanish.
- An editable config.lua: limits, fees, branches, cards, accounts, savings, loans and security.
- Item files for ox_inventory and qb-core (the bank card), SQL file and both locale files.
- 7 admin commands with an audit table, plus server exports and events to integrate other scripts.
Features
The balance is your framework's bank account
- The main balance is the framework "bank" account, read and written through rd_bridge. Payrolls and shops from other resources do not need any change.
- Everything the bank adds (history, cards, shared accounts, savings, loans, account numbers) lives in 8 rd_banking_* tables, created automatically on start.
ATMs and branches
- Any map ATM (prop_atm_01/02/03, prop_fleeca_atm) works with target or a proximity prompt. Optional fixed ATM points.
- 8 branch counters (Fleeca and Pacific Standard locations); coordinates are editable for your own MLOs. Configurable blips and floating info cards.
- Per-place access table: choose which operations each ATM, counter and phone context may do.
Money movement
- Deposit, withdraw and transfer, with per-operation caps per place and rolling 24 h limits for withdrawals and transfers.
- Transfers go by account number (format RD 1234 5678) with a tiered fee. If the receiver is offline, the money waits in a journal and arrives when the character loads.
- History with filters by type, direction, period, amount and text, paginated, with automatic clean-up of old rows.
Cards
- Bank card as an inventory item with a PIN (salted, iterated SHA-256, 600 rounds). The card locks after N wrong PINs and only works for its holder.
- One active card per character. Optionally require card plus PIN at ATMs.
Accounts, savings and loans
- Shared accounts with members and deposit / withdraw / manage permissions. Business accounts per job (police, ambulance, mechanic and taxi by default).
- Savings with interest calculated from timestamps, so it also grows while the player is offline.
- Loans with configurable eligibility (account age, income, balance or your own hook), automatic instalments, late fees, default status and a pause for server downtime.
Admin tools
- View, set, add and remove balance, read history, freeze accounts and list stuck transfers. Every use is stored in rd_banking_audit and can go to a Discord webhook.
How it works
The player walks up to an ATM or a counter and interacts. The client only sends an operation and an amount; the server validates the session, the place and distance, permissions, limits, rate limits and balance. Every character has a server-side lock, so two simultaneous requests cannot pass the same check. Transfers use a journal: reserve the row, charge the sender, mark it funded, then deliver it with an UPDATE that only succeeds once. Shared, business and savings accounts change with conditional updates and never go negative. The interface writes player data with textContent only.
Requirements
- Required: ox_lib, oxmysql and rd_bridge (rd_bridge must start first).
- Optional: an inventory supported by rd_bridge (only for cards), ox_target or qb-target (otherwise a proximity prompt is used).
- Optional: floating holograms with rd_holo, sold separately.
Install in 5 steps
- 1. Copy rd_banking to resources and start it after rd_bridge: ensure rd_bridge, then ensure rd_banking.
- 2. If you use cards, paste the block from items/ox_inventory.lua (or items/qb-core.lua) into your items file. No card image is bundled.
- 3. The database installs itself (Config.AutoInstallSQL). You can also import sql/install.sql by hand.
- 4. Edit config.lua: language, currency symbol, limits, fees, branches, jobs with a business account and loans.
- 5. Restart the server, walk up to an ATM or a counter and interact.
Compatibility
QBCore, Qbox, ESX and standalone through rd_bridge. Adapters are reviewed against the public documentation of each resource. Item definitions are provided for ox_inventory and qb-core. Protected with Cfx.re Asset Escrow; config.lua, locales, SQL, items and UI files stay editable.
FAQ and good to know
What if the server crashes in the middle of a transfer?
Framework money is not transactional. If it crashes between charging the sender and marking the row funded, the row stays reserved and /bankpending lists it for an admin to review. After it is marked funded, the receiver gets it on connect. There is a second window of milliseconds, between marking it delivered and adding the money to the receiver; if the server dies exactly there, that one payment is lost and /bankpending does not show it. The design prefers losing a payment over paying it twice. Check the sender's history if a player claims after a crash.
Can a modified client open a "virtual" ATM?
The server cannot see map props, so with Config.Atm.useWorldProps = true it only checks that the player stays near where the session was opened. A modified client could open a virtual ATM; per-operation and daily limits still apply. With useWorldProps = false only your fixed points are valid. The phone context cannot verify position either, which is why Config.Phone ships disabled.
How do loans behave?
Instalments are collected only from online players (the bridge cannot touch offline characters' money); the instalment is taken as soon as they join, and after the grace period the late fee applies. Loans have no collateral: a defaulter is flagged and loses credit, but nothing is seized. Income-based credit counts incoming transfers, which two characters of the same player could inflate; remove transfer_in from eligibility.incomeKinds or use customEligibility if that worries you.
Do other scripts appear in the history? Can it replace another bank?
Payrolls and shops that touch the framework bank money work as they are, but they only appear in the history if they call AddTransaction. The compatibility exports mirror names only: if another resource calls a different banking resource by name, you must change that call. Gang accounts are not included. Do not run two banking systems on the same ATM models and targets.
Does it work without ox_target or an inventory?
Yes. Without a target the bridge shows a proximity prompt. The inventory is only needed for cards; Config.Cards.requireAtAtm = true needs it.
Can I turn features off?
Yes: enabled = false in the savings, loans, shared accounts or cards sections of config.lua.