np_banking
Banking with the GTA lore banks. Every account is a ledger, the checking account is the framework bank, and cards are inventory items with a PIN. Players bank in an np_phone app, at ATMs they click on and at branch counters, and crews rob the vaults.
- Version
- 0.1.0
- Status
- Feature-complete, not yet tested on a live server
- Frameworks
- ESX first, qbx, qb, standalone
- Dependencies
- oxmysql, np_npchandler 1.1.0+, np_prophandler 1.1.0+
- Inventory
- np_inventory first, ox_inventory, qb-inventory or none
- Database
- Tables created on start
- Optional
- np_payments, np_phone, np_hud, np_identification, np_mdt, np_admin, np_discord
- Languages
- English, German
- Build
- Node to build the NUI once

Taken from the NUI in the browser with mock data. The bank brands are a design render.
Six lore banks
Each bank has its own logo, colours, account number prefix, fees, savings rate, card tiers and branches on the map. A tile in its colours marks its accounts in the app, on cards and in toasts.
Main retail bank, most ATMs
Street branches, the Fleeca jobs
Private banking, the big heist
Best savings rate, Paleto Bay
Business and job accounts
Government account and gold
Redrawn after the in-game logos. The bank names and logos are trademarks of Rockstar Games.
What's in it
Every amount, account and role is checked on the server. The client asks, the server books.
Accounts as a ledger
- Every money movement is a statement row with a reference.
- The checking account is the framework bank: other scripts keep working, and their changes show up as external rows.
- Personal, savings, shared, business, society, faction and government accounts.
Cards as items
- A
bank_carditem per card with a salted PIN hash, daily and contactless limits and an expiry. - Freeze, report stolen, change the PIN. Three wrong PINs block the card.
np_phone Bank app
- Accounts, transfers to phone or account numbers, QR codes and payment requests.
- Cards, shared accounts, standing orders, statements, savings and a business mode for bosses.
Interactive ATMs
- The camera moves to the screen and you click it. Card and PIN, or the phone.
- Cash stock per ATM, foreign-bank fees, receipts. Bystanders see the screen, never the PIN.
Branches
- Take a ticket. An NPC teller or a player teller on duty serves you.
- Safe deposit boxes, savings depots, loans, cards, cashier's cheques, gold and large cash.
Robberies
- Fleeca drawers and vaults, Pacific Standard, Blaine County Savings and a Union Depository gold run.
- ATM skimmers, jackpotting, rip-outs with a tow rope and explosives. A ripped-out ATM stays where it was dragged, even after a restart.
- Minigames whose answers the server checks.
np_payments provider
- The checkout lists every np_banking account the player may use, with cards, PINs and limits.
- Phone payments in np_phone are ledger rows too.
Staff and safety
- Fraud rules flag too many or too large payments in a short time, and can freeze the account. A credit score drives loans.
- Staff give and take money, freeze accounts and read the audit log through np_admin.
- Rate-limited RPCs with schemas, and one log of every staff action.
A closer look
Accounts and the ledger
Money is whole dollars, like ESX. Every booking writes a row with the balance after it, and every account belongs to one of the six banks.
| Account | What it is |
|---|---|
| Checking | One per character, at Maze Bank by default. Its balance is the ESX, qbx or qb bank money, so np_hud's money chip and every other script keep working |
| Personal | More everyday accounts, at any bank |
| Savings | Interest every day at the bank's rate, Blaine County pays the most |
| Shared | Several members with the roles owner, spend and view and a daily limit each. Invites by phone number |
| Business, society, faction | Job accounts with a boss role, employee limits and company cards. ESX societies can be copied over once |
| Government | The City of Los Santos account for fines and taxes |
- External rows: when a paycheck, a shop or an admin menu changes the framework bank, the statement shows it.
- Between banks a transfer arrives after an hour, or right away for the bank's instant fee.
- Standing orders run on their own, with a Live Activity on the phone before they do.
- Credit score from 300 to 850. Paid instalments raise it, missed ones and fraud flags lower it.
np_phone Bank app
With np_phone running, np_banking adds a Bank app. /bank opens the phone straight into it.

- Accounts: the total with a 7-day line, transactions with filters and search, monthly statements you can mail.
- Payments: send to a phone or account number, pay-me QR codes, requests with a Pay button by mail, push and chat.
- Cards: freeze, report stolen, PIN, limits and contactless. "Used far away" puts a Freeze button in the Dynamic Island.
- Business mode for bosses: employee limits and company cards. Streamer mode hides amounts.
- Pushes for paychecks, payments, low balance and declined payments.
ATMs you click on
Every ATM prop is usable. Press E: the camera moves to the screen, the UI is drawn on it and you click it with a cursor in the world.

