# 💬 Chat

> **Info:**
This module is configured in **modules/chat.yml** inside the PhoenixLobby folder.

## Chat

The chat module handles how messages look and how often they can be sent. Open it from **Editor > Settings > Chat**.

<figure><img src="../../.gitbook/assets/chat/chat.png" alt="" width="563"><figcaption><p>Settings (Chat)</p></figcaption></figure>

The checks that block a message before it reaches the chat have their own pages:

* Anti Spam - [Click Here](anti-spam.md)
* Chat Filter - [Click Here](chat-filter.md)

## Format

With this option, you can change the format every chat message is built with. Use %display\_name% for the sender and %message% for what they typed.

<figure><img src="../../.gitbook/assets/chat/format.png" alt="" width="563"><figcaption><p>Chat (Format)</p></figcaption></figure>

<figure><img src="../../.gitbook/assets/image (81).png" alt=""><figcaption><p>Chat Format - In-Game</p></figcaption></figure>

## Cooldown

With this option, you can change the cooldown between messages, which acts as a slow mode.

<figure><img src="../../.gitbook/assets/chat/cooldown.png" alt="" width="563"><figcaption><p>Chat (Cooldown)</p></figcaption></figure>

## Feature State

With this option, you can turn the chat handling off, which leaves messages to whatever other plugin you use.

<figure><img src="../../.gitbook/assets/chat/feature-state.png" alt="" width="563"><figcaption><p>Chat (Feature State)</p></figcaption></figure>

<details>

<summary>Chat Config</summary>

```yaml
enabled: true
format: §7%display_name% §8> §f%message%
cooldown-seconds: 2
```

</details>

Source: https://www.phoenixplugins.com/docs/phoenix-lobby/modules/chat-resync