# ReportSystem

## config.yml

### Report

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

#### team info message

When a player creates a new report, all team members receive a notification that a new report is available.

```yaml
teamInfoMessage: true
```

#### webhook

Set the value to `true` to receive a notification about a new report on Discord.

{% hint style="info" %}
You set the webhook and the design in the message files.
{% endhint %}

```yaml
webhook: false
```

#### aliases

You can also define so-called aliases that you can enter instead of /report. To do this, simply add further points under the item `aliases`.

```yaml
aliases:
  - "r"
```

### Permission Report

```yaml
# to report a player (player permission)
report: "bungeesystem.punishment.report"
```

#### Default configuration

```yaml
report:
  prefix: "&7[&cReport&6System&7]&r"
  teamInfoMessage: true
  webhook: false
  aliases:
    - "r"
```

#### Command

```
/report <player> <reason>
```

### Reports

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

#### aliases

You can also define so-called aliases that you can enter instead of /reports. To do this, simply add further points under the item `aliases`.

```yaml
aliases: []
```

### Permission Reports

```yaml
# to see the reports and check them (team permission)
reports: "bungeesystem.punishment.reports"
```

#### Default configuration

```yaml
reports:
  prefix: "&7[&cReport&6System&7]&r"
  aliases: []
```

#### Command

```
/reports <see/accept/checked> <id>
```
