> For the complete documentation index, see [llms.txt](https://wiki.staffplusplus.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.staffplusplus.org/features/kicking.md).

# Kicking

Staff++ adds its own kick command. When used, a history of the kicks will be preserved. Kicks also will be shown in the [infractions](/features/infractions.md) menu.

### Permissions

View [permissions](/permissions-and-commands/permissions.md) page

### Commands

| Command                    | Description                                            |
| -------------------------- | ------------------------------------------------------ |
| /kick \[player] \[reason?] | Kicks a player from the server. With specified reason. |

### Config

```yaml
kick-module:
  # Whether or not the plugin will use "/kick" features.
  enabled: false
  # If set to true, staff members will no longer have the ability 
  # to specify a custom reason
  fixed-reason: false
  # Possible kick reasons, when defined the staff member will see
  # a reason selection GUI
  reasons: []
```

### Examples

#### Kick with custom reason&#x20;

```yaml
/kick myplayer He was spamming
```

#### Kick with reason select:

```
/kick myplayer
```

```yaml
kick-module:
  enabled: true
  fixed-reason: false
  reasons:
  - reason: ANNOYING
    material: PAPER
    info: he is ANNOYING
  - reason: SPAM
    material: PAPER
    info: Use when a player is spamming
```

![](/files/-MchnHIwpyrDNv8VG1Lm)

#### Kick with default reason

```
/kick myplayer
```

```yaml
kick-module:
  enabled: true
  fixed-reason: false
  reasons:
  - reason: SPAM
    material: PAPER
    info: Use when a player is spamming
```

{% hint style="info" %}
No reason selection is shown because only one reason is available.
{% endhint %}
