# Installation Guide

{% tabs %}
{% tab title="ESX" %}
This guide will provide step-by-step instructions on how to install and set up the kq\_priv\_islands script for FiveM. This script requires the ESX framework to be installed and running on your server.

### Step 1: <a href="#step-1" id="step-1"></a>

After downloading the script, unzip the folder and place it in the `resources` directory on your FiveM server. Make sure to also install `kq_islands_props`

### Step 2: <a href="#step-2" id="step-2"></a>

Next, you need to import the `kq_priv_islands.sql` file into your database. This will create the tables required for the script to function properly. You can watch this video for instructions on how to import an SQL file into your database: <https://www.youtube.com/watch?v=xBbqDLXrZGY>.

### Step 3: <a href="#step-3" id="step-3"></a>

Once the SQL file has been imported, open the `config.lua` file in the script folder and make sure that the correct framework and sql driver is set.

### Step 4: <a href="#step-4" id="step-4"></a>

After the config file has been set up, add the script to your `server.cfg` file. Make sure that it's added **after** the ESX framework, so that it loads and starts properly.
{% endtab %}

{% tab title="QBCore" %}
This guide will provide step-by-step instructions on how to install and set up the kq\_priv\_islands script for FiveM. This script requires the QBCore framework to be installed and running on your server.

### Step 1: <a href="#step-1" id="step-1"></a>

After downloading the script, unzip the folder and place it in the `resources` directory on your FiveM server. Make sure to also install `kq_islands_props`

### Step 2: <a href="#step-2" id="step-2"></a>

Next, you need to import the `kq_priv_islands.sql` file into your database. This will create the tables required for the script to function properly. You can watch this video for instructions on how to import an SQL file into your database: <https://www.youtube.com/watch?v=xBbqDLXrZGY>.

### Step 3: <a href="#step-3" id="step-3"></a>

Once the SQL file has been imported, open the `config.lua` file in the script folder and make sure that the correct framework and sql driver is set.

### Step 4: <a href="#step-4" id="step-4"></a>

After the config file has been set up, add the script to your `server.cfg` file. Make sure that it's added **after** the QBCore framework, so that it loads and starts properly.
{% endtab %}
{% endtabs %}
