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.
| Integration | Supported values | Setting |
|---|---|---|
| Framework | auto, esx, qbcore, qbox, custom | Config.Framework |
| Inventory | auto, esx, ox_inventory, qb-inventory, qs-inventory, tgiann-inventory | Config.Inventory |
| Target | true, auto | Config.Target |
| Notifications | auto, framework, ox_lib, gta | Config.NotificationSystem |
| Menu system | auto, ox_lib_menu, ox_lib_context, esx_menu_default, esx_context, qb-menu | Config.MenuSystem |
| Help text | auto, ox_lib, okokTextUI, jg-textui, cd_drawtextui, gta | Config.HelpTextStyle |
| Police dispatch | auto, lb-tablet, ps-dispatch, cd_dispatch, origen_police, qs-dispatch | Config.DispatchSystem |
| Dirty money item | auto or your item name | Config.BlackMoneyItem |
| Logs | auto, discord, ox_lib, fivemanage | Config.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
| Resource | What it adds |
|---|---|
ox_lib | Progress bars for raids and tents. The resource uses its own bar when ox_lib is not started. |
weathersync | Lab 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_easytime | Time sync pauses while a player is inside a shell, so Config.ShellLighting.Night can keep it night. |
electus_gangs | Gang 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 = falsein 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.