Migration
Switch to wasabi_banking from Wasabi Banking v1 or another banking resource without wiping player money.
The resource folder must be named wasabi_banking.
Stop the old banking resource before enabling an import flag. Framework imports rename source tables to <name>_wasabi_archive. If the old script is still started, those renames will break it.
Flagsβ
Both flags live in config/server/config.lua.
| Flag | Purpose |
|---|---|
Config.LegacyImport | One-time import from Wasabi Banking v1 (wasabibanking_* tables) |
Config.ImportFromFrameworkBanking | One-time import from qb-banking, Renewed-Banking, or okokBanking |
Both importers are idempotent after the first successful run. Leaving a flag true after import is usually harmless.
Migrate from Wasabi Banking v1β
- Stop the old
wasabi_bankingv1 resource. - Install the new resource as
wasabi_banking(replace the old folder). - Set:
Config.LegacyImport = true
- Start
wasabi_banking. - Confirm accounts, cards, savings, loans, and transactions appear in the UI.
- Optionally set
Config.LegacyImport = falseafter verification.
Rows are copied into the new wasabi_bank_* schema and skipped when they already exist (deduped by IBAN / card number).
Migrate from qb-banking, Renewed-Banking, or okokBankingβ
Sources are auto-detected by column shape:
| Source | Detected tables | Imported into |
|---|---|---|
| qb-banking | bank_accounts (shared / gang / org / group rows) | wasabi_bank_shared_accounts |
| Renewed-Banking | bank_accounts (all rows + members) | wasabi_bank_shared_accounts + wasabi_bank_shared_users |
| okokBanking | okokbanking_accounts, okokbanking_savings, okokbanking_logs | wasabi_bank_accounts, wasabi_bank_savings, wasabi_bank_transactions |
Switch-over stepsβ
- Stop qb-banking / Renewed-Banking / okokBanking.
- Set:
Config.ImportFromFrameworkBanking = true
- Start
wasabi_banking. - Verify shared accounts, savings, IBANs, and statements in the UI.
- Optionally set
Config.ImportFromFrameworkBanking = false.
Each imported source table is renamed to <name>_wasabi_archive (with a timestamp suffix on re-runs) so it cannot collide with the Wasabi schema again. Partial okok installs only import the tables that exist.
Compatibility exportsβ
After migration, keep dependent scripts working with Config.CompatExports in config/server/config.lua:
Config.CompatExports = {
['qb-management'] = true,
['Renewed-Banking'] = true,
['okokBanking'] = true,
}
When enabled, wasabi_banking answers export calls aimed at those resources.
| Compat surface | Notes |
|---|---|
qb-management | GetAccount / AddMoney / RemoveMoney (+ gang variants). The real qb-management must be removed (provides in fxmanifest). |
Renewed-Banking | Society/player money + transaction helpers for qbx_management boss menus. Auto-skipped if the real Renewed-Banking is started. |
okokBanking | Account money and transaction helpers. The real okokBanking must be removed (provides in fxmanifest). |
On ESX, society money can stay in esx_addonaccount via Config.SocietyBackend = 'auto', so esx_society needs no shim.
Fresh install?β
If you are not importing existing data, leave both import flags false and follow Installation.