# Dependencies > Required and optional dependencies for ML Trap Category: TRAP · Source: https://miciomods.it/docs/ml-trap-dependencies · Last updated: 2026-07-01 ## Required - [ml_bridge](https://portal.cfx.re): Framework, inventory and target abstraction. Every player, item and notification call routes through it. - [ox_lib](https://github.com/communityox/ox_lib): Model loading, points, DUI, text UI and callbacks. - [oxmysql](https://github.com/communityox/oxmysql): Persistence for cage traps. Required even when persistence is disabled, since the resource loads the MySQL module at start. ## Framework **QBCore** **server.cfg** ```cfg ensure qb-core ensure oxmysql ensure ox_lib ensure ml_bridge ensure ml_trap ``` **QBox** **server.cfg** ```cfg ensure qbx_core ensure oxmysql ensure ox_lib ensure ml_bridge ensure ml_trap ``` **ESX** **server.cfg** ```cfg ensure es_extended ensure oxmysql ensure ox_lib ensure ml_bridge ensure ml_trap ``` **Standalone** **server.cfg** ```cfg ensure oxmysql ensure ox_lib ensure ml_bridge ensure ml_trap ``` > **INFO:** Auto Detection > > `ml_bridge` detects your framework automatically. No manual setup. ## Optional ### Inventory - Any inventory supported by `ml_bridge`: Holds the trap, bait and repair items, and provides the item images shown in the panel. The trap and bait items are consumed and refunded through the bridge. ### Target - Any target supported by `ml_bridge`: Used when `Config.InteractionMethod = 'target'` to attach the interaction option to each trap prop. Set `Config.InteractionMethod = 'textui'` to use a key press instead and skip the target dependency.