90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

v3.5.1 (spigot, paper, folia)

Changelog

This update brings some signifcant changes to the placeholders provided by AdvancedServerList to use in PlaceholderAPI.
If you use %asl_extra_players_max% read this changelog carefully as it has important news for you.

New placeholders %asl_playercount_maxplayers% and %asl_server_maxplayers%

2 new placeholders have been added, each providing their own kind of functionality.

  • %asl_playercount_maxplayers% will return the value of playerCount -> maxPlayers -> amount. This value can return null, so keep this in mind.
  • %asl_server_playersmax% will return the effective output of ${server playersMax}. This placeholder is meant as a replacement for %asl_extra_players_max%'s old behaviour (Read below for details)

Changes, deprecation and future replacement of %asl_extra_players_max%

This placeholder is planned to be removed in the next release, but for now still exists for you to use. There is however a new placeholder that will take its place, which is %asl_playercount_extraplayers%.

The change was made to keep it consistent with the profile structure itself.

Another important thing to note is, that this placeholder (And its deprecated counterpart) will no longer return <online players> + <extraPlayers amount> but instead just the value of playerCount -> extraPlayers -> amount.
This value can return null so keep that in mind.

To keep using the old behaviour, use %asl_server_playersmax% instead.

Files

AdvancedServerList-Bukkit-3.5.1.jar(177.38 KiB) Primary Download

Project members

Andre601

Owner

Details

Licensed MIT
Created 2 years ago
Updated a month ago