Installation
Page dedicated to how to install our Banking [V2]
Step #1 - Drag & Drop
Just Drag & Drop the qf_banking_v2 folder into your resources folder.
If you ran our Banking V1 (qf_banking) or Billing System (qf_billing), remove their ensure lines. Banking V2 provides both resources, so scripts that depend on them keep working. See Moving from V1 and qf_billing.
Step #2 - SQL Installation
On the first start the state bank and eight default branches are placed (Legion Square, Pacific Standard, Route 68, Burton, Hawick, Paleto Bay, Great Ocean Highway and Del Perro), together with a bank exchange and a management office for every bank with branches. Move or remove them later in the admin panel.
Step #3 - Items
Ready-to-paste item definitions are in the install/ folder of the resource:
ox_inventory
ox_inventory_items.md
ox_inventory/data/items.lua
qb-inventory, ps-inventory, lj-inventory
qb_qs_inventory_items.txt
qb-core/shared/items.lua
qs-inventory
qb_qs_inventory_items.txt
qs-inventory/config/items.lua
ESX default inventory
esx_items.sql
Run once on your database
ox_inventory_items.md holds only the definitions, so the whole file can be pasted as it is. ox_inventory_items.txt is the same list with comments.
['bank_card'] = {
label = 'Bank card',
weight = 10,
stack = false,
close = true,
consume = 0,
description = 'Payment card',
client = { image = 'bank_card.png' },
},
-- ... the other items from install/ox_inventory_items.mdThe item images (256 x 256 png, named after the item) are in install/images/. Copy them to your inventory's image folder:
ox_inventory:
ox_inventory/web/images/qb-inventory, ps-inventory, lj-inventory:
html/images/qs-inventory:
qs-inventory/html/images/
bank_card
Bank card
Payment card used at ATMs, with a PIN
checkbook
Checkbook
Writes cheques
cheque
Cheque
Cashed at a bank
atm_cassette
ATM cassette
Cash packed by staff to refill an ATM
bank_statement
Bank statement
Printed account statement
bank_contract
Contract
Copy of a signed bank contract
deposit_box_key
Deposit box key
Opens a deposit box
bank_tablet
Bank tablet
Opens the bank management tablet anywhere
bank_loot_bag
Convoy loot bag
Cash taken from a robbed convoy
ticket_book
Ticket book
Issues fines and invoices for your faction
billing_tablet
Billing tablet
Your bills, fines and contracts
sale_contract
Sale contract form
Blank contract to sell a vehicle, property or items (stacks)
vehicle_title
Vehicle title
Proof of who owns a vehicle
bank_receipt
ATM receipt
Printed by an ATM after an operation
bank_bill
Bill
A fine or an invoice on paper
Step #4 - Script start
Make sure oxmysql, your framework and your inventory start before Banking V2:
On start the console prints the framework, inventory and target it found. A framework or inventory started after Banking V2 is still found, with a console warning to fix the order.
Step #5 - Admin access
The admin panel opens with /bankadmin for the groups superadmin, admin and god, or for anyone with the ace below. Add it to your server.cfg if you use aces:
Then join the server, run /bankadmin and go through General, Banks, Branches, ATMs and Items. Every other module can be given to other groups in Admin → Permissions.
Requirements
ESX (Legacy, older ESX through the
esx:getSharedObjectevent), QBCore or QBox, detected automaticallyoxmysqlOneSync (server-side distance checks read player positions)
Optional:
ox_inventory, qb-inventory (1.x or 2.x), ps-inventory, lj-inventory, qs-inventory or the ESX default inventory. Other inventories are connected through
bridge/inventory.server.lua(see Configuration).ox_target,qb-targetorqtarget. Without one, players use a marker and the interaction key (E by default, rebindable in Settings → Key Bindings → FiveM).ox_lib,okokNotifyormythic_notifyfor notifications and help text, when you do not use the built-in QF notifications.qf_identityfor character photos everywhere in the interface.A vehicle key script for the convoy van: qbx_vehiclekeys, qb-vehiclekeys, Renewed-Vehiclekeys, MrNewbVehicleKeys, wasabi_carlock, qs-vehiclekeys, Jaksam's vehicles_keys, mk_vehiclekeys, t1ger_keys, cd_garage, okokGarage or your own.
A society money resource for billing:
esx_addonaccount(ESX),qb-banking2.x orqb-management(QBCore),Renewed-Banking(QBox). Not needed when billing is off.
Last updated

