Skip to content

diversity-scripts/div_bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

🚀 Overview

A high-performance, standardized dependency library designed to unify the FiveM development ecosystem. By bridging the gap between major frameworks (ESX, QBCore), inventory systems (ox, QS, Core) and other resources, it provides a consistent API that allows developers to write code once and deploy it anywhere.

🌟 Features

  • Framework Agnostic: Seamlessly auto-detects frameworks (e.g.: ESX, QBCore) environments on startup with zero configuration required.
  • Inventory Integration: Out-of-the-box support for inventories (e.g.: ox_inventory, qb-inventory), and native framework systems.
  • Optimized Performance: Built on a Singleton Pattern to minimize memory overhead and eliminate redundant logic across your resources.
  • Smart Notifications: Automatically routes alerts through supported resources, falling back to native GTA V notifications otherwise.

🛠️ Installation

  1. Download the latest release of div_bridge resource.
  2. Extract the folder into your server's resources directory.
  3. Add the following line to your server.cfg. It is crucial that this starts BEFORE any script that depends on it.
ensure ox_lib       # If you use it
ensure es_extended  # OR ensure qb-core
ensure div_bridge   # <--- MUST LOAD HERE
ensure [my_scripts]

Supported Frameworks

Resource Author / Maintainer Price
ESX @ESX Free
QBCore @QBCore Free
Qbox @Qbox Project Free
ox_core @CommunityOx Free
ND_Core @ND Framework Free
TMC @The Modding Collective Paid

Supported Inventories

Resource Author / Maintainer Compatibility Price
ox_inventory @CommunityOx ESX / QB / ox_core / ND_Core Free
qs-inventory @Quasar ESX / QB / Qbox Paid
origen_inventory @Origen Network ESX / QB Paid
tgiann-inventory @Tgiann ESX / QB Paid
codem-inventory @CodeM ESX / QB Paid
core_inventory @Core ESX Paid
ps-inventory @Project Sloth QB Free
ak47_inventory @MenanAK47 ESX / QB Paid
chezza_inventory @Chezza Studios ESX Paid

Tip

All framework-integrated inventories are also supported.

Database Resources

Resource Author / Maintainer Compatibility Price
oxmysql @CommunityOx Standalone Free
mysql-async @brouznouf Standalone Free
ghmattimysql @vecchiotom Standalone Free

Interaction Systems (External)

Resource Author / Maintainer Compatibility Price
ox_target @CommunityOx Standalone Free
qb-target @QBCore Standalone Free
qtarget (deprecated) @Overextended Standalone Free
bt-target (deprecated) @brentN5 Standalone Free
core_focus @Core ESX / QB Paid

Interaction Systems (Internal)

  • 3D Text: World-space coordinate text.
  • GTA V Native Hint: Standard top-left help notifications.

Notification Systems

Resource Author / Maintainer Compatibility Price
ox_lib @CommunityOx Standalone Free
okokNotify @okok Scripts Standalone Paid
mythic_notify @JayMontana36 Standalone Free
pNotify @Nick78111 Standalone Free
17mov_Hud @17 Movement Standalone Paid
codem-notification @CodeM Standalone Paid

Tip

All framework-integrated notification systems are also supported.

📄 Licensing & Usage

This library is a dedicated dependency for all our resources.

  • Permissions: You are encouraged to view and modify the code to suit your server's specific requirements.
  • Restrictions: You may not claim this code as your own, redistribute it, or resell it as a standalone product.

⤴️ Pull Requests

We welcome community contributions! If you are a developer looking to enhance div_bridge, whether by optimizing existing logic or adding support for a custom framework or inventory system - we’d love to see your work.

  • Fork the repository.
  • Commit your changes with clear, descriptive notes.
  • Submit a Pull Request.

Our team will review all submissions and merge those that provide significant value to the community.

About

A bridge between resources and frameworks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published