This update fixes an issue, where the FaviconHandler stores local favicons using their non-lowercased file-names, while checking for an all-lowercased filename when getting it.
This means, if you had a file named Example.png
would the FaviconHandler save it as such but always check for example.png
, which results in it failing. This has now been fixed.
A new Placeholder called ${maintenance maintenanceEnabled}
was added to the plugin. It gets registered when the Maintenance Plugin by KennyTV is present on the server/proxy and allows you to return true or false based on if the global maintenance mode is active or not.
Other than that have there mostly been some smaller code improvements to the plugin. You should (hopefully) not notice a difference.
The UpdateChecker has received some improvements to hopefully help in fixing lag and slowdowns in case the Modrinth API is down or struggling.
The HTTPClient used now times out after 5 seconds of no response. In addition is the message players receive on join (if they have permissions) done inside a CompletableFuture's whenComplete(...)
method, meaning the sending of the message is done outside the main thread itself, which should help reducing the load on the main thread.
This update fixes an issue, where the hover did not work when using the plugin on a 1.21 Paper Server. The reason was breaking changes within Paper's code (Which afaik go even back to the latest 1.20.6 builds) that made AdvancedServerList's way of updating the hover no longer functional.
I've implemented a fix for this now. The plugin should also still work on older Server versions, but I want to emphasize that I do not guarantee this and should this old API be removed in the future, will I not implement a hacky backwards aproach but instead simply remove this old code. With that said will I still try to fix smaller issues with this hover, if they are within my skillset to do so.
This update reworks the command handling a bit while also adding a new sub-command called profiles
.
Command overhaul
The command system has been tweaked to add some quality of life changes.
Namely, the help command now contains hover and click actions for the listed commands, to show usage of command, permission required and description respectively, while also putting the sub-command into your chat-bar when clicking it.
Profiles sub-command
A new profiles
sub-command has been added. It allows you an easier creation of new profiles.
There are the following options available:
/asl profiles add <profile>
- Create a new Profile with file name<profile>
/asl profiles copy <profile> <name>
- Make a copy of<profile>
and save it as file<name>
/asl profiles list
- Show all loaded profiles. This list has hover text showing priority, condition and whether the profile is considered valid.
Screenshots
Here are some screenshots showing all the changes.
This update adds MiniMOTD as a supported migration option to the plugin, meaning you can now migrate from MiniMOTD to AdvancedServerList.
It is important to note, that only the main.conf
will be migrated as of right now. The positive side however, is that the MiniMOTD plugin does not need to be present for migration. Only its main.conf
file in the MiniMOTD
(or minimotd-velocity
on Velocity) folder has to be present.
As a final note do I want to mention, that the plugin will download and use the configurate-hocon library when you start your migration. This is similar to the BungeeCord version downloading necessary libraries on startup, but a bit more dynamic.