Skip to main content
Rarx Banking Preview

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

Transactions

Real-time deposits, withdrawals, and transfers

Debit Cards

PIN security with lock/unlock functionality

ATM System

Complete ATM interface with card validation

Savings Accounts

Separate savings with interest earnings

Credit System

Configurable limits based on playtime

Society Accounts

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

1

Extract

Extract the rarx_banking folder to your resources directory.
2

Configure server.cfg

setr ox:locale en
ensure rarx_banking
3

Restart Server

Restart your server. Database tables are created automatically.
4

Customize

Edit config.lua to 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

Check that the resource is started and no JavaScript errors in F8 console.
Set Config.Framework manually instead of ‘auto’.
Verify setr ox:locale is set correctly in server.cfg.
Ensure oxmysql is running and connection string is correct.