Dependencies

1 min readUpdated 1 weeks ago

Required

  • ml_bridge: framework, inventory and target support. Item checks, item moves, notifications, usable items and the pickup prompt go through it.
  • ox_lib: callbacks, model loading and animations.
  • oxmysql: saves permanent items and vehicle cargo.

Framework

server.cfg
1ensure qb-core
2ensure oxmysql
3ensure ox_lib
4ensure ml_bridge
5ensure ml_itemthrowing
server.cfg
1ensure qbx_core
2ensure oxmysql
3ensure ox_lib
4ensure ml_bridge
5ensure ml_itemthrowing
server.cfg
1ensure es_extended
2ensure oxmysql
3ensure ox_lib
4ensure ml_bridge
5ensure ml_itemthrowing
server.cfg
1ensure oxmysql
2ensure ox_lib
3ensure ml_bridge
4ensure ml_itemthrowing
Auto Detection

ml_bridge detects your framework and inventory automatically. No manual setup.

Optional

Inventory

  • Any inventory supported by ml_bridge: the item picker, throwing, placing and pickup work through the bridge.
  • ox_inventory: adds vehicle inventory slots for bed and trunk cargo (Config.VehicleInventory) and physical trunk placement from the trunk screen (Config.OxVehiclePlacement).
  • ML Inventory: places items in trunks and on the ground from its own interface through ml_itemthrowing. When its vehicle item placement is on, trunks and beds are handled by ML Inventory.
Metadata on the default ESX inventory

The stock ESX inventory has no item metadata, so only the quantity comes back on pickup. With ox_inventory or another metadata inventory on ESX, metadata is kept.

Item Throwing Dependencies, FiveM Docs | Micio Mods