# framework support

moh-boombox supports ESX and QBCore with full feature parity. Target systems and notification resources are auto-detected.

## Framework Compatibility

| Feature                    | ESX | QBCore |
| -------------------------- | --- | ------ |
| Item registration (usable) | ✓   | ✓      |
| Item removal on use        | ✓   | ✓      |
| Item return on pickup      | ✓   | ✓      |
| Saved songs (DB)           | ✓   | ✓      |
| Admin command              | ✓   | ✓      |
| Discord logging            | ✓   | ✓      |
| Notifications              | ✓   | ✓      |

## Target System Compatibility

| System      | Interact Zone | Pickup Zone | Auto-Detected |
| ----------- | ------------- | ----------- | ------------- |
| `ox_target` | ✓ Box Zone    | ✓           | ✓             |
| `qtarget`   | ✓ Box Zone    | ✓           | ✓             |
| `qb-target` | ✓ Box Zone    | ✓           | ✓             |
| `none`      | ✗ No zone     | ✗           | N/A           |

⚠️ When using `'none'`, boomboxes still play audio in the world but players have no target option to interact or pick them up. You would need to add your own interaction logic.

## Notification System Compatibility

| System          | Resource        | Auto Priority |
| --------------- | --------------- | ------------- |
| ox\_lib         | `ox_lib`        | 1st           |
| okokNotify      | `okokNotify`    | 2nd           |
| mythic\_notify  | `mythic_notify` | 3rd           |
| ESX built-in    | `es_extended`   | 4th           |
| QBCore built-in | `qb-core`       | 5th           |
| Chat fallback   | Native FiveM    | Always        |
| Custom function | Your resource   | Manual only   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mohssins.gitbook.io/mohscriptsdocs/moh-boombox/framework-support.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
