Dependencies

2 min readUpdated 1 weeks ago

Required

  • ml_bridge - framework, inventory and target abstraction. Every call the script makes to the server's framework goes through it
  • ox_lib - progress bars, skill checks, points, animation helpers
  • oxmysql - project persistence
  • OneSync - required for the finished vehicle to spawn server side

Framework

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

ml_bridge detects the framework, the inventory and the target system automatically. No manual setup.

Inventory

Any inventory supported by ml_bridge works. An inventory that carries item metadata unlocks two features:

  • parts that belong to a specific vehicle, Config.Parts.modelLock
  • parts that carry a condition, Config.Parts.quality

Without metadata support both switch themselves off, the script warns once on start and keeps running with generic parts. Config.ChassisMode also falls back from 'metadata' to 'items', which needs the per-vehicle chassis items registered.

Props and animations

Every prop and animation used by placement, carrying, mounting and the hoist is base game. Nothing is streamed and there is no prop pack to buy.

Optional

Store

  • ml_tebex - sells the paid uses and the vehicle unlocks, and verifies the purchase ids entered in /vcredeem. Without it the paid layer still works, granted from the admin panel

Vehicle systems

  • ml_vehiclekeys - hands the keys to the owner when a vehicle is finished, Config.Integrations.vehicleKeys
  • ml_fuel - sets the starting fuel level, Config.Integrations.fuel
  • ml_mechanic - seeds the engine condition of the finished vehicle from the part condition average, Config.Integrations.mechanic

Progression

  • ml_skills - backs Config.SkillGate through OpenServer.GetSkillLevel. Any progression system works by editing that hook

Parts economy

  • ml_crafting - already allowed to call the give exports, and its recipe editor has a vehicle picker that writes the part metadata

Each optional resource is detected at runtime. When it is not running, the matching feature is skipped and nothing errors.

Vehicle Crafting Dependencies, FiveM Docs | Micio Mods