Install basics
These steps apply to every GR1M script. Each script's own page lists anything extra.
#Requirements
- An up-to-date FiveM server artifact with OneSync enabled. Some scripts list a minimum build on their page.
ox_libandoxmysql(most scripts).- A framework: Qbox, QBCore or ESX Legacy. Each page says which ones that script supports.
ox_inventoryfor scripts that use items.- The free
GR1M_Bridgefor scripts that list it.
#Download
- Sign in to the Cfx.re Portal with the Cfx.re account you bought with.
- Open Assets > Granted Assets and download the script (and any asset pack listed on its page).
- Your server's license key must come from the same account, otherwise the script will not start.
#Install
- Unzip into your
resourcesfolder. Keep the folder name as shipped. - Add the
ensurelines toserver.cfgin the order shown on the script's page, after its dependencies. - If the script has an
install/folder, follow it: add the items toox_inventory/data/items.lua, copy the images toox_inventory/web/images, and run any SQL it mentions. Most scripts create their database tables on first start. - Edit the config and locale files to suit your server. These are open. Everything else is escrowed and must not be changed.
- Restart the server (or the resources), and watch the server console for errors.
#Updating
- Download the new version from the Cfx.re Portal (Assets > Granted Assets).
- Back up your config and locale files.
- Replace the folder, then copy your settings back. Check the changelog for new config options first.
- Restart the server.
#Still stuck?
See Getting help for what to post in #support.
GR1M