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_admin to your server.cfg

ensure electus_admin

Run the SQL file

electus_admin.sql

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

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/*",
})

shared_scripts({
    "config/**/*",
    "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:

Add yourself as owner

config.lua

Open the file config.lua in the folder server_config and change ownerLicense to your license. It is your rockstar license.

Fiding your license can be done in several ways:

  • For QBcore/QBox users, you can find it in your players table column license.
  • For ESX users, you can find it in your users table column identifier, it is the part after charX: in your identifier. For example char1:1234567890abcdef1234567890abcdef would be 1234567890abcdef1234567890abcdef.

Configure the script

In the folder config you will find all configurable files.

Restart your server

Restart your server to apply the changes.