> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_prison/integrations/framework.md).

# Framework

`rcore_prison` supports ESX, QBCore, and QBox. The framework provides player identity, jobs, and the banking bridge used across the script.

## 🔎 Auto Detection

```lua
Config.Framework = AUTO_DETECT
```

Auto-detection priority (first match wins): `QBCore` → `ESX` → `QBOX`.

Override with the matching constant if detection picks the wrong one:

| Constant           | Resource                                                            |
| ------------------ | ------------------------------------------------------------------- |
| `Framework.QBCore` | `qb-core` ([GitHub](https://github.com/qbcore-framework/qb-core))   |
| `Framework.ESX`    | `es_extended` ([GitHub](https://github.com/esx-framework/esx_core)) |
| `Framework.QBOX`   | `qbx_core` ([GitHub](https://github.com/Qbox-project/qbx_core))     |
| `Framework.NONE`   | No framework found - you will need to integrate it.                 |
