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

# Troubleshooting

Solutions to the most common issues with `rcore_prison`.

***

## 🔊 Audio

<details>

<summary>Prison break plays other resource's sounds (native).</summary>

* This might happen, since together with our resource you might be hitting limit of the audio banks loaded at the time.
* Solution: Go to `rcore_prison/config.lua` and set `Sounds.UseCustomAlarmSound = true`.

```
Sounds = {
    UseCustomAlarmSound = true, -- This allow you to enable/disable prison break alarm with own
}
```

</details>

***

## 🎒 Inventory

<details>

<summary>Inventory items not being removed when jailed.</summary>

* Make sure you are running one of the [supported inventories](/paid-resources/rcore_prison/integrations/inventory.md).
* If using a supported inventory, check the `Config.Stash.KeepItems` section in `rcore_prison/config.lua`.
* By default, items like `water`, `bread`, and `sludgie` are defined to remain in the inventory.

</details>

<details>

<summary>My items are not restored when I get released.</summary>

* Stashed items can be found at the **Lobby Warden**, typically near the prison lobby where the player is released.
* If items are missing, check the database `rcore_prison_stash` to confirm if saved items exist.

</details>

***

## 👔 Outfits

<details>

<summary>Why don't I have a prison outfit when jailed?</summary>

* Configure outfits in `rcore_prison/outfits.lua`.
* Refer to the [prison outfit configuration guide](/paid-resources/rcore_prison/configs/outfits.md).
* Ensure a supported clothing resource is being used.

</details>

***

## 📡 Dispatch

<details>

<summary>Why dispatch is not being called?</summary>

1. **When police units received dispatch call**:
   * When Guards see broken wall, alarm will be started and dispatch is called (`Prison break active`)
   * When Guards see Prisoner cutting through wall, alarm will be started and dispatch is called (`Prison break active`)

* Guards can see only 180 view angle to see/report anything that occurs.
* See full feature how it works on the [Prison Break](/paid-resources/rcore_prison/features/prison-break.md) page.

</details>

<details>

<summary>I cannot see any dispatch when running ps-dispatch.</summary>

* Execute the command `prisonsetup ps-dispatch` in the server console.
* Restart the server and verify conditions where dispatch should be invoked - see above.
* To enforce dispatch, modify `DispatchSettings` in `config.lua` and set both options to `true` (note: this is not recommended as it may break immersion).

</details>

***

## 🎥 Freecam ban (Prolog)

<details>

<summary>Player getting banned for freecam when being jailed.</summary>

* Go to `rcore_prison/config.lua` and search for and set it to false: `Prolog.Enable = false`.

</details>
