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:

Advanced Inventory [new]

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.





Framework Modifications

This step is essential for the correct installation and operation of the script. Skipping it may cause serious errors, missing features, or prevent the system from working as intended.

This script requires specific framework modifications to work properly with ESX, QB or QBOX. You can either apply the provided commits manually or, for a faster and safer setup, download our pre-edited framework versions directly from the links below:

If you’re looking for other framework versions or commits, you can find them all here: https://github.com/orgs/quasar-store-organizations/repositories.





Remove Other Scripts

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





Server.cfg Placement

The inventory script must always start immediately after es_extended or qb-core, never before. Make sure to place it directly below them in your server.cfg, ensuring all core dependencies are fully loaded first to avoid potential errors or malfunctioning features.





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





Item Management

This step is very important and should not be skipped. It explains how to add, edit, or delete items correctly depending on your framework. In Quasar scripts, items are not managed with SQL databases. Instead, they are stored directly in configuration files, making it easier to organize and modify them without using any external tools.

1

ESX – Add items to qs-inventory

If you are using ESX, you must add the required items in qs-inventory/shared/items.lua.

2

QB – Add items to qb-core

If you are using QB, you must add the required items in qb-core/shared/items.lua.

If you notice that some items do not work in QB, your items file may be corrupted or outdated. You can fix it by downloading the updated version from our GitHub and replacing your current file with it: https://github.com/quasar-store-organizations/items.lua/blob/main/items.lua.





Add clothing as items

In ESX it already comes integrated by default, but if you use QB you will need to add the clothing items to qb-core/shared/items.lua.

To ensure the clothing system works fully (without flooding your store with unnecessary items), read the Features Guide after finishing this documentation. It explains how to add the required exports to your clothing shop for seamless integration.

Clothing system options (config.lua):

1

Config.Clothing

Enable/disable the clothing system (disables the button too when off).

2

Config.EnableScreenPed

Show the preview ped on screen instead of the zoom pad.

3

Config.TakePreviousClothes

Decide whether previous clothes go to the inventory or are removed.

Clothing Items (if you use ESX it already comes by default)