Electus LogoElectus Documentation

Installation

Step-by-step installation guide.

Installation Steps

Please ensure you follow these steps carefully. If you are having trouble installing, please join our Discord for support.

Make sure to use MariaDB version 11+. You can find how to upgrade here. Also make sure to make a backup before upgrading!

Download the package

Download the package from Portals

Add script to server.cfg

Add electus_gangs to your server.cfg

ensure electus_gangs

Run the SQL file

electus_gangs.sql

Run the SQL file electus_gangs.sql to set up the database tables

README.md
zone_data1.sql
zone_data2.sql

Run either zone_data1.sql or zone_data2.sql in zone-data folder. For more information read the README.md inside that folder.

Add the items to your inventory

Add these items to your inventory script.

Inventory Icons

Place the icons in your inventory script's image folder. The icons can be found in the item-imgs folder of the electus_gangs resource.

QBox specific step

If you are using QBX uncomment the QBX rows in fxmanifest.lua

client_scripts({
    -- "@qbx_core/modules/playerdata.lua", -- uncomment this if you are using Qbox
    "client/**/*",
    "escrowed/client/main.lua",
    "escrowed/client/*",
})

shared_scripts({
    "config/config.lua",
    "config/*.lua",
    "shared/**/*",
    "escrowed/shared/*",
    "@ox_lib/init.lua",
    -- "@qbx_core/modules/lib.lua", -- uncomment this if you are using Qbox
})

Anti-Cheat

If you are using any anti-cheat, make sure to add to whitelist the script and the props:

Configure the script

In the folder config you will find all configurable files.

Restart your server

Restart your server to apply the changes.