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:

Yacht Creator

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.

Optional scripts that you can use:





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

QB

ALTER TABLE `players` ADD COLUMN IF NOT EXISTS `yacht_inside` VARCHAR(40) NULL DEFAULT NULL; CREATE TABLE IF NOT EXISTS `qs_yachts` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `yacht_id` INT(11) NOT NULL, `owner` VARCHAR(60) NOT NULL COLLATE 'utf8mb4_unicode_ci', `owner_name` VARCHAR(100) NOT NULL COLLATE 'utf8mb4_unicode_ci', `name` VARCHAR(100) NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', `modifications` LONGTEXT NOT NULL COLLATE 'utf8mb4_unicode_ci', `upgrades` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci', `created_at` TIMESTAMP NULL DEFAULT current_timestamp(), `updated_at` TIMESTAMP NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `yacht_id` (`yacht_id`) USING BTREE, INDEX `owner` (`owner`) USING BTREE ) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB ; CREATE TABLE IF NOT EXISTS `qs_yacht_tebex_transactions` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `transaction_id` VARCHAR(255) NOT NULL COLLATE 'utf8mb4_unicode_ci', `yacht_id` INT(11) NOT NULL, `owner` VARCHAR(60) NOT NULL COLLATE 'utf8mb4_unicode_ci', `created_at` TIMESTAMP NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) USING BTREE, INDEX `transaction_id` (`transaction_id`) USING BTREE, INDEX `yacht_id` (`yacht_id`) USING BTREE, INDEX `owner` (`owner`) USING BTREE, UNIQUE INDEX `unique_transaction_yacht` (`transaction_id`, `yacht_id`) USING BTREE, FOREIGN KEY (`yacht_id`) REFERENCES `qs_yachts`(`yacht_id`) ON DELETE CASCADE ) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB ; CREATE TABLE IF NOT EXISTS `qs_yacht_tebex_spent` ( `transaction_id` VARCHAR(255) NOT NULL COLLATE 'utf8mb4_unicode_ci', `owner` VARCHAR(60) NOT NULL COLLATE 'utf8mb4_unicode_ci', `created_at` TIMESTAMP NULL DEFAULT current_timestamp(), PRIMARY KEY (`transaction_id`) USING BTREE, INDEX `owner` (`owner`) USING BTREE ) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB ; CREATE TABLE IF NOT EXISTS `qs_yacht_player_tebex_saved` ( `identifier` VARCHAR(60) NOT NULL COLLATE 'utf8mb4_unicode_ci', `transaction_id` VARCHAR(255) NOT NULL COLLATE 'utf8mb4_unicode_ci', `updated_at` TIMESTAMP NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`identifier`) USING BTREE ) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB ; CREATE TABLE IF NOT EXISTS `qs_yacht_keys` ( `id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `yacht_id` INT(11) NOT NULL, `identifier` VARCHAR(60) NOT NULL, `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, UNIQUE KEY `unique_yacht_key` (`yacht_id`, `identifier`), INDEX `yacht_id` (`yacht_id`), INDEX `identifier` (`identifier`), FOREIGN KEY (`yacht_id`) REFERENCES `qs_yachts`(`yacht_id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `qs_yacht_decorations` ( `id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `creator` VARCHAR(60) NOT NULL, `yacht_id` INT(11) NOT NULL, `modelName` VARCHAR(255) NOT NULL, `coords` LONGTEXT NOT NULL, `rotation` LONGTEXT NOT NULL, `inStash` TINYINT(1) DEFAULT 0, `inHouse` TINYINT(1) DEFAULT 0, `created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `uniq` VARCHAR(255) DEFAULT NULL, `lightData` LONGTEXT DEFAULT NULL, INDEX `yacht_id` (`yacht_id`), INDEX `creator` (`creator`), FOREIGN KEY (`yacht_id`) REFERENCES `qs_yachts`(`yacht_id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ALTER TABLE `qs_yachts` ADD COLUMN IF NOT EXISTS `locations` LONGTEXT NULL DEFAULT NULL; CREATE TABLE IF NOT EXISTS `qs_yacht_vault_codes` ( `id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `yacht_id` INT(11) NOT NULL, `code` VARCHAR(10) NOT NULL, `uniq` VARCHAR(255) NOT NULL, `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, UNIQUE KEY `unique_yacht_vault` (`yacht_id`, `uniq`), INDEX `yacht_id` (`yacht_id`), FOREIGN KEY (`yacht_id`) REFERENCES `qs_yachts`(`yacht_id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;