# Ban

## 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[&6BanSystem&7]&r"
```

### permanent

Here you can enter how many Ban Points a player needs to be permanently banned.

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

### autoBanOperatorName

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

```yaml
autoBanOperatorName: "AutoBanSystem"
```

### autoBanOperatorUUID

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

```yaml
autoBanOperatorUUID: "00000001-0001-0001-0001-000000000001"
```

### autoBanReason

Here you specify the reason when the player is automatically banned from the system.

```yaml
autoBanReason: "auto ban"
```

### banReasons

Here you enter how many ban reasons you want to define. You can change these in the[ message files](/bungeesystem/messages-files.md).

```yaml
banReasons: 6
```

### infoMessageOther

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

```yaml
infoMessageOther: true
```

### Aliases

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

```yaml
aliases: []
```

### Default configuration

```yaml
punishment:
  ban:
    prefix: "&7[&6BanSystem&7]&r"
    # how many points for permanent ban
    permanent: 100
    autoBanOperatorName: "AutoBanSystem"
    autoBanOperatorUUID: "00000001-0001-0001-0001-000000000001"
    autoBanReason: "auto ban"
    banReasons: 6
    infoMessageOther: true
    webhook: false
    aliases: []
```

## Command

### Syntax

```
/ban <player> <id>
```


---

# 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-en.herrtechniker.eu/bungeesystem/module/punishment/ban/ban.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.
