Installation
Here are all the necessary steps to install the script on your server.
Make sure you have the following dependencies installed on your server
Step #1 : Download script from the Cfx Portal
Go to this page : portal.cfx.re and connect with your FiveM account (the same account you use to buy the script on ou tebex store)
Go to the "Assets" section, then go to "Granted Assets" page, and find our script. The Illegal Missions script work with DLCs. By default the script has been given to you with 5 DLCs, so, download all of them.
Click the download button for the script and each DLCs
Step #2 : Drag and drop the resource in your server
Unzip the files you downloaded from your Cfx Portal
Put all the files in your server resources folder
Make sure your script is named correctly lyre_illegalmissions
Make sur all the DLCs are named correctly. If DLCs are not named correctly, rename them otherwise the DLC will not be detected by the main script.
lyre_illegalmissions-gofast
lyre_illegalmissions-cartheft
lyre_illegalmissions-murderer
lyre_illegalmissions-moneytruck
lyre_illegalmissions-atm
Add ensure lyre_illegalmissions in your server.cfg file after the start of the dependencies. Do not ensure the DLCs, they will start automatically when they will be detected by the main script.
Step #3 : Configure the bridge for your server framework
Our script has a system to support all frameworks. We have put a bridge system that you can configure to make the script compatible with any framework. Because we are good, we have created two bridge by default
ESX Bridge
QBCORE Bridge
If you want to create your own bridge, feel free to see the Create your own bridge page.
To configure the bridge you want to use, go in the config.lua file and change this line
Let "ESX" if you use the bridge for the ESX framework, change to "QBCORE" if you use the bridge for the QBCORE framework
By default, the Config.bridge is set to "auto_detect" so you have nothing to do if your server is running a supported framework.
Step #4 : Import the SQL in your database
Open the import.sql file that is in lyre_illegalmissions's folder
Copy all the content
Go to your database manager (something like phpMyAdmin or HeidiSQL)
Import the content in your database
Step #5 : Start your server and enjoy !
Last updated