### MTL-Bridge - Universal Framework Bridge
**Author**: MTL Scripts
### Description
MTL-Bridge is a universal bridge system designed to connect your FiveM server with multiple frameworks and popular third‑party resources through one consistent API. It reduces compatibility issues and makes it easier to swap resources (or migrate frameworks) without rewriting every script.
### Key Features
- **Framework support**: QB-Core, QBox (qbx_core), ESX (es_extended)
- **Database support**: oxmysql, mysql-async
- **Notifications bridge**: choose your notify system via config (or auto-detect)
- **Insurance integration**: supports `m-Insurance` / `m-insurance` (works on QB/QBox/ESX servers)
- **Mechanic integration**: selectable mechanic script support (used by compatible job scripts)
- **Resource bridges**: target, progressbar, drawtext, phone, inventory, fuel, weather, dispatch, police integrations
### Requirements
- **One framework**: QB-Core, QBox (qbx_core), or ESX (es_extended)
- **One database**: oxmysql (recommended) or mysql-async
### Installation
- Put `MTL-Bridge` in your resources folder
- Add to `server.cfg`:
```bash
ensure MTL-Bridge
```
- Configure `shared/config.lua`
- Restart your server
### Configuration (All Options)
All settings live in `MTL-Bridge/shared/config.lua`.
#### Framework
- **Config.Framework**:
- `auto`
- `qbox`
- `qb-core`
- `esx`
#### Notifications
- **Config.Notifications**:
- `auto`
- `ox_lib`
- `okokNotify`
- `mythic_notify`
- `pNotify`
- `wasabi_notify`
- `lation_ui`
- `fl-notify`
- `t-notify`
- `r_notify`
- `brutal_notify`
- `qb-core` (covers `qb-core` / `qbx_core`)
- `esx` (covers `es_extended`)
- `fallback` (GTA native notification)
#### Insurance
- **Config.Insurance**:
- `auto`
- `m-Insurance`
- `m-insurance`
- `none`
#### Mechanic script
- **Config.MechanicScript**:
- `auto`
- `jim-mechanic`
- `jg-mechanic`
- `qb-mechanicjob`
- `codem-mechanic`
- `false` / `nil` (disable)
#### Target
- **Config.Target**:
- `auto`
- `ox_target`
- `qb-target`
- `bt-target`
#### Vehicle keys
- **Config.VehicleKeySystem**:
- `qs-vehiclekeys`
- `cd_garage`
- `wasabi_carlock`
- `MrNewbVehicleKeys`
- `Renewed`
- `tgiann-hotwire`
- `okokGarage`
- `qb-vehiclekeys`
- `jaksam`
#### Database
- **Config.Database**:
- `auto`
- `oxmysql`
- `mysql-async`
#### DrawText / Text UI
- **Config.DrawText**:
- `auto`
- `jg-textui`
- `ox_lib`
- `okokTextUI`
- `cd_drawtextui`
- `lab-HintUI`
- `lation_ui`
- `3d` (native GTA draw text)
#### Phone
- **Config.Phone**:
- `auto`
- `qs-smartphone`
- `qb-phone`
- `okokPhone`
- `lb-phone`
- `gksphone`
- `yseries`
#### Inventory
- **Config.Inventory**:
- `auto`
- `ox_inventory`
- `qb-inventory`
- `qs-inventory`
- `ps-inventory`
- `codem-inventory`
- `tgiann-inventory`
- `origen_inventory`
- `core_inventory`
- `jpr-inventory`
- `esx_inventory`
#### Progress bar
- **Config.ProgressBar**:
- `auto`
- `ox_lib`
- `progressbar`
- `keep-progressbar`
- `lation_ui`
- `wasabi_uikit`
#### Fuel
- **Config.FuelSystem**:
- `auto`
- `ox_fuel`
- `qb-fuel`
- `qs-fuelstations`
- `ti_fuel`
- `LegacyFuel`
- `okokGasStation`
- `Renewed-Fuel`
- `x-fuel`
- `BigDaddy-Fuel`
- `cdn-fuel`
- `esx-sna-fuel`
- `lc_fuel`
- `ps-fuel`
#### Weather
- **Config.WeatherSystem**:
- `auto`
- `av_weather`
- `vSync`
- `cd_easytime`
- `qb-weathersync`
- `esx_weathersync`
- `none`
#### Dispatch
- **Config.DispatchSystem**:
- `auto`
- `cd_dispatch`
- `qb-dispatch`
- `ps-dispatch`
- `qs-dispatch`
- `esx_dispatch`
- `none`
#### Police
- **Config.PoliceSystem**:
- `auto`
- `qb-policejob`
- `esx_policejob`
- `ars_policejob`
- `ND_Police`
- `wasabi_police`
- `none`