This update bumps the API version used for the Paper version to 1.20.6. With that said should the plugin remain backwards compatible (Tested on a 1.20.4 Paper Server).
This update also uses the new BuildInfo class introduced in Paper that will display more useful information at startup, namely, if present will the plugin now print either Platform: Paper (ID: papermc:paper, Version: 1.20.6, Build: 79)
if a build number is known or Platform: Paper (ID: papermc:paper, Version: 1.20.6)
if no build is known.
On older versions will it print out the previous info.
Finally, this version also fixes a small bug where a backup is created of the config.yml on first creation due to it using config-version
instead of the expected configVersion
key.
This update is solely for the BanPlugins Addon, by bringing support for LiteBans alongside some fixes with the Velocity site.
This is the stable release of the previous Beta releases of the plugin, bringing support for migrating from ServerListPlus to AdvancedServerList, fixing an issue on more recent Paper releases and updating PAPIProxyBridge support.
Speaking of, this and future updates will only be compatible with PAPIProxyBridge 1.6.1 and newer. This is due to changes in their API that makes supporting it more complicated, if backwards compat is wanted.
Changes from previous beta releases:
v4.8.0-b1
: Add support to migrate from ServerListPlus to AdvancedServerListv4.8.0-b2
: Updating Adventure dependencies for proper 1.20.5/6 support.v4.8.0-b3
: Fix plugin creating a single, empty profiles entry on migration.v4.8.0-b4
: Fix IllegalArgumentException when using Strings longer than 16 characters for hover.v4.8.0-b5
: Fix a breaking change in latest PAPIProxyBridge update.v4.8.0-b6
: Fix player count text being broken and add workaround for the 16 character limit.
This update fixes a mistake I made, causing the Player count text to display wrong (I removed a method that was still used. Oops).
But more importantly does this add a temporary workaround for paper servers to not have the 16 character limit on the hover, meaning you should now be able again to have text that is longer than 16 characters.
There is a small chance that in the future, Paper will implement something on their end too, so that this "hack" isn't required.
Since BungeeCord and Velocity don't have these checks (yet) did I also remove the limit on their end with no other changes.
And another update due to breaking changes. This time is PAPIProxyBridge the issue.
The plugin introduced a breaking change in its latest update, that hasn't been mentioned at all. The change was that findServers()
- a method to get all servers with PAPIProxyBridge on it - now returns a Set<String>
instead of a List<String>
, which breaks AdvancedServerList's compat with it.
Why this breaking change was made and why it wasn't mentioned in the changelogs is beyond my understanding, but the issue should be fixed, while the plugin keeps compatability with older versions...
Paper introduced a change unannounced where creating a Player Profile with a name that is longer than 16 characters will give an error back.
Given that AdvancedServerList is creating fake Player Profiles for the hover text feature, does this break it unintentionally.
To fix this does the plugin now limit the text size to 16 characters at most.
Keep in mind that the text length is checked after color and formatting codes and placeholders have been parsed, so a text like <gold>Hello ${player name}
would be parsed to §6Hello Andre_601
which counts as 17 characters, so the text used would be §6Hello Andre_60
.
This is nothing I have control over and sadly something you can blame Mojang for, as Paper had to adabt to their changes here...