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-coreoxmysqlPolyZone
Notes¶
Do not rename the folder
The resource directory must stay TrapBanking (required by the script).
- Review
sql/trapbanking.sqlbefore 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¶
- Place the resource at
resources/.../TrapBanking— folder name exactlyTrapBanking. - Import
sql/trapbanking.sql(and adjust for your DB naming conventions). - Configure
config.lua(editable; escrow allows this file). ensureoxmysql→qb-core→PolyZone→TrapBanking.- Restart the server.
YouTube Video¶
YouTube Video