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:

City Builder

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.



ESX Dependencies

Optional ESX Dependency



QB Dependencies

Optional QB Dependency





Remove Other Scripts

This script includes a complete police system with a built-in MDT and dispatch functionality. Using additional police, MDT, or dispatch scripts alongside it may cause conflicts, errors, or unexpected behavior. To ensure full compatibility and optimal performance, it is strongly recommended to remove any existing police, MDT, or dispatch systems from your server before installation.





Database Setup

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

This script automatically installs all required database tables and default settings.

If you want to load sample test data, you must manually execute the provided SQL file. Please note that this file is only for testing purposes and does not create tables.

ESX/QB (Test Data)





Setting Permissions

Follow these steps to correctly configure permissions for the script.

1

Open your server.cfg

Go to your server configuration file:

server.cfg

This is where all permission commands must be added.

2

Understand the basics

Before setting anything, you need to know:

Player → A user (identified by FiveM, Discord, license, etc.)
Group → A role (admin, moderator, etc.)
Permission (Ace) → Access to features (like admin menu)
Principal → Links a player to a group

Being in a group does NOT automatically give permissions. You need both steps.

3

Add a player to a group

Use add_principal to assign a role:

add_principal identifier.fivem:1234567 group.admin # PlayerName add_principal identifier.discord:123456789012345678 group.admin # PlayerName

This makes the player an admin.

4

Give permissions to that group

Now give the required permission (qspoliceadmin):

add_ace group.admin qspoliceadmin allow

Now all admins can use the script admin features,

5

(Optional) Give permission directly to a player

If you don’t want to use groups:

add_ace identifier.fivem:1234567 qspoliceadmin allow

Only that specific player gets access.

6

(QB users) Setup admin groups

If you're using QB:

add_principal identifier.fivem:1234567 qbcore.god add_ace qbcore.god qspoliceadmin allow

This gives full admin + script access.

7

Recommended full setup

A clean and scalable configuration:

# Give admin group access to commands add_ace group.admin command allow # Add player to admin group add_principal identifier.fivem:1234567 group.admin # Give access to the police system add_ace group.admin qspoliceadmin allow
8

Restart your server

Always restart the full server (not just the resource).
Make sure add_ace is placed after add_principal.

Once both options are enabled, Dynamic Doors will be fully active and ready to use in your server.