> For the complete documentation index, see [llms.txt](https://quickfire-corp.gitbook.io/ncpf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quickfire-corp.gitbook.io/ncpf/guides/getting-started/configuration/checks/chat/warning.md).

# Warning

Config path: `checks.chat.warning`\
Depends on: `[Chat] Text` or `[Chat] Commands`

Allows you to warn the player of the chat.text and chat.commands weight levels, possibly before a violation is triggered.

| Option  | Description                                                             |
| ------- | ----------------------------------------------------------------------- |
| level   | Chance(%) to warn a player..                                            |
| message | This message will be sent to all of the players that fail a chat check. |
| timeout | Time in seconds before warning again (cooldown) (seconds).              |

**Notes**

* Currently warning does not necessarily happen before violations are being triggered.
* Color codes are supported in message config
* If for example your CHAT\_TEXT\_SHORTTERM check has level set to 160 you calculate: (160 / 100) \* level you set here in warning. Result= The level at which warning will trigger for CHAT\_TEXT\_SHORTTERM

**Related**

* [Active](/ncpf/guides/getting-started/configuration/checks/general/active.md)
* [Actions](/ncpf/guides/getting-started/configuration/checks/general/actions.md)
