Dependencies

1 min readUpdated 3 weeks ago

Required

  • ml_bridge: Framework, inventory and target abstraction. Every player, item and notification call routes through it.
  • ox_lib: Model loading, points, DUI, text UI and callbacks.
  • oxmysql: Persistence for cage traps. Required even when persistence is disabled, since the resource loads the MySQL module at start.

Framework

server.cfg
1ensure qb-core
2ensure oxmysql
3ensure ox_lib
4ensure ml_bridge
5ensure ml_trap
server.cfg
1ensure qbx_core
2ensure oxmysql
3ensure ox_lib
4ensure ml_bridge
5ensure ml_trap
server.cfg
1ensure es_extended
2ensure oxmysql
3ensure ox_lib
4ensure ml_bridge
5ensure ml_trap
server.cfg
1ensure oxmysql
2ensure ox_lib
3ensure ml_bridge
4ensure ml_trap
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.