Quasar Store Logo

Installation

Installation guide — please follow each step carefully and exactly as described to ensure the script works correctly on your server. Skipping or modifying steps may cause the system to not function properly, so follow it step by step.

Download Script

To download the assets needed for this script, you must access the official Cfx.re portal, where all assets purchased through Tebex are managed.

1

Access the Granted Assets Page

Open the Cfx.re granted assets page: https://portal.cfx.re/assets/granted-assets.

This page contains all assets linked to your Cfx.re purchases.

2

Log In with Your Cfx.re Account

Sign in using the same Cfx.re account you used when purchasing the asset.

If you use a different account, the assets will not appear.

3

Download the Housing Assets

In the granted assets list, locate and download:

Banking

These two packages are required to install the full housing system.

These files include the models, materials, and visual resources required for the proper operation of the housing system.





Download Dependencies

This script requires some mandatory dependencies to function correctly. Make sure to download and extract them inside your server’s main directory, keeping their original folder structure intact.





Remove Other Scripts

This script may cause conflicts or errors if you use other banking systems on your server. Common examples include qb-banking, esx_banking or other similar banking scripts. It’s strongly recommended to remove them completely before installation to prevent compatibility or functionality issues.





Database Setup

Avoid using tools like XAMPP or other non-optimized local servers, as they may cause connection errors.

This script includes an essential database required for its operation.You must import it before starting your server, preferably using HeidiSQL or any other manager compatible with MariaDB/MySQL.

ESX

DROP TABLE IF EXISTS `bank_process`; CREATE TABLE `bank_process` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `owner` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `type` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `icon` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `text` TEXT NOT NULL COLLATE 'utf8mb4_unicode_ci', `created` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', PRIMARY KEY (`id`) USING BTREE ) COLLATE = 'utf8mb4_unicode_ci' ENGINE = InnoDB AUTO_INCREMENT = 1; DROP TABLE IF EXISTS `bank_cards`; CREATE TABLE `bank_cards` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `identifier` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `cardNumber` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `ownerName` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `valid` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `cardType` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `active` INT(11) NOT NULL DEFAULT '0', `passCode` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', PRIMARY KEY (`id`) USING BTREE ) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 1; DROP TABLE IF EXISTS `bank_history`; CREATE TABLE `bank_history` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `identifier` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', `amount` INT(11) NOT NULL DEFAULT '0', `type` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci', `date` TIMESTAMP NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) USING BTREE ) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB;
QB

DROP TABLE IF EXISTS `bank_process`; CREATE TABLE `bank_process` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `owner` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `type` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `icon` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `text` TEXT NOT NULL COLLATE 'utf8mb4_unicode_ci', `created` VARCHAR(50) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', PRIMARY KEY (`id`) USING BTREE ) COLLATE = 'utf8mb4_unicode_ci' ENGINE = InnoDB AUTO_INCREMENT = 1; DROP TABLE IF EXISTS `bank_cards`; CREATE TABLE `bank_cards` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `identifier` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `cardNumber` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `ownerName` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `valid` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `cardType` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', `active` INT(11) NOT NULL DEFAULT '0', `passCode` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb4_general_ci', PRIMARY KEY (`id`) USING BTREE ) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB AUTO_INCREMENT = 1; DROP TABLE IF EXISTS `bank_history`; CREATE TABLE `bank_history` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `identifier` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci', `amount` INT(11) NOT NULL DEFAULT '0', `type` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci', `date` TIMESTAMP NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) USING BTREE ) COLLATE = 'utf8mb4_general_ci' ENGINE = InnoDB; DROP TABLE IF EXISTS `bank_accounts`; CREATE TABLE IF NOT EXISTS `bank_accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `citizenid` varchar(11) DEFAULT NULL, `account_name` varchar(50) DEFAULT NULL, `account_balance` int(11) NOT NULL DEFAULT 0, `account_type` enum('shared','job','gang') NOT NULL, `users` longtext DEFAULT '[]', PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `account_name` (`account_name`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; DROP TABLE IF EXISTS `bank_statements`; CREATE TABLE IF NOT EXISTS `bank_statements` ( `id` int(11) NOT NULL AUTO_INCREMENT, `citizenid` varchar(11) DEFAULT NULL, `account_name` varchar(50) DEFAULT 'checking', `amount` int(11) DEFAULT NULL, `reason` varchar(50) DEFAULT NULL, `statement_type` enum('deposit','withdraw') DEFAULT NULL, `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`id`) USING BTREE, KEY `citizenid` (`citizenid`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;