> For the complete documentation index, see [llms.txt](https://acestudios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://acestudios.gitbook.io/docs/guides/framework-support.md).

# Framework Support

Which frameworks each resource supports, and how detection works.

Most AceStudios resources are **framework-independent**. The four that use a framework detect it automatically when they start.

{% hint style="warning" %}
**Start order matters for auto-detection.** Detection only finds resources that are **already started**. Always `ensure` your framework before AceStudios resources.
{% endhint %}

## Support matrix

| Resource                                                                     | QBCore | Qbox |     ESX    |        Standalone       | Config option                        |
| ---------------------------------------------------------------------------- | :----: | :--: | :--------: | :---------------------: | ------------------------------------ |
| [P2P Vehicle Marketplace](/docs/jobs-and-economy/p2p-vehicle-marketplace.md) |    ✅   |   ✅  | ✅ (Legacy) |            —            | `Config.Framework`                   |
| [Date Farming & Packaging Job](/docs/jobs-and-economy/date-farming-job.md)   |    ✅   |   ✅  |      ✅     |            —            | `Config.Framework`                   |
| [Advanced Knockout](/docs/roleplay/advanced-knockout.md)                     |    ✅   |   ✅  |      ✅     |            ✅            | `Config.Framework`                   |
| [Live Radio](/docs/roleplay/live-radio.md)                                   |    ✅   |   ✅  |      ✅     |            ✅            | `Config.Framework`                   |
| [Compensation Stashes](/docs/inventory-and-items/compensation-stashes.md)    |    ✅   |   —  |      —     |            —            | `Config.Settings.FrameWork` (`"QB"`) |
| Tactical HUD, Building Menu, Squad-Link V2, Recon Optics, Helmet Camera      |    —   |   —  |      —     |            ✅            | —                                    |
| Advanced MultiPacks, Serial Scratcher                                        |    —   |   —  |      —     | ✅ (needs ox\_inventory) | —                                    |
| Deployables                                                                  |    —   |   —  |      —     |  ✅ (detects inventory)  | —                                    |

## Detection order

The same framework can be detected differently by each resource. This matters on servers that run a compatibility bridge.

| Resource                     | `'auto'` checks, in order                           |
| ---------------------------- | --------------------------------------------------- |
| P2P Vehicle Marketplace      | `qbx_core` → `qb-core` → `es_extended`              |
| Advanced Knockout            | `qbx_core` → `qb-core` → `es_extended` → standalone |
| Live Radio                   | `qbx_core` → `qb-core` → `es_extended` → standalone |
| Date Farming & Packaging Job | `qb-core` → `es_extended` → `qbx_core`              |

{% hint style="info" %}
**Running Qbox?** If a `qb-core` resource also reports as started, the Date Farming job picks QBCore first. Set `Config.Framework = 'qbox'` in that resource to be sure.
{% endhint %}

## Forcing a framework

Replace `'auto'` with a fixed value:

{% tabs %}
{% tab title="P2P Vehicle Marketplace" %}

```lua
Config.Framework = 'qbox' -- 'esx' | 'qbcore' | 'qbox'
```

{% endtab %}

{% tab title="Date Farming Job" %}

```lua
Config.Framework = 'qbox' -- 'auto' | 'esx' | 'qbcore' | 'qbox'
```

{% endtab %}

{% tab title="Advanced Knockout" %}

```lua
Config.Framework = 'standalone' -- 'auto' | 'qbcore' | 'qbox' | 'esx' | 'standalone'
```

{% endtab %}

{% tab title="Live Radio" %}

```lua
Config.Framework = 'standalone' -- 'auto' | 'qbcore' | 'qbox' | 'esx' | 'standalone'
```

{% endtab %}
{% endtabs %}

## Editable bridges

If you run a custom or heavily modified framework, these files aren't escrowed and can be adapted:

| Resource                     | Files                                                                                          |
| ---------------------------- | ---------------------------------------------------------------------------------------------- |
| P2P Vehicle Marketplace      | `framework/esx.lua`, `framework/qbcore.lua`, `framework/qbox.lua`, `framework/qb_vehicles.lua` |
| Date Farming & Packaging Job | `bridge/client.lua`, `bridge/server.lua`, `inventory/server.lua`                               |
| Advanced Knockout            | `bridge.lua`                                                                                   |
| Live Radio                   | `server/framework.lua`                                                                         |
| Deployables                  | `server/InventoryBridge.lua`                                                                   |

{% hint style="warning" %}
Support is provided for unmodified installations. Keep a copy of the original files before you edit a bridge.
{% endhint %}
