Yecoyz.
Docs/Getting Started

Frameworks & Bridges

How Yecoyz scripts detect and talk to your framework.

Every script ships with an open bridge/ folder. The framework is detected automatically at startup.

Supported frameworks

Framework Detection
Qbox qbx_core started
QBCore qb-core started
ESX es_extended started
Standalone none of the above

Forcing a framework

lua
-- config.lua
Config.Framework = 'auto' -- 'auto' | 'qbx' | 'qb' | 'esx' | 'standalone'

Custom framework

Copy bridge/standalone.lua, rename it and implement the functions:

lua
Bridge = {}

---@param source number
---@return string identifier
function Bridge.GetIdentifier(source)
    return GetPlayerIdentifierByType(source, 'license')
end

---@param source number
---@param job string
function Bridge.HasJob(source, job)
    return false
end