NEXO DOCSv1 · ENES
docs / scripts / nexo-bank

Nexo Bank

Free full bank: accounts, cards and ATMs, loans, credit, crypto, invoices, heists, taxes and a phone app.

v1.1.0ESXQBCoreQBoxStandalone

What's included

A complete free bank that works with ESX, QBCore, Qbox, ox_core, ND_Core and standalone with the same code. Includes a branch interface, ATMs, an admin panel and a phone app.

Core: personal account, shared accounts with permissions and per-member limits, savings accounts with goals, business accounts by rank, transfers by account number or ID, contacts, filtered history, 14-day chart, fees and daily limits, admin panel and Discord logs.

ModuleWhat it does
Cards and ATMsPhysical card with PIN, freeze, contactless, duplicates, PIN lock after 3 attempts
Loans and creditScore from 300 to 850, automatic instalments, late fees, default and vehicle repossession; credit cards with statements and interest
Invoices and card terminalBetween players and businesses, employee commission, forced collection for police; businesses charge by card or cash with /cobrar
Payments and chequesAutomatic recurring transfers and physical cheques that bounce without funds
InvestingStocks and crypto with market events, 7, 14 or 30-day deposits, savings interest and a USB cold wallet
Peer-to-peer loansContract signed in person, agreed interest and instalments, automatic collection
MortgagesCreateMortgage export for your housing script, with automatic repossession on default
Heists and robberiesAll 6 Fleecas, Paleto and Pacific Standard; ATM robberies, skimmers and laundering with audit risk
ServicesSafe deposit boxes, taxes (income, VAT, wealth), NPC banker, vehicle and life insurance
ControlAnti-fraud, police audit with warrants, business payroll and server economy
LookLight or dark theme chosen by each player and 6 card designs

Requirements

ResourceRequired?What for
ox_lib · oxmysqlYesScript base and database. Tables are created automatically
FrameworkOptionalESX, QBCore, Qbox, ox_core, ND_Core or standalone
Inventory with metadataYesFor cards, cheques and boxes: ox_inventory, qb-inventory v2, qs, codem, core or tgiann
Target · dispatch · phoneOptionalox_target or qb-target (otherwise ox_lib TextUI); ps, cd, qs or rcore dispatch; and a phone

Installation

  1. Copy the resource Get it for free, download it from keymaster.fivem.net → Granted Assets and put nexo_bank in resources.
  2. Add it to your server.cfg After your framework, inventory and phone.
    ensure ox_lib
    ensure oxmysql
    ensure nexo_bank
    setr ox:locale es   # es, en, pt, fr, de
    add_ace group.admin nexo.admin allow
  3. Database Tables are created automatically on start. If you prefer, import sql/install.sql.
  4. Items and images Add the items from install/items/ (ox_inventory, qb or ESX SQL) and copy the images from install/images/ to your inventory.
  5. Check the config config/main.lua (name, colours, fees, limits, business and admin), locations.lua (branches, ATMs, laundering and stock terminal), modules.lua (turn each module on or off), phone.lua and server/webhooks.lua.
    Change the PIN saltIn config/server/webhooks.lua, before opening the server.

Framework, inventory, target, dispatch and phone are set to 'auto'. The console shows what it detected:

[NEXO] framework: qbx | inventory: ox | target: ox | dispatch: ps | phone: lb

Quick guide: QBCore + ox_inventory

  • In server.cfg: ox_lib, oxmysql, qb-core, ox_inventory, ox_target (or qb-target), your phone and nexo_bank last.
  • Copy the items from install/items/ox_inventory.lua into ox_inventory/data/items.lua and the images into ox_inventory/web/images/.
  • If you used qb-banking or qb-management, run nexo_migrate all in the console once.
  • QBCore paychecks keep working (NEXO applies income tax). Don't enable Config.Business.payroll unless you disable QBCore's, or they'll be paid twice.
  • Dirty money: ox_inventory uses black_money; qb-inventory uses markedbills. Change it in Config.Laundering.blackMoney.
  • Society-paid paychecks (PayCheckSociety): remove qb-banking and add provide 'qb-banking' to NEXO's fxmanifest.lua.
  • If your ox_doorlock already controls the Pacific or Paleto doors, set Config.Heists.doorlock in config/heists.lua.

