Cuxial Banking is the bank of your server: branches, ATMs and one interface for every account a character can use. Staff manage the economy, the bank points and the settings from an in-game panel, without touching files.
What it does
- Three kinds of account. Personal, business (one per job, run by its bosses) and shared accounts with members and per-member permissions.
- Deposits, withdrawals and transfers by IBAN, with saved contacts, favourites and transfers to several contacts at once.
- ATMs on the vanilla ATM props and on any point you place. An ATM needs a bank card and its PIN.
- Cards as inventory items, in tiers with their own daily limit. Cards can be blocked, replaced and charged from other resources.
- Loans with plans, instalments, late penalties, default and automatic garnishment of paychecks.
- Credit score that moves with payment behaviour and changes the interest rate.
- Savings goals that pay interest.
- Cheques. Personal cheques written at the bank and business cheques issued face to face with a chequebook item.
- Paychecks left at the bank by other resources, collected at a branch.
- Rewards. Points for using the bank, spent in a catalogue.
- Printed receipts as an inventory item.
- Staff panel (
/bankadmin): economy overview, citizens and their wealth, business accounts, loans, bank points, live settings and an audit log. - Discord logs through a webhook convar.
How each of these works in game is in the Features guide.
Requirements
| Resource | Required | Used for |
|---|---|---|
| OneSync | Yes | Server-side distance checks at branches and ATMs |
ox_lib | Yes | Callbacks, commands, locales, dialogs |
oxmysql | Yes | Database |
cuxial_bridge | Yes | Connects to your framework, inventory and target |
| An inventory supported by the bridge | Yes | Cards, cheques, chequebook, receipts and, by default, cash |
| A target supported by the bridge | Yes | Interaction with branches, ATMs and players |
cuxial_interactions | No | Turns a bank point with a ped model into an attended NPC |
Cuxial Banking works with the frameworks supported by cuxial_bridge. Writing the bank movements of other resources to the transaction history requires QBox or QBCore.
Pages
InstallationDependencies, items, convars and start order.Features guideAccounts, ATMs, cheques and the staff panel in game.ConfigurationEvery option in
shared/config.lua and data/.Commands & permissionsThe staff command and who can do what.Exports & eventsMove money, pay salaries and charge cards from your resources.TroubleshootingCommon problems and how to fix them.