Installation
Here are all the necessary steps to install the script 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.
Click the download button for the script.
Step #2 : Drag and drop the resources in your server
Unzip the file you downloaded from your Cfx Portal
Put the 3 files in your server resources folder
Make sure the scripts are correctly named :
lyre_context
lyre_context-defaults
ox_target
Add in your server.cfg file after the framework start these lines of code in this order :
ensure lyre_context
ensure lyre_context-defaults
ensure ox_targetStep #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 lyre_context and lyre_context-defaults 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 (or QBOX) 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 #5 : Start your server and enjoy !
Last updated