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

# Dispatch

The dispatch bridge sends alerts to on-duty police when a wall is destroyed or a player escapes prison - see [Dispatch settings](/paid-resources/rcore_prison/configs/config.md) to configure when it's invoked.

## 🔎 Auto Detection

```lua
Config.Dispatch = AUTO_DETECT
```

Auto-detection priority (first match wins): `RCORE` → `LB` → `QS` → `CD` → `CORE` → `DUSA` → `PS` → `LOVE_SCRIPTS` → `CODEM` → `TK` → `ORIGEN` → `REDUTZU`.

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

| Constant                | Resource                                                    |
| ----------------------- | ----------------------------------------------------------- |
| `Dispatch.RCORE`        | `rcore_dispatch`                                            |
| `Dispatch.LB`           | `lb-tablet`                                                 |
| `Dispatch.QS`           | `qs-dispatch`                                               |
| `Dispatch.CD`           | `cd_dispatch`                                               |
| `Dispatch.CORE`         | `core_dispatch`                                             |
| `Dispatch.DUSA`         | `dusa_dispatch`                                             |
| `Dispatch.PS`           | `ps-dispatch`                                               |
| `Dispatch.LOVE_SCRIPTS` | `emergency_dispatch`                                        |
| `Dispatch.CODEM`        | `codem_dispatch`                                            |
| `Dispatch.TK`           | `tk_dispatch`                                               |
| `Dispatch.ORIGEN`       | `origen_police`                                             |
| `Dispatch.REDUTZU`      | `redutzu-mdt`                                               |
| `Dispatch.NONE`         | No dispatch resource found - you will need to integrate it. |
