Electus LogoElectus Documentation

Electus Drugs Integrations

Supported frameworks, inventories, target, dispatch, logs, time sync and Electus Gangs.

Electus Drugs uses the shared adapters in Electus Core. Set these keys in electus_drugs/config/config.lua, not in electus_core.

IntegrationSupported valuesSetting
Frameworkauto, esx, qbcore, qbox, customConfig.Framework
Inventoryauto, esx, ox_inventory, qb-inventory, qs-inventory, tgiann-inventoryConfig.Inventory
Targettrue, autoConfig.Target
Notificationsauto, framework, ox_lib, gtaConfig.NotificationSystem
Menu systemauto, ox_lib_menu, ox_lib_context, esx_menu_default, esx_context, qb-menuConfig.MenuSystem
Help textauto, ox_lib, okokTextUI, jg-textui, cd_drawtextui, gtaConfig.HelpTextStyle
Police dispatchauto, lb-tablet, ps-dispatch, cd_dispatch, origen_police, qs-dispatchConfig.DispatchSystem
Dirty money itemauto or your item nameConfig.BlackMoneyItem
Logsauto, discord, ox_lib, fivemanageConfig.Logs.Service

Config.Target = true uses your target resource. "auto" falls back to [E] prompts when no target resource is running.

Inventory metadata

Quality, seeds in a dried branch, soil left in a bag and pill colours are stored in item metadata. That needs ox_inventory, qb-inventory, qs-inventory or tgiann-inventory.

Lab storage cabinets use stashes, so they need ox_inventory or qb-inventory.

Optional resources

ResourceWhat it adds
ox_libProgress bars for raids and tents. The resource uses its own bar when ox_lib is not started.
weathersyncLab power and irrigation timers follow its clock. Without it they follow GTA's default pace of one game minute every two real seconds.
weathersync, qb-weathersync, Renewed-Weathersync, cd_easytimeTime sync pauses while a player is inside a shell, so Config.ShellLighting.Night can keep it night.
electus_gangsGang requirements for shops and combined street dealing.

Electus Gangs

Electus Gangs and Electus Drugs share one street dealing dialog when both are running.

  • While Electus Drugs' street dealing is on, dealing runs through its dialog and its rules in config/selling.lua. Drugs listed in Electus Gangs sell there at their own price.
  • Sales in the dialog give the seller's gang the same rewards as a sale in Electus Gangs.
  • Set Config.Drugs.useElectusDrugs = false in Electus Gangs to keep the two systems apart.

Shop presets can also require gang membership, a gang role or ownership of the shop's zone. See Shops.

Load order

Start your framework, inventory, target and optional resources before electus_core, then start electus_drugs. oxmysql and electus_core are always required.