Electus LogoElectus Documentation

Electus Core Integrations

Configure shared integrations and find the adapters used by Electus scripts.

Set integration overrides in the consuming script's config/config.lua. The core loader uses that script's Config table and fills in missing defaults. Changing electus_core/config/config.lua does not replace the configuration of each consuming script.

Use auto where supported to detect started resources. Start your selected integration resources before electus_core, then start the Electus scripts that use it.

Shared integration settings

Set these keys in the consuming script's config/config.lua. Use the exact adapter names shown below when overriding auto.

IntegrationSupported valuesSetting
Frameworkauto, esx, qbcore, qbox, customConfig.Framework
Inventoryauto, esx, ox_inventory, qb-inventory, core_inventory, qs-inventory, tgiann-inventoryConfig.Inventory
Target modetrue, false, autoConfig.Target
Menu systemauto, ox_lib_menu, ox_lib_context, esx_menu_default, esx_context, qb-menuConfig.MenuSystem
Notificationsauto, framework, ox_lib, gtaConfig.NotificationSystem
Help textauto, ox_lib, okokTextUI, jg-textui, cd_drawtextui, gtaConfig.HelpTextStyle
Dispatchauto, lb-tablet, ps-dispatch, cd_dispatch, origen_police, qs-dispatchConfig.DispatchSystem
Company moneyauto, esx_addonaccount, qb-banking, Renewed-Banking, renewed-banking, qb-management, templateConfig.CompanyMoneySystem
Dirty money itemauto or your item nameConfig.BlackMoneyItem
Upload methodauto, Fivemanage, Qbox, LBPresignedConfig.UploadMethod

The available settings depend on the consuming script. For example, Heists and Graffiti use the upload helpers, while Gangs does not. See Upload service to set up a provider.

ox_lib is an optional integration provider, not a dependency of Electus Core. Install it when you select an ox_lib integration or another resource requires it.

Shared adapter changes

The shared adapters live inside electus_core/loaf_wrapper:

AreaFiles
Frameworkselectus_core/loaf_wrapper/client/frameworks/* and electus_core/loaf_wrapper/server/frameworks/*
Inventorieselectus_core/loaf_wrapper/server/inventories/*
Dispatchelectus_core/loaf_wrapper/server/dispatch.lua
Menus and help textelectus_core/loaf_wrapper/client/functions/interface/menu.lua and electus_core/loaf_wrapper/client/functions/interface/help-text.lua
Interactionselectus_core/loaf_wrapper/client/functions/interact.lua and electus_core/loaf_wrapper/client/functions/entity-interact.lua
Uploadselectus_core/loaf_wrapper/server/functions/upload.lua
Auto-detectionelectus_core/loaf_wrapper/shared/functions/auto-detect.lua
Database checkerelectus_core/server/database_checker.lua

Changes to shared adapters affect every resource that loads them. The wrapper is included in electus_core; it does not need a separate loaf_wrapper resource.