PC-Banking Script (Shared Account | Standing Orders | Society Salary | Loans | Credit Cards | Lb phone App) [ESX | QBCore | QBox]

PC Banking

CFXThumb

Three real banks. Shared & business accounts. Loans, cards, savings, society payroll, standing orders, 2FA, companion phone app. One drop-in resource.


About

PC Banking is a full economic banking system for QBCore, Qbox, and ESX. 3 independently-configured banks (Fleeca, Maze, Pacific Standard) each with their own fees, limits, interest rates, and account tiers. Personal, shared, and business account classes. Loans with collateral and credit scores. Society payroll by role. Law-enforcement freezing. 2FA. Companion phone app supporting seven phone resources

Built as a drop-in replacement for qb-banking, qb-management, Renewed-Banking, esx_addonaccount, okokBanking, qs-banking, tgg-banking, rx-banking, omes_banking, and fd_banking — exports are shimmed automatically, no patching dependent scripts.


Features

Banks & accounts

  • Three independent banks, each with checking + savings tiers

  • Personal / Shared / Business account classes

  • Shared accounts: member invites with OTP, per-member view/deposit/full/admin permissions

  • Business accounts: society-linked, role-based payroll

  • Cross-bank transfers with global daily caps and cooldowns

  • Per-account fees, limits, interest, opening deposits, max balance, daily transaction caps

Cards

  • Debit + credit cards, separate billing cycles

  • Daily / weekly / monthly per-card limits

  • PIN protection, change/reset PIN, lock, freeze

  • Annual fee auto-charged

  • Credit cards: minimum payment auto-debit, freeze after N misses, write-off after N misses, billing-cycle interest

  • Card-use HUD overlay (configurable)

Loans

  • Collateral hold, EMI lifecycle, payment tracking

  • Credit score system with late-payment scars that decay over time

  • Pre-default warnings, default reminders, write-off + collateral forfeit

  • Auto-pay overdue EMIs from primary account

  • Vendor loan exports for vehicle dealerships

Savings

  • Per-bank tiers (basic / growth / vault / elite)

  • Configurable interest rate, accrual interval, minimum balance

  • Cash ↔ checking ↔ savings transfers

  • Interest credited on game-month cadence (default 7 real days)

Standing orders

  • Recurring transfers to accounts, players, or society roles

  • Daily / weekly / biweekly / monthly / custom intervals

  • Society role-based payroll (pay everyone with grade X)

  • Three-tier pre-payment reminders

Society / business payroll

  • Society balance ledger separate from player accounts

  • Role-based grade system (extendable)

  • Payroll by role, one-shot or recurring

  • Member add / remove / role change with admin gate

  • Both ESX society_<job> and QBCore society naming

Law enforcement & admin

  • Account freezing by job + minimum grade — frozen accounts block all flows

  • Transaction revert (paired-counterparty txns, configurable window)

  • LEO player account search

  • Admin society oversight (balance edit, admin payroll, member management)

  • Discord webhooks with configurable threshold

Security

  • Banking password / login with session length and “remember me”

  • 2FA on transfers above threshold, society moves, password change, card management

  • Configurable OTP expiry, max attempts, cooldown

  • OTPs delivered via in-game phone SMS

Companion phone app — pc-banking-phone


Showcase

Companion phone app

![3|690x388](upload://lNAhk4yVap9tKluz89gFuh0TkO9

Compatibility

Frameworks

  • QBCore, Qbox, ESX (auto-detect)

Inventories

  • ox_inventory, qb-inventory, qs-inventory, codem-inventory, tgiann-inventory, ak47_inventory, origen_inventory, realrp_inventory, l2s-inventory, esx_inventory

Notifications

  • ox_lib, okokNotify, ps-ui, lation_ui, nox_notify

Phones

  • lb-phone, yseries, gksphone, qs-smartphone, qb-phone, npwd, 17mov_Phone

Phones(App Only)

  • lb-phone, yseries, gksphone, qs-smartphone, 17mov_Phone

Drop-in replacement for

  • qb-banking, qb-management, Renewed-Banking, esx_addonaccount, esx_society, okokBanking, okokBankingV2, qs-banking, tgg-banking, rx-banking, omes_banking, fd_banking

  • Each shim gated auto / true / false, runs only when the real resource is absent


Migration

Built-in migrator (server/migrate.lua) covering 9 source resources. Runs once on first start, idempotent. Original tables left untouched as backup.

Full source list and conversion notes
  • qb-banking — accounts, society balances, transactions

  • esx_addonaccount — shared accounts → societies, balances

  • Renewed-Banking — accounts, members, transactions ledger

  • okokBanking / okokBankingV2 — accounts, transaction history

  • ps-banking — accounts, transactions, cards

  • omes_banking — player accounts, society money

  • qs-banking — accounts, members, cards, transactions

  • tgg-banking — full table walk: accounts, members (permission JSON → ENUM), cards (expiry MM/YY conversion + daily/weekly/monthly limit fallback chain), transactions (IBAN-paired transfer_in/transfer_out disambiguation), loans (rate fractional→percent + payment frequency normalization). Skips closed accounts and terminated cards.

  • fd_banking — accounts, society balances, invoice history


Localization

10 languages: English, Spanish, French, German, Italian, Portuguese, Swedish, Chinese, Japanese, Arabic.


Optimization

  • 0.00ms idle (no client tick)

  • 0.00ms NUI hidden, < 0.05ms NUI open

  • All scheduled tasks server-side, batched


Dependencies

  • oxmysql

  • ox_lib

  • One of: QBCore / Qbox / ESX

  • One of the supported phone resources (optional, only required for pc-banking-phone)


Links

Code is accessible Partially
Subscription-based No
Lines (approximately) 2000+
Requirements oxmysql,ox_lib
Support Yes
2 Likes