# Installation

Installation and download processes are straightforward and fixed. After following the specified steps, you can easily complete the installation. <mark style="color:purple;">**Skipping a small step can lead to significant errors in the future!**</mark>

## Step 1

First, make sure that the specified resources have been downloaded and installed on your server;

* Any database system (<mark style="color:purple;">**mysql-async**</mark> , <mark style="color:green;">**ghmattisql**</mark>, <mark style="color:orange;">**oxmysql**</mark>)
* Any framework for base (<mark style="color:purple;">**qb-core**</mark>, <mark style="color:red;">**es\_extended**</mark>, <mark style="color:green;">**custom**</mark>)

{% hint style="danger" %}
Make sure your server's artifacts are <mark style="color:red;">**4752 or higher**</mark><mark style="color:red;">!</mark>
{% endhint %}

## Step 2

Download the **ls-core** from [**this**](https://github.com/LquenS/ls-core) link and install it on your server.&#x20;

*<mark style="color:red;">If the downloaded file has a different name than "ls-core", rename it to "ls-core" or it will not work and errors will occur!</mark>*\
After installing it on your server, import the SQL database named "main.sql" into your server's database.

{% hint style="danger" %}
ls-core is similar to es\_extended and qb-core. <mark style="color:red;">**It will not work if you start it before join  the server!**</mark> Therefore, add <mark style="color:purple;">**"ensure ls-core"**</mark> to your server.cfg file to ensure it starts after your main framework.
{% endhint %}

## Step 3

{% hint style="warning" %}
If you using [<mark style="color:purple;">**ESX**</mark>](#user-content-fn-1)[^1] change Config framework to esx!\
\
LS\_CORE\_CONFIG.FRAMEWORK = "ESX"
{% endhint %}

{% hint style="warning" %}
If you using QBCore  change Config framework to QB!\
\
LS\_CORE\_CONFIG.FRAMEWORK = "QB"
{% endhint %}

**Once you have completed all the steps mentioned, you can now start your server.** \
\
\&#xNAN;*If you encounter any errors, you can check the error section on the left navigator. Similarly, if you want to refer to the documentation of other resources, you can find them on the left navigator as well.*

[^1]:
