Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Changelog
This is a major release due to a breaking change, which is the removal of the deprecated conditions
option, meaning that from now on only the condition
option will be usable.
This update also brings an important bug fix just recently (like a few hours ago) found, a brand new addon to use and some improvements on error reporting for expressions.
Breaking changes
The conditions
option has been removed from server list profile files. This means any profile that still uses it won't work as expected anymore. Please make sure to switch over to the newer and much more powerful condition
option.
Bug fix
There was an oversight on my end, that caused Placeholders who return numbers to return the wrong value.
As an example, assuming a player with protocol version 756 pings the server and you use the expression ${player protocol} < 756
. The result would be true
. Why? That's because instead of taking the number a placeholder may return, the expression engine used the text-length, meaning that the expression turned into 3 < 756
.
This issue has been fixed now and placeholders should always return the right number value now when parsed. Text-based placeholder outputs still will use their text length here.
New Addon
The first official addon for AdvancedServerList has been made. It's called ASLBanPluginsAddon
and adds placeholders you can use for different ban plugins to get whether a player is banned, what the reason was, how long they stay banned, etc.
Right now does it only provide placeholders for AdvancedBan, but I'm open to support more plugins. Feel free to suggest some, or even suggest separate addons to make (Or submit your own to add to the documentation.)
Expression warning improvements
The plugin should now (hopefully) give better warnings for when an expression is invalid for some reason.
A possible error output may look like this:
[23:20:50] [Netty Worker IO Thread #2/WARN] [AdvancedServerList]: Encountered 1 issues while parsing expression '${something jadajada} < 758'
[23:20:50] [Netty Worker IO Thread #2/WARN] [AdvancedServerList]: - At Position 21: ... < 758
[23:20:50] [Netty Worker IO Thread #2/WARN] [AdvancedServerList]: Cause: Placeholder '${something jadajada}' does not have an available PlaceholderProvider.
I hope this helps in finding possible issues.
Files
Metadata
Release channel
ReleaseVersion number
4.0.0Loaders
Game versions
1.20–1.20.4Downloads
95Publication date
February 18, 2024 at 10:52 PMPublisher
Andre601
Owner