Commands

CommandWhoWhat it does
/nexoadminAdminAdmin panel
/nexomarket SÍMBOLO %Admin or consoleTriggers a market event
/cobrarEmployeesCard terminal to charge a customer
/auditoriaPoliceFinancial audit tablet
nexoheistreset <id|all>Admin or consoleResets a heist
nexo_migrate <origen>ConsoleImports from esx_addonaccount, qb-management, qb-banking, renewed, okok or all

Phone app

One app for seven phones. It's auto-detected (Config.Phone = 'auto') and configured in config/phone.lua. Start the phone before NEXO in server.cfg.

PhoneUpdates
lb-phone (v2)Instant
qs-smartphone-pro · qs-smartphoneEvery 15 s while open (finance category in its store)
npwd (v4)Every 15 s while open (NPWD v1.x not supported)
yseries · gksphone · roadphoneEvery 15 s; on roadphone it's added manually in its config.json

Exports

exports.nexo_bank:GetBalance(src)
exports.nexo_bank:AddMoney(src, amount, reason)
exports.nexo_bank:RemoveMoney(src, amount, reason)
exports.nexo_bank:Transfer(fromAccount, toAccount, amount, reason)
exports.nexo_bank:AddSocietyMoney(job, amount, reason)
exports.nexo_bank:RemoveSocietyMoney(job, amount, reason)
exports.nexo_bank:GetSocietyMoney(job)
exports.nexo_bank:PaySalary(src, amount, job)          -- applies income tax
exports.nexo_bank:PayWithCard(src, amount, label, shopAccount) -- for shops
exports.nexo_bank:CreateInvoice(src, targetSrc, amount, reason, society)
exports.nexo_bank:ClaimVehicle(srcOrIdentifier, plate, repairCost)
exports.nexo_bank:ClaimLife(srcOrIdentifier, 'death'|'hospital', cost)
exports.nexo_bank:GetCreditScore(srcOrIdentifier)
exports.nexo_bank:CreateMortgage(src, { propertyId, label, price, downPayment, days })
exports.nexo_bank:HasActiveMortgage(identifier, propertyId)
exports.nexo_bank:OpenTerminal(src)
exports.nexo_bank:ChargeCustomer(merchantSrc, targetSrc, amount, label, society)
exports.nexo_bank:IsHeistActive(bankId)
Compatible with your old bankKeeps qb-banking, qb-management and Renewed-Banking exports (GetAccountBalance, AddMoney, handleTransaction, CreateBankStatement…) so job scripts don't break.

Preview without a server: open web/index.html in a browser (#bank, #atm, #admin) or phone/lb/index.html. Developers: docs/DEV_SPEC.md describes the bridge, the core and every action.

Editable files

FileWhat for
config/Bank name, colours, fees and limits, branches and ATMs, modules, heists, phone app and extras.
config/server/webhooks.luaDiscord webhooks and the PIN salt (change it before opening the server).
bridge/Framework, inventory, target, dispatch, phone and housing.
web/ · phone/Bank, ATM and phone app interface.
locales/Texts in 5 languages.

FAQ

Is it really free?

Yes. You get it for free from the store and it arrives in Keymaster like any other script, with every module included.

Can I move accounts from my current bank?

Yes. Run nexo_migrate in the console to import from esx_addonaccount, qb-management, qb-banking, Renewed, okok or all at once. It also keeps qb-banking, qb-management and Renewed exports so your jobs don't break.

Is the code encrypted?

The core is protected with Cfx.re escrow. Config, translations and integration points stay open.

Do I get updates?

Yes, for free. New versions appear in your Keymaster and we announce them on Discord.

What if something doesn't work?

Open a ticket on our Discord with the console error and we'll help you.