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

# TextUI

The TextUI bridge is used for on-screen key-press prompts (e.g. interaction hints).

## 🔎 Auto Detection

```lua
Config.TextUI = AUTO_DETECT
```

Auto-detection priority (first match wins): `OX` → `OKOK` → `ESX` → `QBCORE`.

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

| Constant        | Resource                                             |
| --------------- | ---------------------------------------------------- |
| `TextUI.OX`     | `ox_lib`                                             |
| `TextUI.OKOK`   | `okokTextUI`                                         |
| `TextUI.ESX`    | `esx_textui`                                         |
| `TextUI.QBCORE` | `qb-core`                                            |
| `TextUI.RCORE`  | `rcore_prison` - fallback when nothing else is found |
| `TextUI.NONE`   | No TextUI resource found.                            |
