# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.staffplusplus.org/features/kicking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