- Card and PIN, or tap the phone. Withdraw, deposit, transfer, statement and change PIN, with receipts as items.
- Cash stock per ATM, restocked over time or by a cash-in-transit job through
RestockAtm. Other banks' cards pay a fee. - Bystanders see the screen, never the PIN. The card is kept after three wrong PINs or when you walk away without it.
- Out of order and out of cash states. Staff restock, repair or break an ATM.
Branch counters
Take a ticket at the counter. An NPC teller serves you, or a player teller on duty who also approves big loans. Many services need an ID through np_identification, and money only moves after you hold a button to sign.
| Service | What it does |
|---|---|
| Accounts | Open, rename and close accounts, add co-owners |
| Safe deposit boxes | A stash per box in S, M or L with keys, co-holders and weekly rent. Police open them with a warrant |
| Savings depots | Flex, fixed term and the LS index fund |
| Loans | Personal, car and mortgage loans with instalments. Missed ones lower the credit score, defaults fire an event for repossession |
| Cards | Order, replace, upgrade, reset the PIN, and pick up a card an ATM kept |
| Cheques and gold | Cashier's cheques as items, gold bars to buy and sell |
| Large cash | Over $10,000 at the counter needs a notice 24 hours ahead |
| Business | Job accounts, statements and payroll for bosses |

Robberies
Every step starts and ends on the server: positions, items, police on duty, cooldowns and minigame answers. The client never reports success.

