# Chat

## config.yml

### Prefix

Der Präfix wird in den Nachrichten-Datein mit `%prefix%` (Placeholder) ausgetauscht. Wenn du das Kommando ausführst und am Anfang der Nachricht den Placeholder eingibts, wird dieser mit dem Präfix ausgetauscht. Dieser kann in der `config.yml` geändert werden.

```yaml
prefix: "&7[&fChat&7]&r"
```

### Permission

Um das Kommando für das Broadcast Modul ausführen zu können, benötigst du die Permission, die in der `config.yml` eingetragen ist.

{% hint style="warning" %}
Die Permission ist eine BungeeCord Permission
{% endhint %}

```yaml
permission: "bungeesystem.switch.chat"
```

### ingameChatName

Hier kannst du festlegen, wie der Chatname für den ingame Chat, also den normalen Minecraft chat heißen soll. Wenn man diesen Chat auswählt, ließt man nur die Nachrichten von dem Lokalem Server.

```yaml
# you can read every chat message on every server except for the ingame-chat. This chat is only readable on the server where the player is
ingameChatName: "ingame"
```

### chats

Das sind die Chats, zwischen den gewählt werden kann.&#x20;

```yaml
chats:
  - "bedwars"
  - "skywars"
  - "gungame"
  - "mlgrush"
```

### Aliases

Du kannst auch sogenannte Aliases definieren die du anstatt /chat eingeben kannst. Hierfür fügst du einfach weitere Punkte unter dem Punkt `aliases` hinzu.

```yaml
aliases: []
```

### Standard Konfiguration

```yaml
chat:
  prefix: "&7[&fChat&7]&r"
  switchPermission: "bungeesystem.switch.chat"
  # you can read every chat message on every server except for the ingame-chat. This chat is only readable on the server where the player is
  ingameChatName: "ingame"
  chats:
    - "bedwars"
    - "skywars"
    - "gungame"
    - "mlgrush"
  aliases: []
```

## Kommando

### Syntax

```
/chat <chat name>
```


---

# 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-de.herrtechniker.eu/bungeesystem/module/chat.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.
