# Moderation

## Kick Command

Immediately removes a player from the server.

**Command:** `/kick [player] <reason | @layout>` **Permission:** `easychat.punish.kick` **Aliases:** None

**Examples:**

```
/kick Player123 Spamming the chat
/kick Player123 @spam
```

## Ban Commands

### **Permanent Ban**

Permanently bans a player from the server.

**Command:** `/ban [-s] [player] <reason | @layout>` **Permission:** `easychat.punish.ban` **Aliases:** None

**Examples:**

<pre><code>/ban Player123 Cheating with hacks
/ban Player123 @hacking
/ban <a data-footnote-ref href="#user-content-fn-1">-s</a> Player123 @griefing
</code></pre>

### **Temporary Ban**

Bans a player for a specified duration.

**Command:** `/tempban [-s] [player] [duration] <reason | @layout>` **Permission:** `easychat.punish.tempban` **Aliases:** `[tban]`

**Examples:**

```
/tempban Player123 1d Inappropriate language
/tempban Player123 #tempban @language
/tban Player123 3h @spam
/tempban -s Player123 7d @harassment
```

### **IP Ban Commands**

**Permanent IP Ban:** **Command:** `/banip [-s] [player/ip] <reason | @layout>` **Permission:** `easychat.punish.banip`

**Temporary IP Ban:** **Command:** `/tempipban [-s] [player/ip] [duration] <reason | @layout>` **Permission:** `easychat.punish.tempipban` **Aliases:** `[tipban]`

**Examples:**

```
/banip 192.168.1.100 Multiple ban evasion accounts
/banip Player123 @evasion
/tempipban 192.168.1.100 3d @advertising
/tipban -s Player123 1d Multiple accounts detected
```

## Mute Commands

### **Permanent Mute**

Permanently prevents a player from chatting.

**Command:** `/mute [-s] [player] <reason | @layout>` **Permission:** `easychat.punish.mute` **Aliases:** None

**Examples:**

```
/mute Player123 Excessive swearing
/mute Player123 @language
/mute -s Player123 @spam
```

### **Temporary Mute**

Mutes a player for a specified duration.

**Command:** `/tempmute [-s] [player] [duration] <reason | @layout>` **Permission:** `easychat.punish.tempmute` **Aliases:** None

**Examples:**

```
/tempmute Player123 30m Spamming
/tempmute Player123 #tempmute @caps
/tempmute -s Player123 2h @disrespect
```

## Warning Commands

### **Permanent Warning**

Issues a permanent warning to a player.

**Command:** `/warn [-s] [player] <reason | @layout>` **Permission:** `easychat.punish.warn` **Aliases:** None

**Examples:**

```
/warn Player123 Please stop using caps
/warn Player123 @caps
/warn -s Player123 @language
```

### **Temporary Warning**

Issues a temporary warning that expires after a set duration.

**Command:** `/tempwarn [-s] [player] [duration] <reason | @layout>` **Permission:** `easychat.punish.tempwarn` **Aliases:** `[twarn]`

**Examples:**

```
/tempwarn Player123 7d First warning for language
/tempwarn Player123 #tempwarn @language
/twarn -s Player123 3d @spam
```

## Note Command

Adds administrative notes about a player (not visible to the player).

**Command:** `/note [-s] [player] <note content | @layout>` **Permission:** `easychat.punish.note` **Aliases:** None

**Examples:**

```
/note Player123 Suspected of using X-ray
/note Player123 @suspicious_behavior
/note -s Player123 Multiple reports received
```

## Unpunishment Commands

### **Unban**

Removes a ban from a player.

**Command:** `/unban [player]` **Permission:** `easychat.punish.unban`

**Examples:**

```
/unban Player123
```

### **Unban IP**

Removes an IP ban.

**Command:** `/unbanip [ip/player]` **Permission:** `easychat.punish.unbanip`

**Examples:**

```
/unbanip 192.168.1.100
/unbanip Player123
```

### **Unmute**

Removes a mute from a player.

**Command:** `/unmute [player]` **Permission:** `easychat.punish.unmute`

**Examples:**

```
/unmute Player123
```

### **Remove Warning**

Removes warnings from a player.

**Command:** `/unwarn [id]` or `/unwarn clear [player]` **Permission:** `easychat.punish.unwarn`

**Examples:**

```
/unwarn 123
/unwarn clear Player123
```

### **Remove Note**

Removes notes about a player.

**Command:** `/unnote [id]` or `/unnote clear [player]` **Permission:** `easychat.punish.unnote`

**Examples:**

```
/unnote 456
/unnote clear Player123
```

[^1]: Add -s for the message to be private and not shared for everyone
