Dependencies

2 min readUpdated 2 weeks ago

Required

  • ml_bridge: framework, inventory, usable items, target, permissions, notifications and logs
  • ox_lib: callbacks, model and animation loading
  • oxmysql: stores stations, recipes, blueprints, queues, projects and progression

Framework

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

ml_bridge detects your framework, inventory and target resource on its own.

Optional

Start these before ml_crafting. They are detected at startup.

Inventory

  • ML Inventory: the recipe result editor gains the Clothing reward, a fixed piece or a random piece from a series, with a photo of each model

Progression

  • ml_skills: recipes can need a skill or a level, stay hidden until the skill is learned, and pay XP into the skill tree. Set in Config.ExternalSkills
  • ml_battlepass: finished crafts advance the battlepass objectives that ml_battlepass ties to each recipe. Turn it off with Config.Battlepass.Enabled = false

Fuel

  • ml_fuel: benches can be refuelled with jerrycans. With Config.Fuel.mlFuel.enabled, any item with fuelAmount and fuelType metadata works as a fuel container. It stays in the inventory and only its fuel goes down

Base Building

  • Outpost (ml_base_building): portable stations follow the base rules of Config.BaseBuilding, and bench types can be built as machines inside a base with Config.BaseMachines

Vehicles

  • ml_vehiclecraft: the recipe editor can list its buildable vehicles
Crafting Dependencies, FiveM Docs | Micio Mods