Electus LogoElectus Documentation

Integrations

Supported frameworks, inventories, interactions, dispatch, voice and phone bridges.

The wrapper bridge is bundled inside electus_trap_phone/bridge; it does not need a separate ensure.

Use config/config.lua for the main integration switches. Wrapper settings that are not already present can be added to the same file.

IntegrationSupported valuesSetting
Frameworkauto, esx, qbcore, qbox, customConfig.Framework
Inventoryauto, esx, ox_inventory, qb-inventory, qs-inventory, tgiann-inventory, core_inventoryConfig.Inventory
Buyer interactionauto, true, falseConfig.Target
Notificationsauto, framework, ox_lib, gtaConfig.NotificationSystem
Menu fallbackauto, 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
Voice callspma-voice or a resource with the same call-channel exportsConfig.Calls.VoiceResource
Phone bridgelb-phoneConfig.Calls.LBPhone
Gang zones and progressionelectus_gangsConfig.Gangs

Auto detection

Framework auto detection checks es_extended, qbx_core, then qb-core.

Inventory auto detection checks common inventory resources. Set the exact adapter value manually if your supported inventory is not detected. The script also includes an ESX inventory fallback.

Config.Target = "auto" enables target interaction when qtarget or qb-target is started. Set it to false to use the bundled proximity, help-text and menu interaction instead.

Load order

Start the selected framework, inventory, target, voice, phone, dispatch and gang resources before electus_trap_phone. oxmysql and ox_lib are always required.

Adapter locations

AreaFiles
Framework logicelectus_trap_phone/bridge/client/frameworks/* and electus_trap_phone/bridge/server/frameworks/*
Inventory logicelectus_trap_phone/bridge/server/inventories/* and electus_trap_phone/server/inventory_compat.lua
Target and fallback interactionelectus_trap_phone/bridge/client/functions/entity-interact.lua
Police dispatchelectus_trap_phone/bridge/server/dispatch.lua
LB Phone bridgeelectus_trap_phone/client/phone_bridge.lua and electus_trap_phone/server/phone_bridge.lua
Electus Gangselectus_trap_phone/server/gangs.lua