Dependencies

2 min readUpdated Yesterday

Required

  • ml_bridge: framework, inventory, target, notifications and logging
  • ox_lib: callbacks, zones and UI helpers
  • oxmysql: stores bases, crews, circuits, storages and logs
  • ml_base_building_props: the building models. It ships in the same download and must keep its name

Framework

server.cfg
1ensure ox_lib
2ensure oxmysql
3ensure qbx_core
4ensure ox_inventory
5ensure ml_bridge
6ensure ml_base_building_props
7ensure ml_base_building
server.cfg
1ensure ox_lib
2ensure oxmysql
3ensure qb-core
4ensure ox_inventory
5ensure ml_bridge
6ensure ml_base_building_props
7ensure ml_base_building
server.cfg
1ensure ox_lib
2ensure oxmysql
3ensure es_extended
4ensure ox_inventory
5ensure ml_bridge
6ensure ml_base_building_props
7ensure ml_base_building
Auto Detection

ml_bridge detects your framework, inventory and target resource automatically, with no manual setup.

Firearm accounting has been tested with Qbox and ML Inventory. On another framework, confirm that the inventory owner matches the character id returned by ml_bridge before relying on firearm raids.

Optional

Inventory

Building pieces, materials and tools are inventory items. _INSTALL/items.lua ships ready ox_inventory definitions. Other inventories need the same item names registered.

  • ML Inventory: required for firearm damage to structures. Each hit is matched to a round the inventory confirms was spent, so an unmodified ox_inventory does not enable firearm raids. Explosives and melee work with any inventory. Keep ml_inventory ahead of ml_base_building when using it.

Fuel

  • ml_fuel: generators accept its jerry cans and its fuel interface, Config.Electricity.useMlFuelJerryCans and useMlFuelInterface

Progression

  • ml_skills: building and upgrading award XP, and tiers or models can require a skill level, Config.Skills

Store

  • ml_tebex: delivers the optional furniture sets sold through your store, Config.TebexPackages

Vehicles

  • ml_vehicle_persistence: lists the vehicles saved at a base in its cupboard
  • ml_vehiclekeys: lets the owner share those vehicles with the crew from the cupboard

Machines

  • ml_water_stations, ml_mechanic, ml_vehiclekeys, ml_pets: register their own stations as buildable base pieces when running. Staff can turn each one on or off in the admin panel.
Outpost Dependencies, FiveM Docs | Micio Mods