
Rarx Banking
Rarx Banking
Complete banking system with modern UI for FiveM
- Qbox
- QBCore
- ESX
rarx_banking

Overview#
Rarx Banking is a comprehensive banking system featuring deposits, withdrawals, transfers, debit cards, ATM interfaces, savings accounts, credit systems, and society accounts with multi-language support.
Features#
Real-time deposits, withdrawals, and transfers
PIN security with lock/unlock functionality
Complete ATM interface with card validation
Separate savings with interest earnings
Configurable limits based on playtime
Boss access to company funds
Additional Features#
- Transaction history with visual charts
- Customizable UI colors and branding
- Multi-language: English, Spanish, French, German, Portuguese
Requirements#
Essential:
- QBCore/ESX/QBox framework
- oxmysql database
Optional:
- ox_target or qb-target for enhanced targeting
Installation#
Extract
Extract the
rarx_bankingfolder to your resources directory.Configure server.cfg
setr ox:locale en ensure rarx_bankingRestart Server
Restart your server. Database tables are created automatically.
Customize
Edit
config.luato customize settings.
Auto-Detection#
The system automatically recognizes popular systems without manual configuration:
Inventory Systems#
- ox_inventory
- qs-inventory
- origen_inventory
- ps-inventory
- codem-inventory
- qb-inventory
Notification Systems#
- ox_lib
- okokNotify
- mythic_notify
- pNotify
Configuration#
Framework Selection#
Config.Framework = 'auto' -- 'auto', 'qb-core', 'esx', 'qbox'Bank Locations#
Config.BankLocations = {
vector3(149.0, -1040.0, 29.0),
vector3(314.0, -278.0, 54.0),
-- Add more locations
}ATM Models#
Config.ATMModels = {
'prop_atm_01',
'prop_atm_02',
'prop_atm_03'
}UI Customization#
Config.UI = {
primaryColor = "#7C3AED",
secondaryColor = "#A78BFA",
backgroundColor = "#1F2937"
}Savings Interest#
Config.Savings = {
interestRate = 0.01, -- 1% interest
interestInterval = 60 -- Minutes between interest payments
}Credit System#
Config.Credit = {
enabled = true,
baseLimit = 5000,
limitPerHour = 100, -- Additional limit per hour played
maxLimit = 50000
}Society Accounts#
Config.Society = {
enabled = true,
bossGrades = {'boss', 'manager'}
}Server Exports#
-- Get player's bank balance
local balance = exports['rarx_banking']:GetBankBalance(source)
-- Add money to bank (with automatic logging)
exports['rarx_banking']:AddBankMoney(source, amount, reason)
-- Remove money from bank
exports['rarx_banking']:RemoveBankMoney(source, amount, reason)
-- Get savings balance
local savings = exports['rarx_banking']:GetSavingsBalance(source)
-- Transfer between players
exports['rarx_banking']:TransferMoney(fromSource, toSource, amount)
-- Get credit data
local creditData = exports['rarx_banking']:GetCreditData(source)
-- Open UI
exports['rarx_banking']:OpenBankUI(source)
exports['rarx_banking']:OpenATMUI(source)Client Integration#
-- Open bank interface via export
exports['rarx_banking']:OpenBank()
-- Open ATM interface
exports['rarx_banking']:OpenATM()
-- Via events
TriggerEvent('rarx_banking:client:openBank')
TriggerEvent('rarx_banking:client:openATM')Custom Integration#
The custom/ folder enables developers to add:
- Custom notification systems
- Inventory checks
- Logging mechanisms
- Transaction hooks
- Society account integrations
Troubleshooting#
UI not showing
Check that the resource is started and no JavaScript errors in F8 console.
Framework not detected
Set Config.Framework manually instead of 'auto'.
Language not changing
Verify setr ox:locale is set correctly in server.cfg.
Database errors
Ensure oxmysql is running and connection string is correct.
