The BungeeCord version of AdvancedServerList now uses a library loader to download and apply necessary libraries not present within the proxy itself.
Namely, the plugin will now download the following libraries into /plugins/AdvancedServerList/libs/
on load:
- Adventure-API
- Adventure-text-minimessage (MiniMessage API)
- Adventure-platform-bungeecord (BungeeCord compat API)
- Configurate-yaml (YAML configuration library)
AdvancedServerList will now inform you about new updates being available when you join your server.
To get these notifications, you need to have the new advancedserverlist.updatecheck
permission, or the main advancedserverlist.admin
permission.
It also won't display anything if you disabled update checking.
This is a rather embarassing update for me...
AdvancedServerList has been using the wrong protocol version for the ${player protocol}
placeholder. Instead of actually using the protocol the player uses, it used the protocol the proxy was using.
This could mean that the protocol returned could be different, depending on whether servers were connected to the proxy or not. This should hopefully be fixed now.
Clarification on BungeeCord/Waterfall support
My last post on this was unfortunately not to well written and may have caused confusion, so I take the oportunity to clarify this a bit now:
AdvancedServerList will keep support for BungeeCord, Waterfall and whatever other fork it may support here. However! Should there be any major breaking changes in the future (Which I doubt given BungeeCords conservative aproach on those) will I not try to fix those breaking changes and instead drop support altogether.
This means that for as long as the API doesn't introduce breaking changes, AdvancedServerList will support it.
There was a mistake in the LibertyBans placeholder, which would've resulted in the placeholder not being handled properly. It should be fixed now.
State on BungeeCord/Waterfall support
PaperMC announced the End of Life for Waterfall, meaning it won't receive proper updates and/or support anymore.
Regarding AdvancedServerList's support for it will I say this: BungeeCord and Waterfall remain supported by me, but I may not work on proper updates in the future, should there be breaking changes.
If you can, use Velocity instead, as it offers much better performance and security compared to BungeeCord.
This update adds a new Event called PostServerListSetEvent
to the plugin. Its main purpose is to allow other plugins to know when AdvancedServerList is "done" with updating the Server List.
It also provides a Getter to retrieve the ProfileEntry that was used during the PingEvent. Do note tho that said ProfileEntry is not a representation of the final server list content, but just what has been used during the PingEvent. It can also be null, should the PingEvent handling get cancelled.
New config options have been added to allow you to set what options of a server list profile AdvancedServerList should not modify when the Maintenance plugin is active (Maintenance is enabled).
These are the new options and their default values:
disableDuringMaintenance:
motd: true
favicon: true
hidePlayers: true
playerCountText: true
playerCountHover: true
extraPlayers: true
maxPlayers: true
The config should, as always, be automatically migrated and these new options added. And to be clear: Setting an option to true
disables it while maintenance mode is active.
Thanks to EpicPlayerA10 on Codeberg for the initial Pull request and idea.