Configuration

After installing the bridge you can now configure it. Normally it does not require any configuration since it will find you framework and supported script automatically. Incase you renamed any of the supported scripts or it is not able to find all of them you'll have to make adjustments to the config.lua.

Config Explanation

Here you can manually set the supported script for each category. If you dont have any of the supported scripts you can set it to custom (refer to Custom Implementation).

local modules = {
    core = 'auto', -- [your framework] Available options:  auto | esx | qbcore | custom (see custom folder in modules/core)
    inv = 'auto', -- [your inventory] Available options: auto | ox_inv | qb_inv | esx | custom (see custom folder in modules/inventory)
    dispatch = 'auto', -- [your dispatch] Available options: auto | cd_dispatch | ps_dispatch | qs_dispatch | core_dispatch | rcore_dispatch | redutzu_dispatch | lb_phone | aty_dispatch | op_dispatch | origen_police | custom (see custom folder in modules/dispatch)
}

Here you can change the resource name for each supported script, incase you changed it. This is necessary for finding the script and calling exports withing the supported script.

local resourceNames = {
    core = {
        esx = 'es_extended',
        qbcore = 'qb-core',
    },
    inv = {
        ox_inv = 'ox_inventory',
        qb_inv = 'qb-inventory',
        esx = 'es_extended',
    },
    dispatch = {
        cd_dispatch = 'cd_dispatch',
        ps_dispatch = 'ps-dispatch',
        qs_dispatch = 'qs-dispatch',
        core_dispatch = 'core_dispatch',
        rcore_dispatch = 'rcore_dispatch',
        redutzu_dispatch = 'redutzu_dispatch',
        lb_phone = 'lb-phone',
        aty_dispatch = 'aty_dispatch',
        op_dispatch = 'op-dispatch',
        origen_police = 'origen_police',
    }
}

Last updated