# Block custom clients using channel name

### Channels names

**Some custom clients** send a thing called **payload** to the server. This **payload** is identified by a **channel** name.\
For example **LabyMod** sends: `LMC` (and `LABYMOD` in some versions).

{% hint style="info" %}

#### This plugin already comes with some channel names of known cheats, but you can add your own if you find any.

{% endhint %}

\
For example I created a client setting named "**VapedCracked**" which blocks **VapeCracked** client based on channel detection.

```yaml
  block-clients:
    VapeCracked:
      enabled-check: true
      description: "VapeCracked"
      channels:
        enabled-check: true
        list:
          CPS_BAN_THIS_NIGGER: true
          L0LIMAHCKER: true
          LOLIMAHCKER: true
          EROUAXWASHERE: true
          EARWAXWASHERE: true
          "#unbanearwax": true
          "194620356vv0": true
          "Created By ": true
```

### How to find custom channel names

{% hint style="warning" %}

## If you are using Viaversion and server is 1.13+

To **detect** the correct **channel** name you have to use the **same server** and **client version**!\
You need to do that **only when testing**, to get the correct channel name.\
Then after you got the channel name you can install **Viaversion** agan.
{% endhint %}

In order to check the **channel names** sent by the player you have to enable this option in **config.yml**

```yaml
log-custompayload: true
```

You will then see something similar in console:

![](https://2879305653-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma3-Jyjt58uFCXRQ0ao%2F-MaYFzoKY9b3xn6prF0k%2F-MaYyDwzG5eAN-iCUhxL%2Fimmagine.png?alt=media\&token=4b2ad088-7844-4b55-bbf5-7854f1a30cd0)

## Legit channels

There are some legit channels which are used by vanilla Minecraft. \
They usually start with `MC|` or `minecraft:`
