This update adds a new feature to the server list profile. This also includes changes to the API.
## Note about 1.20.2
I am aware that 1.20.2 is available now. And I'm confident that my plugin works on BungeeCord and Velocity, and also will work on Paper once they publish first updates.
However, Spigot is not supported yet, which is due to the plugin's dependance on ProtocolLib which has yet not received any update for 1.20.2 from what I know.
## New `maxPlayers` option
The server list profile now supports a new section called `maxPlayers`. It is part of the `playerCount` section and behaves similarly to the `extraPlayers` section.
The difference here is, that the number you provide is used as the max player count to display while extraPlayers adds it to the online players and uses that for the max player count.
Note that extraPlayers takes priority over this new option, so if you want to use maxPlayers, you have to disable or remove extraPlayers.
Example configuration:
```yaml
priority: 0
# We use just colour to hide the MOTD
motd:
- '<grey>'
- '<grey>'
playerCount:
maxPlayers:
enabled: true
amount: -1
```
Result:

## API updated
The API has been updated to `v3.1.0`.
It includes support for the above mentioned maxPlayers feature but also a deprecation.
Please read [the v3.1.0 changelog](https://asl.andre601.ch/api/changelog/#v310) for details.
Optional dependencies
Maintenance
Any compatible version
PAPIProxyBridge
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }