Framework adapter
Draft. Full reference coming. The implementation lives at
packages/framework-adapterin the Blixt repo.
Blixt loads exactly one framework adapter per server, selected by the
blixt:framework convar. The default auto value detects qbox, then
qbcore, then esx, then falls back to standalone.
Built-in adapters
Section titled “Built-in adapters”| Adapter | What it integrates with |
|---|---|
qbox | qbox-project’s qb-fork. Identifiers via citizenid. |
qbcore | qbcore. Identifiers via citizenid. |
esx | ESX legacy + ESX 1.x. Identifiers via identifier. |
standalone | No framework integration. Useful for staging or custom forks. |
What an adapter provides
Section titled “What an adapter provides”Each adapter exposes:
- Player identity: the per-character identifier Blixt uses as a primary key. Switching character produces a fresh phone.
- Player records: name, job, phone number lookup.
- Wallet: balance reads (used by apps that opt into showing player cash, e.g. Business payouts). Only the local player’s wallet — Blixt never exposes another player’s wallet to the viewer.
- Vehicle ownership: ownership lookups for the Garage app.
Forks and custom frameworks
Section titled “Forks and custom frameworks”If you run a fork of qb / esx that breaks the default adapter, the recommended path is one of:
- Patch the bridge Lua. Blixt ships
dist/game/server/bridge-qb.luaandbridge-esx.luaas escrow-readable so you can adapt the events your fork emits. These files survive the encrypted bundle. - Use
standaloneand bridge yourself. Setblixt:framework "standalone"and emit Blixt’s documented events from your own resource. Most apps will work; some framework-coupled features (vehicle keys, wallet display) will not.
Source-level adapter changes (a new adapter case under
packages/framework-adapter/src/) are out of scope for the released
build. If you need a new built-in adapter for a public framework, ask
in the Blixt Discord with the framework’s
docs and we’ll evaluate.