> For the complete documentation index, see [llms.txt](https://docs.sourcefactory.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sourcefactory.eu/discord-utilities/modules/chat-relay.md).

# Chat Relay

{% hint style="warning" %} <mark style="color:red;">**configs/plugins/DU\_ChatRelay/DU\_ChatRelay.json**</mark>
{% endhint %}

{% hint style="info" %}

1. Display messages that are written ingame on your Discord server. Messages are divided into All, Team and Admin Chat
2. Send a message from your Discord server to your game server.
   {% endhint %}

<div align="center"><figure><img src="/files/Byt9OyTYZqAcq0zSqzbA" alt="" width="264"><figcaption></figcaption></figure> <figure><img src="/files/MzzSCNkhsYBqAwvYI5zk" alt=""><figcaption></figcaption></figure></div>

### All/Team Chat Settings

<table><thead><tr><th width="229">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enabled</strong></td><td>If this feature will be available <mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Blocked Words</strong></td><td>Which words will not be displayed</td></tr><tr><td><strong>Display Commands</strong></td><td>Will commands also be sent to discord? <mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Channel ID</strong></td><td>The Channel ID where the All/Team Chat message will be sent</td></tr></tbody></table>

### Admin Chat Settings

<table><thead><tr><th width="230">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enabled</strong></td><td>If this feature will be available <mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Admin Flag</strong></td><td>Flag that allows admin to send messages to Admin Chat</td></tr><tr><td><strong>Channel ID</strong></td><td>The Channel ID where the Admin Chat message will be sent</td></tr></tbody></table>

### Discord Relay Settings

<table><thead><tr><th width="250">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enabled</strong></td><td>If this feature will be available <mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Channel ID</strong></td><td>The Channel ID where you will send messages</td></tr><tr><td><strong>Ingame Message Format</strong></td><td>What the message will look like when sent to the game server</td></tr></tbody></table>

{% hint style="success" %}
**To edit the embeds, follow the instructions:** [**Custom Embeds Format**](/discord-utilities/tutorials/custom-embeds-format.md)&#x20;

> Available Variables for <mark style="color:red;">`Ingame Message Format`</mark>

• [**Discord**](/discord-utilities/available-variables.md#discord-variables)

> Available Variables for <mark style="color:red;">`All/Team/Admin Chat Log embeds`</mark>

• [**Server**](/discord-utilities/available-variables.md#server-variables) **and** [**Player**](/discord-utilities/available-variables.md#player-variables)\
**•** <mark style="color:blue;">{MESSAGE}</mark> > Display the message
{% endhint %}
