# 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>
```


---

# 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/reportsystem.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.
