Skip to content

TrapBanking

QBCore banking stack: treasury UI, societies, ATMs, transactions, and related server logic.

Features

  • Bank entrance / PolyZone-driven access and ATM flows
  • Accounts, transactions, invoices, payroll / tax hooks (see server/)
  • Society bootstrap and analytics modules
  • NUI (html/) for the console

Dependencies

  • qb-core
  • oxmysql
  • PolyZone

Notes

Do not rename the folder

The resource directory must stay TrapBanking (required by the script).

  • Review sql/trapbanking.sql before production imports.

Inventory items

Names must match Config.AtmBankCardItem (bank_card) and Config.TrojanUsbItemName (trojan_usb) in config.lua. Adjust weights / images to your pack.

qb-inventory

Add to qb-core/shared/items.lua (merge with your existing QBShared.Items table).

["bank_card"]                  = { name = "bank_card", label = "Bank Card", weight = 100, type = "item", image = "bank_card.png", unique = true, useable = true, shouldClose = true, description = "Bank / ATM card (TrapBanking). Card metadata is used when issued from the bank." },
["trojan_usb"]                 = { name = "trojan_usb", label = "Trojan USB", weight = 150, type = "item", image = "trojan_usb.png", unique = true, useable = true, shouldClose = true, description = "USB for IRS / dossier packets (TrapBanking)." },
ox_inventory

Add to ox_inventory/data/items.lua (merge with existing items).

['bank_card'] = {
    label = 'Bank Card',
    weight = 100,
    stack = false,
    close = true,
    description = 'Bank / ATM card (TrapBanking).',
},

['trojan_usb'] = {
    label = 'Trojan USB',
    weight = 150,
    stack = false,
    close = true,
    description = 'IRS / dossier USB (TrapBanking).',
},

Installation

How to install

  1. Place the resource at resources/.../TrapBanking — folder name exactly TrapBanking.
  2. Import sql/trapbanking.sql (and adjust for your DB naming conventions).
  3. Configure config.lua (editable; escrow allows this file).
  4. ensure oxmysqlqb-corePolyZoneTrapBanking.
  5. Restart the server.

YouTube Video

YouTube Video