Dependencies
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_buildingserver.cfg
1ensure ox_lib
2ensure oxmysql
3ensure qb-core
4ensure ox_inventory
5ensure ml_bridge
6ensure ml_base_building_props
7ensure ml_base_buildingserver.cfg
1ensure ox_lib
2ensure oxmysql
3ensure es_extended
4ensure ox_inventory
5ensure ml_bridge
6ensure ml_base_building_props
7ensure ml_base_buildingAuto 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_inventoryahead ofml_base_buildingwhen using it.
Fuel
ml_fuel: generators accept its jerry cans and its fuel interface,Config.Electricity.useMlFuelJerryCansanduseMlFuelInterface
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 cupboardml_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.