# Similarity

***

```
Every time a player sends a message, this message will be tracked and compared 
     to his last one and if that message is % similar it will be blocked!
```

```yaml
  similarity-check:
    enabled: true
    cache-message-seconds: 10 # How many seconds will a message be tracked
    threshold: 0.75 # The threshold to flag the check
```

<pre><code>With /zelchat similar &#x3C;String1> &#x3C;String2> you will be able to compare two strings 
<strong>                         and tune better your threshold
</strong></code></pre>

***

<figure><img src="https://915383071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkgPprrYnIJHMCcjNEdrD%2Fuploads%2F7ddFZU7MZPrNfCt98qrP%2Fsimilarity.png?alt=media&#x26;token=5eaef8cf-52a5-4333-9228-64a7a0c58c69" alt=""><figcaption></figcaption></figure>
