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

# Dispatch

The dispatch bridge sends alarm alerts to police jobs.

## 🔎 Auto Detection

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

Override with the matching constant only when detection picks the wrong one. Standalone is used as fallback when no dispatch resource is running.

| Constant           | Resource            |
| ------------------ | ------------------- |
| `Dispatch.RCORE`   | `rcore_dispatch`    |
| `Dispatch.PS`      | `ps-dispatch`       |
| `Dispatch.QS`      | `qs-dispatch`       |
| `Dispatch.LB`      | `lb-tablet`         |
| `Dispatch.WASABI`  | `wasabi_mdt`        |
| `Dispatch.CODEM`   | `codem-dispatch`    |
| `Dispatch.CORE`    | `core_dispatch`     |
| `Dispatch.DUSA`    | `dusa_dispatch`     |
| `Dispatch.KARTIK`  | `kartik-mdt`        |
| `Dispatch.LS`      | `l2s-dispatch`      |
| `Dispatch.ORIGEN`  | `origen_police`     |
| `Dispatch.REDUTZU` | `redutzu-mdt`       |
| `Dispatch.TK`      | `tk_dispatch`       |
| `Dispatch.LOVE`    | `emergencydispatch` |

## 🧩 Supported Resources

{% tabs %}
{% tab title="rcore\_dispatch" %}
Resource: `rcore_dispatch`

The bridge sends alarm alerts via `rcore_dispatch` with the property's location, blip sprite, and color from `Config.Alarm.Dispatch.Blip`.
{% endtab %}

{% tab title="ps-dispatch" %}
Resource: `ps-dispatch`

The bridge calls the `ps-dispatch` export to create a dispatch entry. Make sure the jobs in `Config.Alarm.Dispatch.Jobs` exist in your ps-dispatch job list.
{% endtab %}

{% tab title="qs-dispatch" %}
Resource: `qs-dispatch`

Alarm alerts are pushed to `qs-dispatch` with the standard QS payload (coords, blip, jobs).
{% endtab %}

{% tab title="lb-tablet" %}
Resource: `lb-tablet`

The bridge routes alerts through the LB Tablet dispatch API.
{% endtab %}

{% tab title="wasabi\_mdt" %}
Resource: `wasabi_mdt`

Alarm alerts are pushed to the Wasabi MDT dispatch API with the property's coords, blip, and jobs.
{% endtab %}

{% tab title="codem-dispatch" %}
Resource: `codem-dispatch`

The bridge creates a Codem dispatch entry for the configured police jobs.
{% endtab %}

{% tab title="core\_dispatch" %}
Resource: `core_dispatch`

Alerts route through the core\_dispatch API with the standard alarm payload.
{% endtab %}

{% tab title="dusa\_dispatch" %}
Resource: `dusa_dispatch`

The bridge hands off alarm alerts to DUSA dispatch.
{% endtab %}

{% tab title="kartik-mdt" %}
Resource: `kartik-mdt`

Alarm alerts are sent to Kartik MDT for the configured jobs.
{% endtab %}

{% tab title="l2s-dispatch" %}
Resource: `l2s-dispatch`

The bridge calls the L2S dispatch export to create an alert entry.
{% endtab %}

{% tab title="origen\_police" %}
Resource: `origen_police`

Alerts route through the Origen Police MDT dispatch API.
{% endtab %}

{% tab title="redutzu-mdt" %}
Resource: `redutzu-mdt`

The bridge sends alarm alerts to Redutzu MDT.
{% endtab %}

{% tab title="tk\_dispatch" %}
Resource: `tk_dispatch`

Alarm alerts are pushed to TK dispatch with coords, blip, and jobs.
{% endtab %}

{% tab title="emergencydispatch" %}
Resource: `emergencydispatch` (Love Dispatch)

The bridge creates an alert through the emergencydispatch API.
{% endtab %}

{% tab title="Standalone" %}
No dispatch resource - alarm dispatch falls back to a server-side notification in the console.

```lua
Config.Dispatch = Dispatch.NONE
```

{% endtab %}
{% endtabs %}

## 🚨 Alarm Settings

Dispatch tuning lives in [security configuration](/paid-resources/rcore_housing/configuration/security.md):

| Option                                   | Description                                     |
| ---------------------------------------- | ----------------------------------------------- |
| `Config.Alarm.Dispatch.DelayPerProperty` | Cooldown before the same property can re-alert. |
| `Config.Alarm.Dispatch.Jobs`             | Job names receiving the alert.                  |
| `Config.Alarm.Dispatch.Blip`             | Blip sprite, color, scale, flash.               |
| `Config.Alarm.Dispatch.Events`           | Which alarm states trigger dispatch.            |
