> For the complete documentation index, see [llms.txt](https://wiki-en.herrtechniker.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki-en.herrtechniker.eu/bungeesystem/module/motd.md).

# motd

## config.yml

### permission

Is required to be able to join the server when it is in maintenance.

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

### Aliases

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

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

## motd.yml

### maxPlayers

Set the maximum number of players allowed to join the server here.

```yaml
maxPlayers: 100
```

### whitelist

Add player names here that are still allowed on the server during maintenance work.\
Here is an example:

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

```yaml
whitelist: []
```

### maintenance

#### enabled

If this value is set to `true`, the BungeeCord server goes into maintenance mode.

```yaml
enabled: false
```

#### motds

Set the motd of the server when it is undergoing maintenance.

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

Set the motd of the server when it is not undergoing maintenance.

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

### Default configuration

#### 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/FqZ9WWfHsdYt7Iz3BUYu" %}

## Command

### Syntax

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