> For the complete documentation index, see [llms.txt](https://mi-store.gitbook.io/mistore-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mi-store.gitbook.io/mistore-docs/resources/mi-riddle.md). Agents can also search and read this documentation through its [MCP server](https://mi-store.gitbook.io/mistore-docs/~gitbook/mcp).

# mi-riddle

A treasure hunt across Los Santos. Parties follow riddles from note to note and dig or pry the final prize out for one weighted reward.

Players talk to the Riddle Master, form a party, and follow a chain of cryptic clues across the map. Each stage leaves a paper note at a target spot, and the last one leads to a dig spot or a crate where the server hands out one weighted reward.

## Features

* Routes with clue zones, riddle texts, final zones and final riddles. A run picks a route, five stages from its pool and one final zone.
* Parties with a minimum and maximum size, a leader who starts or disbands, members who join with an id and a password.
* A usable note item that carries the clue text, the stage and an optional picture.
* Server-side checks on the stage order, the distance and the double claims.
* A weighted loot table, a start cost, a global cooldown.
* A top hunters leaderboard with completion times.

## Supported setups

|             |                                                |
| ----------- | ---------------------------------------------- |
| Frameworks  | QBCore, ESX                                    |
| Required    | `ox_lib`                                       |
| Target      | `ox_target` or `qb-target`                     |
| Inventories | `qb-inventory`, `ox_inventory`, `qs-inventory` |
| Menus       | `ox_lib` or `qb-menu`                          |
