> 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/maps.md).

# Maps

`rcore_prison` ships map presets for the most popular prison interior maps, auto-detected from your installed resources.

## 🔎 Auto Detection

```lua
Config.Map = AUTO_DETECT
```

Auto-detection priority (first match wins): `PROMPT` → `ALCATRAZ` → `RCORE` → `GABZ` → `UNCLE` → `YBN` → `DESERTOS`.

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

| Constant       | Resource                                                                           |
| -------------- | ---------------------------------------------------------------------------------- |
| `Map.PROMPT`   | Prompt's Prison (`cfx_prompt_Bolingbroke_Prison_Interiors`)                        |
| `Map.ALCATRAZ` | Molo's Alcatraz Prison (`molo_alcatraz`)                                           |
| `Map.RCORE`    | Default Mission Row Prison (built-in)                                              |
| `Map.GABZ`     | GABZ Prison (`cfx-gabz-prison`)                                                    |
| `Map.UNCLE`    | Uncle Just Prison (`int_prison`)                                                   |
| `Map.YBN`      | YBN Prison (`YBNPrison`)                                                           |
| `Map.DESERTOS` | Desertos Prison (`Prisonmainblock`)                                                |
| `Map.NONE`     | No prison map found - loads the standalone preset (`data/presets/standalone.lua`). |

{% hint style="warning" %}
Prison Break is not supported for Molo's Alcatraz Prison.
{% endhint %}

For unique or custom maps, see [Where / how to define your own map](/paid-resources/rcore_prison/configs/custom-map.md).
