Logo

DIVERSITY

Documentation

Installation

To avoid any issues, please review everything and double-check that you've completed the following steps.

Installing this resource is pretty straight forward, just like other resources! It does not depend on any other scripts and is fully standalone!

Dependencies

Windows Server ArtifactsDo not use the latest recommended artifacts!>= 26389

Linux Server ArtifactsDo not use the latest recommended artifacts!>= 26389

You can also use the JG Scripts Artifacts DB to find the latest artifacts.

Installation

Downloading the script

You can download it from the GitHub repository.

Extracting the files

Extract the div_bridge.zip folder to your server's resources directory using 7z, WinRaR, or built-in Windows tools.

Configuring the script

You can now customize the resource to your preferences. The configuration files, which are thoroughly commented for better understanding, are available on the page below.

Running the script

In your server's configuration file server.cfg add the following after any framework, inventory and/or library resources:

server.cfg
ensure div_bridge

Your server.cfg should look something like this:

server.cfg
...
ensure ox_lib
ensure es_extended
ensure ox_inventory
ensure div_bridge
...

Make sure you start the script after all required resources.

Framework, library and UI resources (if using them) must be started before Diversity Bridge.

Importing the bridge

To use the bridge or the library in your resources, simply add the following lines to your fxmanifest.lua:

fxmanifest.lua
shared_script '@div_bridge/init.lua' -- For the bridge
shared_script '@div_bridge/lib/init.lua' -- For the library

If you've followed every single step thoroughly, the script should work perfectly.
In case of an issue, open a support ticket in our Discord server.

Was this page helpful?