# Ignore public messages

This feature is connected to [ignore-private-messages](https://emibergo.gitbook.io/redischat/features/ignore-private-messages "mention")\
To ignore a player you'll need to execute `/ignore <playername>`

First of all you'll need to enable those 2 parameters inside config.yml

<pre class="language-yaml" data-title="config.yml"><code class="lang-yaml"><strong># Do not send public messages to players who are ignoring the sender.
</strong>ignorePublicMessages: true
# Publicly Ignored Player Notification
sendWarnWhenIgnoring: true
</code></pre>

#### Configuration Parameters Explanation

* **ignorePublicMessages**: When set to `true`, it enables the feature
* **sendWarnWhenIgnoring**: When set to `true`, a notification will be sent to the player indicating that they have been ignored on public chat\
  This serves as a warning message to the player about their status\
  By default the warning message, when clicked, shows ignored players

### This is the graphical interface

<div align="left"><figure><img src="https://4192870058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mix0kMe6uMSoQG3GdY-%2Fuploads%2FzTDGFToxAzfoyegBuTZ7%2Fimage.png?alt=media&#x26;token=42557b30-aaa3-47e7-bbf8-f64da69021e3" alt=""><figcaption><p><strong>Player POV</strong></p></figcaption></figure></div>
