ak47_bridge

ak47_bridge is a unified compatibility layer designed to support multiple FiveM frameworks (ESX, QBCore, QBX) and various third-party resources (Inventory, Target, Fuel, etc.) through a single, consistent API. This allows developers to write scripts that work across different server setups without writing complex adaptation code.

Features

  • Multi-Framework Support: Auto-detects and bridges ESX, QBCore, and QBX.

  • Unified API: Consistent function calls for Player, Economy, Inventory, and Vehicle management.

  • Auto-Detection: Automatically configures itself based on started resources (Configurable to 'auto').

  • Extensive Integrations: Built-in support for popular inventories, fuel scripts, garages, and target systems.

  • Developer Friendly: Simplifies dependency management for paid or free releases.

Requirements

  • FiveM Server (Artifacts enabling Lua 5.4 recommended)

  • ox_libarrow-up-right (Required for UI, callbacks, and utilities)

  • A Supported Framework:

  • ESX Legacy

  • QBCore

  • QBX Core

Installation

  1. Download the ak47_bridge resource.

  2. Place the folder into your server's resources directory.

  3. Ensure ox_lib is started before the bridge.

  4. Add the following to your server.cfg:

Configuration

The configuration is handled in config.lua. By default, most options are set to 'auto', meaning the bridge will scan your server resources and select the appropriate integration automatically.

Last updated