Line B'
```
{ loading="lazy" }
{ loading="lazy" }
///
## Motd
The `motd` option allows you to alter the "Message of the day" that is being displayed on a server in the multiplayer screen.
Please see the [Formatting](formatting.md) for all supported formatting options.
Multiple, randomly selected, MOTDs can be displayed by using the [`profiles`](#profiles) option.
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
motd:
- 'Rainbow Gradient'
- '|||||||||||||||||||||||||||||||||||||'
```
{ loading="lazy" }
///
## Favicon
The `favicon` option can be used to define an image to display in the server list.
The Value can be one of three possible options, each being checked for in order:
- A URL pointing to an image file. The URL needs to start with `https://` to work.
- A PNG filename, including `.png` file extension, matching a PNG file in the `favicons` folder.
- A player name or UUID, or a [placeholder](placeholders.md) that resolves into one.
Note that for the name/UUID, the site https://mc-heads.net is being used.
Use the URL option with the `${player uuid}` placeholder if you want to use another service.
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
# Hides the MOTD for demonstration purposes
motd:
- ''
- ''
# Placeholder resolves to UUID of Andre_601
favicon: '${player uuid}'
```
{ loading="lazy" }
///
## PlayerCount
The `playerCount` option contains various other options that are used to modify the player count (The text next to the ping icon that shows the online and max players of a server).
### HidePlayers
The `playerCount -> hidePlayers` option takes a boolean (`true` or `false`) to set whether the player count should be hidden or not.
When set to true will the player count be replaced with `???`.
In addition are the [`playerCount -> text`](#text) and [`playerCount -> hover`](#hover) options ignored.
If you want to not show any text at all, set this option to `false` (or remove it) and instead use the [`playerCount -> text`](#text) option.
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
# Hides the MOTD for demonstration purposes
motd:
- ''
- ''
playerCount:
hidePlayers: true
```
{ loading="lazy" }
///
### Hover
The `playerCount -> hover` option allows you to define lines of text to show when a player hovers over the player count with their cursor.
Note that this option only accepts basic colors such as `` or `` and that HEX colors are not supported.
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
# Hides the MOTD for demonstration purposes
motd:
- ''
- ''
playerCount:
hover:
- 'Line 1'
- 'Line 2'
- 'Line 3'
```
{ loading="lazy" }
///
### Text
The `playerCount -> text` option allows you to define a custom text to display instead of the usual `/`.
Please take note of the following caveats:
- The plugin won't automatically add the `/` back to the text you set. Instead you'll have to use `${server playersOnline}/${server playersMax}` to recreate this.
- The override is done by using the "outdated server" text displayed when a client pings a server that is not compatible. This means that the ping icon will appear crossed out and your server will be seen as "outdated" by the client (When hovering over the ping icon). This can't be avoided nor fixed by the plugin.
If you want to not show any text, just use a single color (i.e. `text: ''`) to do so.
This option only supports basic colors and no HEX colors.
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
# Hides the MOTD for demonstration purposes
motd:
- ''
- ''
playerCount:
text: 'Cool text!'
```
{ loading="lazy" }
///
### ExtraPlayers
The `playerCount -> extraPlayers` option contains settings for the "extra players" feature, which adds X to the current online player count and sets it as the server's max player count.
#### Enabled { #extraplayers-enabled }
Enables the extraPlayers feature.
Use the [`playerCount -> extraPlayers -> amount`](#extraplayers-amount) option to set how much to add to the max players count.
#### Amount { #extraplayers-amount }
The `playerCount -> extraPlayers -> amount` option defines how much should be added to the current online player count to then use as max player count.
Example: Setting this option to `1` while currently 10 players are online will result in `10/11` being displayed on the player count (Assuming it is not being overriden by the [`playerCount -> text`](#text) option).
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
# Hides the MOTD for demonstration purposes
motd:
- ''
- ''
playerCount:
extraPlayers:
enabled: true
amount: 1
```
{ loading="lazy" }
///
### MaxPlayers
The `playerCount -> maxPlayers` option is similar in nature to the [`playerCount -> extraPlayers`](#extraplayers) option, with the difference that the number set is being used as the max player count, instead of adding it together with the online player count first.
#### Enabled { #maxplayers-enabled }
Enables the maxPlayers feature.
Use the [`playerCount -> maxPlayers -> amount`](#maxplayers-amount) option to set the max player count itself.
#### Amount { #maxplayers-amount }
The `playerCount -> maxPlayers -> amount` option defines the number to use as the server's max players count.
Unlike the [`playerCount -> extraPlayers -> amount`](#extraplayers-amount) option does this one not first add the current online player count to the number to then set.
/// details | Example
type: example
```yaml title="YAML file"
priority: 0
# Hides the MOTD for demonstration purposes
motd:
- ''
- ''
playerCount:
maxPlayers:
enabled: true
amount: -1
```
{ loading="lazy" }
///