# motd

## config.yml

### permission

Wird benötigt, um dem Server beitreten zu können, wenn dieser in Wartungsarbeit (maintenance) ist.

```yaml
permission: "bungeesystem.maintenance.use"
```

### Aliases

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

```yaml
aliases:
  - "wartung"
```

## motd.yml

### maxPlayers

Stelle hier die maximale Anzahl von Spielern ein, die dem Server beitreten dürfen.

```yaml
maxPlayers: 100
```

### whitelist

Füge hier Spielername hinzu, die während der Wartungsarbeiten trotzdem auf den Server dürfen.

Hier ein Beispiel:

```yaml
whitelist:
  - "Spieler1"
  - "Spieler2"
  - "Spieler3"
```

```yaml
whitelist: []
```

### maintenance

#### enabled

Wenn dieser Wert auf `true` gesetzt ist, geht der BungeeCord Server in Wartungsarbeiten.

```yaml
enabled: false
```

#### motds

Stelle die motd des Servers ein, wenn dieser in Wartungsarbeiten ist.

```yaml
motds:
  firstLine: "&b&o■ &8┃ &b&lBungeeSystem &8&l» &7&ov1.1.0 &8┃ &b&o■"
  secondLine: "                  &4&lMaintenance"
  protocolText: "&8➜ &c&lMaintenance &8┃ &c✘"
```

### motd

Stelle die motd des Servers ein, wenn dieser nicht in Wartungsarbeiten ist.

```yaml
motds:
  firstLine: "&b&o■ &8┃ &b&lBungeeSystem &8&l» &7&ov1.1.0 &8┃ &b&o■"
  secondLine: "      &7Created by &8● &4&lHerrTechniker"
```

### Standard Konfiguration

#### config.yml

```yaml
motd:
  maintenance:
    permission: "bungeesystem.maintenance.use"
    aliases:
      - "wartung"
```

#### motd.yml

```yaml
maxPlayers: 100
whitelist: []
maintenance:
  enabled: false
  motds:
    firstLine: "&b&o■ &8┃ &b&lBungeeSystem &8&l» &7&ov1.1.0 &8┃ &b&o■"
    secondLine: "                  &4&lMaintenance"
    protocolText: "&8➜ &c&lMaintenance &8┃ &c✘"
motds:
  firstLine: "&b&o■ &8┃ &b&lBungeeSystem &8&l» &7&ov1.1.0 &8┃ &b&o■"
  secondLine: "      &7Created by &8● &4&lHerrTechniker"
```

{% file src="/files/cw3qPq6Hdb1gBJFnqVfk" %}

## Kommando

### Syntax

```
/maintenance <on/off>
```


---

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