Installation
Basic installation instructions for wasabi_banking.
The resource folder must be named wasabi_banking.
Remove or disable other banking scripts before installing (esx_banking, qb-banking, Renewed-Banking, okokBanking, and any previous wasabi_banking v1 install). If you are migrating existing balances, see Migration first.
Before installingβ
- Install the required dependencies.
- Remove or disable any existing banking resource for your framework.
- Make sure
ox_libandoxmysqlstart beforewasabi_banking. - Keep the public resource name as
wasabi_bankingin your resources folder andserver.cfg.
Add the resourceβ
- Add the resource to your server resources folder as
wasabi_banking. - Ensure dependencies and the resource in
server.cfg:
ensure ox_lib
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure wasabi_banking
- Configure the shared, client, and server config files as needed.
- Database tables are created automatically when
Config.AutomaticAddDatabaseTables = true(default).
Inventory itemsβ
Add the bankcard and transactionsreceipt items for your inventory. Examples ship in _invItems/data.lua.
- ox_inventory
- qb-inventory / ps-inventory
- codem-inventory
- tgiann-inventory
- jaksam_inventory
Add to ox_inventory/data/items.lua:
["bankcard"] = {
label = 'Bank Card',
description = 'A bank card for the bank.',
weight = 1,
stack = false,
close = true,
consume = 0,
server = {
export = "wasabi_banking.bankcard"
}
},
["transactionsreceipt"] = {
label = 'Transaction Receipt',
description = 'A receipt for a transaction.',
weight = 1,
stack = false,
close = true,
consume = 0
},
No client Item() patch is required. The bankcard uses the server export wasabi_banking.bankcard.
Add to your shared items file (for example qb-core/shared/items.lua):
["bankcard"] = {
name = "bankcard",
label = "Bank Card",
weight = 1,
type = "item",
image = "bankcard.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "A bank card for the bank.",
},
["transactionsreceipt"] = {
name = "transactionsreceipt",
label = "Transaction Receipt",
weight = 1,
type = "item",
image = "transactionsreceipt.png",
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = "A receipt for a transaction.",
},
Add to codem-inventory/config/itemlist.lua (Config.Itemlist):
["bankcard"] = {
name = "bankcard",
label = "Bank Card",
weight = 1,
type = "item",
image = "bankcard.png",
unique = false,
useable = true,
shouldClose = true,
description = "A bank card for the bank.",
},
["transactionsreceipt"] = {
name = "transactionsreceipt",
label = "Transaction Receipt",
weight = 1,
type = "item",
image = "transactionsreceipt.png",
unique = false,
useable = true,
shouldClose = true,
description = "A receipt for a transaction.",
},
Add to tgiann-inventory/items/items.lua (itemsData). Resolve any name clashes with existing items:
["bankcard"] = {
hasMetadata = true,
label = "Bank Card",
weight = 1,
type = "item",
image = "bankcard.png",
unique = true,
useable = true,
shouldClose = true,
description = "A bank card for the bank.",
},
["transactionsreceipt"] = {
hasMetadata = true,
label = "Transaction Receipt",
weight = 1,
type = "item",
image = "transactionsreceipt.png",
unique = true,
useable = true,
shouldClose = true,
description = "A receipt for a transaction.",
},
Add under Script.Items in jaksam_inventory/_data/items.lua. Items are driven by wasabi_banking via registerUsableItem; you do not need an onUse handler here:
['bankcard'] = {
label = 'Bank Card',
description = 'A bank card for the bank.',
weight = 1,
stack = false,
close = true,
consume = 0,
},
['transactionsreceipt'] = {
label = 'Transaction Receipt',
description = 'A receipt for a transaction.',
weight = 1,
stack = false,
close = true,
consume = 0,
},
Optional inventory imagesβ
Use the provided inventory item images from the installation / _invItems directory if your inventory expects image files.
Configureβ
Edit:
config/shared/config.luaβ currency, cards, banks, ATM modelsconfig/client/config.luaβ interact, notify, progressconfig/server/config.luaβ logger, society, inventory, loans, admin access
See Configuration.
Commandsβ
| Command | Who | Purpose |
|---|---|---|
/bankmenu | Jobs/grades in Config.BankManager.jobnames | Opens the bank admin panel |
/openbank [main|atm|admin] | Anyone when Config.Debug = true | Dev-only local UI opener |
Migrating from another banking script?β
Do not follow only this fresh-install page. Use Migration to import Wasabi v1, qb-banking, Renewed-Banking, or okokBanking data safely.
Final checklistβ
- Resource folder is named
wasabi_banking. - Old banking resources are disabled.
ox_lib,oxmysql, and your framework start beforewasabi_banking.- Inventory items are installed for your inventory backend.
- Config files are reviewed.
- Bank locations and ATM models are tested in-game.