Electus LogoElectus Documentation

Config Files

Framework functions and other necessary files are also source available.

Config Files

Config = {}

Config.Framework = "esx" -- "esx", "qb" or "qbx"
Config.Inventory = "qs-inventory" -- "ox_inventory", "qs-inventory", "core_inventory", "qb-inventory"
Config.InventoryPath = "/html/images" -- Go into your inventory folder and find the path to the images folder
Config.Garage = "jg-advancedgarages" -- "esx_garage", "qb-garages", "jg-advancedgarages" -- if unsure use "esx_garage" or "qb-garages" as they set a standard for the database structure.
Config.Locale = "en"
Config.Debug = false

Config.KeyActions = { -- if you change KeyActions the Key must also be avaliable in Keys table.
	cancel = "BACKSPACE",
}

Config.CustomDNS = { -- requires HTTPS NOT HTTP
	enabled = false, --  if you do not want (or can not) use fivem dns servers.
	port = 3000, -- INTERNAL port (runs on localhost and needs reverse proxy or cloudflare tunnel to your domain)
	protocol = "https", -- do not change from "https"
	host = "yourdomain.com", -- your domainname
}

Config.MenuCommand = "adminmenu" -- command to open the menu
Config.ServerIp = "127.0.0.1" -- your server ip
Config.ServerPort = 30120 -- your server port

Config.Statistics = {
	jobs = { -- what jobs to track
		"police",
		"ambulance",
		"mechanic",
		"taxi",
	},
	items = { -- what weapons to track
		"weapon_pistol",
		"weapon_combatpistol",
		"weapon_assaultrifle",
	},
}

Config.HideIpFromMenu = false -- whether to hide the IP address from the admin menu