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

  • oxmysql → download it here

  • ox_lib → download it here

Step #1 : Download script from the Cfx Portal

  1. 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)

  2. 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.

  3. Click the download button for the script and each DLCs

Step #2 : Drag and drop the resource in your server

  1. Unzip the files you downloaded from your Cfx Portal

  2. Put all the files in your server resources folder

  3. Make sure your script is named correctly lyre_illegalmissions

  4. 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.

    1. lyre_illegalmissions-gofast

    2. lyre_illegalmissions-cartheft

    3. lyre_illegalmissions-murderer

    4. lyre_illegalmissions-moneytruck

    5. lyre_illegalmissions-atm

  5. 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

Config.bridge = "ESX"

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

  1. Open the import.sql file that is in lyre_illegalmissions's folder

  2. Copy all the content

  3. Go to your database manager (something like phpMyAdmin or HeidiSQL)

  4. Import the content in your database

Step #5 : Start your server and enjoy !

Last updated