Skip to main content

Installation

Basic installation instructions for wasabi_banking.

danger

The resource folder must be named wasabi_banking.

warning

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​

  1. Install the required dependencies.
  2. Remove or disable any existing banking resource for your framework.
  3. Make sure ox_lib and oxmysql start before wasabi_banking.
  4. Keep the public resource name as wasabi_banking in your resources folder and server.cfg.

Add the resource​

  1. Add the resource to your server resources folder as wasabi_banking.
  2. Ensure dependencies and the resource in server.cfg:
ensure ox_lib
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure wasabi_banking
  1. Configure the shared, client, and server config files as needed.
  2. 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.

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
},
info

No client Item() patch is required. The bankcard uses the server export wasabi_banking.bankcard.

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 models
  • config/client/config.lua β€” interact, notify, progress
  • config/server/config.lua β€” logger, society, inventory, loans, admin access

See Configuration.

Commands​

CommandWhoPurpose
/bankmenuJobs/grades in Config.BankManager.jobnamesOpens the bank admin panel
/openbank [main|atm|admin]Anyone when Config.Debug = trueDev-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 before wasabi_banking.
  • Inventory items are installed for your inventory backend.
  • Config files are reviewed.
  • Bank locations and ATM models are tested in-game.