- Silent or loud alarms through np_mdt. A player teller can hold the silent alarm for an inside job.
- Marked money with dye packs, and a GPS tracker hidden in the loot bag.
- Fingerprint, CCTV, dye and skimmer evidence events for your MDT or evidence script.
- Cooldowns per heist and per type that survive a restart. Staff reset them or end a robbery in np_admin.
| Job | How it goes | Police |
|---|---|---|
| Fleeca drawers | A hold-up at the counter of any Fleeca, 1 to 4 robbers | 2 |
| Fleeca vault | Thermite on the back door, hack the keypad, drill the boxes | 4 |
| Pacific Standard | Crew of 4 to 6: cut the power, thermite, a two-player sync hack or the manager's keycard, drill or wait for the time-lock, trolleys and gold | 8 |
| Blaine County Savings | Thermite, hack the panel, drill the boxes, trolleys | 6 |
| Union Depository | The gold run. Off by default: point it at your MLO first | 10 |
| ATM jobs | Skimmers that clone cards, jackpotting on the ATM's own screen, ripping it out with a tow rope (a networked np_prophandler prop that stays where it was dragged and survives a restart), or C4 | 0–2 |
Cards
A card is a bank_card item linked to one account. Use it at an ATM, pay with it in np_payments, lose it, get it stolen.
| Tier | Daily limit | Contactless up to | Needs |
|---|---|---|---|
| Debit | $5,000 | $100 | – |
| Gold | $15,000 | $150 | $50,000 balance |
| Black | $50,000 | $250 | $500,000 balance |
| Business | $20,000 | $150 | A job account |
| Prepaid | $2,000 | $100 | Nothing, anonymous |
- 4-digit PIN stored as a salted hash, with an optional server pepper. Three wrong tries block the card.
- Cards expire after 56 real days, which brings players back to a branch.
- Cloned cards from a skimmer work three times with a lower limit.
Limits, tiers, fees and the expiry are all in shared/config/cards.lua.
Set it up
Compatibility
The framework and inventory are detected at start ('auto'). np_npchandler and np_prophandler, both 1.1.0 or newer, are required. Every other resource is optional, has a fallback, and the start log prints one line per sibling.
| Kind | Supported |
|---|---|
| Framework | ESX Legacy (es_extended) first, Qbox (qbx_core) and qb-core, or standalone (license identifiers, np_banking keeps its own balances, no cash) |
| Inventory | np_inventory first, items registered on their own. ox_inventory and qb-inventory with the items added to their lists. Or none: cards without items |
| Checking | The framework's bank money, read and written through the framework |
| Marked money | ESX black_money (np_inventory's black_money item). No new money items |
| Permissions | np_admin permission nodes. Without it: the console, identifiers in a convar, ESX admin groups and Discord roles. No ACE |
| Sibling | What it adds |
|---|---|
| np_payments | np_banking is its banking provider: accounts, cards, PINs and limits in the checkout |
| np_phone | The Bank app and notifications. Phone payments go through the ledger |
| np_inventory | Cards, receipts, cheques and robbery tools as items, deposit boxes as stashes |
| np_hud | Toasts, key prompts and progress bars |
| np_identification | ID checks at the counter |
| np_admin | Permissions, live settings, logs and staff tools |
| np_mdt | Bank alarms for the police |
| np_discord | Staff roles from Discord |
| np_minigames | Robbery minigames, checked on the server |
Installation
The tables are created on start. You build the NUI once and start np_banking before np_payments.
- Put the resource in
resources/asnp_banking. - Build the NUI once (the built
web/distis not in the repository):cd np_banking/web && npm install && npm run build - Database: nothing to do.
sql/install.sqlholds the same statements if you prefer to import them. - On ox_inventory or qb-inventory, add the items from the README to their item lists. np_inventory registers them on its own.
- Start it after your framework and inventory and before np_payments, which picks np_banking as its banking provider when it starts. np_phone can start in any order.
ensure oxmysql ensure es_extended # or qbx_core / qb-core ensure np_inventory # or ox_inventory / qb-inventory ensure np_hud ensure np_npchandler # required, 1.1.0+ ensure np_prophandler # required, 1.1.0+ ensure np_banking ensure np_payments ensure np_phone - Optional: a secret pepper for PIN hashes. Never change it afterwards, or every PIN stops matching.
set np_banking_pin_pepper "some-long-random-string" - Tune the ATM screens in game: with
Config.Debugon,/atmdebugdraws the screen corners forConfig.Atm.models.
For your own scripts
Server exports for accounts, transfers, bookings, cards, ATMs and the branch, and server events for every ledger row, frozen account, blocked card, fraud flag, loan default and piece of robbery evidence.
-- pay a job's wage into the character's checking account
local acc = exports.np_banking:GetPersonalAccount(source)
exports.np_banking:AddTransaction(acc.id, 640, { reason = 'Paycheck · Burger Shot' })
-- move money between two accounts (by id or account number)
local ok, res = exports.np_banking:Transfer(acc.id, 'LB-21 0457', 3400,
{ actor = source, reason = 'Sultan RS · engine + turbo' })
-- res.pending = true between banks until the transfer is released
-- a cash-in-transit job refills an ATM
exports.np_banking:RestockAtm(atmId, 5000)
AddEventHandler('np_banking:server:transaction', function(tx)
-- every ledger row, external ones included
end)Amounts are positive whole dollars. Fractions are refused, never rounded. Exports answer nil, false or {} until np_banking:server:ready fired.
Questions
Has it run on a live server?
Not yet. np_banking is feature-complete and covered by Lua test suites for ESX with np_inventory, Qbox and qb-core, ox and qb inventories and standalone, plus the web tests. Testing on a live server is the next step, so expect fixes in the first versions.
Does it replace my framework's bank money?
No. The checking account is the framework bank: its balance is the ESX, qbx or qb bank money. Paychecks, shops and admin menus keep working, and np_banking writes their changes into the statement. Savings, shared and job accounts are np_banking's own.
Do the ATMs fit every ATM model?
The ATM models are listed in Config.Atm.models with the screen's four corners as offsets. Check them in game with Config.Debug and /atmdebug, and tune them if the screen sits off on your map.
Do I need np_payments?
No. With np_payments, np_banking is its banking provider, so the checkout shows savings, shared and job accounts, cards and PINs. Start np_banking before np_payments.
Does it use ACE permissions?
No. Staff rights are np_admin permission nodes such as np_banking.money and np_banking.freeze. Without np_admin, the console, identifiers in a convar, ESX admin groups and Discord roles through np_discord count as staff.
Can I use my ESX societies?
Yes. Set esxSociety = 'migrate' and np_banking copies every society_<job> balance into a job account once. Then point your society scripts at np_banking's exports.
Does it work without a framework?
Yes. Standalone uses license identifiers and np_banking keeps its own balances. It has no cash of its own, so cash deposits and withdrawals need a framework or a cash item in the inventory.
Is it in German?
English and German, set with Config.Locale.
Works well with

Build once, ensure it before np_payments, open the Bank app.
Installation, the configuration and the exports are in the docs.