# Mute

## config.yml

### Prefix

The prefix is used by default for each message. It can be set in the message files at the beginning of each message. To set it simply write `%prefix%` (placeholder). This will then be replaced by the system with the prefix entered in `config.yml`.

```yaml
prefix: "&7[&6MuteSystem&7]&r"
```

### permanent

Here you can enter how many Mute Points a player needs to be permanently muted.

```yaml
# how many points for permanent ban
permanent: 100
```

### autoMuteOperatorName

Here you specify the name that will be displayed on the mute screen when the player is muted for having too many Mute points.

```yaml
autoMuteOperatorName: "AutoMuteSystem"
```

### autoMuteOperatorUUID

Here you specify the UUID of the [above operator name](#automuteoperatorname).

```yaml
autoMuteOperatorUUID: "00000002-0002-0002-0002-000000000002"
```

### autoMuteReason

Here you specify the reason when the player is automatically muted by the system.

```yaml
autoMuteReason: "auto mute"
```

### muteReasons

Here you enter how many mute reasons you want to define. You can change these in the [message files](https://wiki-en.herrtechniker.eu/bungeesystem/messages-files).

```yaml
muteReasons: 6
```

### infoMessageOther

Here you can specify whether the team members of your network should receive a message when a player is muted.

```yaml
infoMessageOther: true
```

### Aliases

You can also define so-called aliases that you can enter instead of /mute. For this you simply add further points under the point `aliases`.

```yaml
aliases: []
```

### Default configuration

```yaml
punishment:
  mute:
    prefix: "&7[&6MuteSystem&7]&r"
    # how many points for permanent mute
    permanent: 100
    autoMuteOperatorName: "AutoMuteSystem"
    autoMuteOperatorUUID: "00000002-0002-0002-0002-000000000002"
    autoMuteReason: "auto mute"
    muteReasons: 4
    infoMessageOther: true
    webhook: false
    aliases: []
```

## Command

### Syntax

```
/mute <player> <id>
```
