Category Framework Interoperability & Script Conversion

Ship the same resource across ESX, QBCore, and QBOX—without three codebases. This pillar is a practical playbook for scripters and maintainers: deterministic mappings, drop-in adapters, safe DB migrations, and CI that proves your script works everywhere.

What you’ll find here:

  • Tri-way mapping tables: events, exports, player model fields (identifiers, jobs, money, inventory), callbacks (client/server).

  • Adapter patterns: thin interfaces to normalize ESX↔QBCore↔QBOX (notifications, target/progress, command/permission hooks) with minimal diffs.

  • Framework detection helper: runtime-safe detection for es_extended, qb-core, qbx_core with fallbacks and feature flags.

  • SQL & identifier migration: steam/licensecitizenid, Accounts → Money; crosswalks, backfills, and rollback-safe migrations.

  • Testing matrix & CI: GitHub Actions matrix to validate one script across frameworks; contract tests, smoke tests, and perf/resmon checks.

  • Sample adapter repo: fxmanifest, adapters, fixtures, and example ports you can copy.

No fluff—just copy-paste adapters, verified mappings, and CI templates you can drop into your repo today.