Skip to content

MaxPlayers

The maxPlayers option contains additional options to enable and set the max players feature.
The max players feature modifies the displayed max players count by setting the configured amount to it.

Important

Using this option will affect the output of the ${server playersMax} option, except when used within the condition option.
This option is also ignored should the hidePlayers or extraPlayers option be enabled.

Enabled

Sets the enabled state of this option.

Amount

Sets the amount that should be displayed as the max players count!
Placeholders that resolve into numbers can be used.

Example

priority: 0

motd:
  - '<grey>'
  - '<grey>'

playerCount:
  maxPlayers:
    enabled: true
    amount: -1

maxplayers-example