Installation

1 min readUpdated 2 weeks ago

Overview

ML Bridge connects every ML script to your framework, inventory, target and the other resources listed under Dependencies. It also provides the shared logs, 3D waypoints, UI theme and the Admin Hub.

Quick Start

  1. Download from CFX Portal
  2. Extract to your resources folder as ml_bridge
  3. Add to server.cfg:
server.cfg
1ensure oxmysql
2ensure ox_lib
3ensure ml_bridge
Load Order

ml_bridge starts AFTER your framework, inventory and target, and BEFORE every ml_* script.

Database

No Database

ml_bridge creates no tables of its own.

Verify

The console prints the version banner and what was detected:

cfg
1[ml_bridge] Framework:    qbox      Inventory:   ox
2[ml_bridge] Target:       ox        Notify:      ox
3[ml_bridge] Dispatch:     ps        ProgressBar: ox

/mladmin opens the Admin Hub.

  • Resource does not start: start oxmysql and ox_lib before it.
  • A system shows unknown: that resource starts after ml_bridge, or its folder name differs from the supported name. Fix the order, or force the provider in config.lua.
  • An ML script fails on start: it is ensured before ml_bridge.
  • Resource name error: the folder must be named ml_bridge.