# Mystery Box System

### Overview

The Mystery Box System is a multi-framework compatible FiveM resource that adds an exciting gambling element to your server. Players can purchase or find mystery boxes and spin to win various rewards including weapons, items, or cash prizes.

### Features

* **Framework Auto-Detection**: Automatically works with QBCore, QBX, and ESX
* **Interactive UI**: Engaging spinner animation when opening boxes
* **Fully Configurable**: Easily customize items, chances, and box types
* **Discord Logging**: Track all box openings and rewards with webhook integration
* **Optimized Code**: High performance with minimal resource usage

#### Requirements

* QBCore, QBX, or ESX Framework
* ox\_lib


---

# 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://sanbascripts.gitbook.io/bytestake/mystery-box-system.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.
