This update is a rather big one, as it adds a new profiles
option to the serve list profile.
Profiles
The Server List profile can now have a profiles
option. This is a list that contains the different Options in a server list profile.
As an example:
profiles:
- motd:
- Line 1
- Line 2
playerCount:
text: Hey!
is the same as...
motd:
- Line 1
- Line 2
playerCount:
text: Hey!
The main differences are...
- You can have multiple entries.
- Whenever an option is not set in a entry, will the global one (The option you usually have in the file) be used as replacement. This allows you to only modify specific parts while keeping others the same.
Breaking changes!
There are unfortunately breaking changes to this release.
The previously introduced motds
option has been removed in favour of this new option. This means that motd
is the default again and no longer deprecated.
I've written a small migration guide for those that used the motds
option to see how they can migrate.
Link: https://github.com/Andre601/AdvancedServerList/wiki/Migrate-from-v1.9.0-to-v1.10.0
You can now add multiple MOTDs to a Server list profile.
To not break compatability with the motd
option is this new feature available as a separate option called motds
that takes priority over motd
if both are present.
Note that the syntax is a little bit different for this option. Instead of each entry being a line is each entry the MOTD, meaning you have to use the |-
option of YAML like this:
motds:
- |-
MOTD 1
One of the MOTDs
- MOTD 2
Another MOTD
This is a smaller release that updates the following dependencies:
adventure-api
from4.11.0
to4.12.0
adventure-text-minimessage
from4.11.0
to4.12.0
adventure-text-serializer-legacy
from4.11.0
to4.12.0
adventure-platform-bukkit
from4.1.2
to4.2.0
Note that the plugin does Support 1.19.3 without any changes needed. At most will you need to update ProtocolLib if you're using the Spigot version (Also, the adventure-platform-bukkit update may be required here for chat).
This update changes the event handling for the ping events used on the servers and proxies. Previously did each platform version have its own handling of the event, resulting in a lot of repeated code. This has now been moved to a central class to be handled by, allowing the amount of duplicate code to be reduced significantly.
You shouldn't notice any real difference. If you do, report it on the issue tracker or in my Discord Server.
This versions add an update checker.
To use it, you have to add check_updates: true
to your config,yml.
When enabled will AdvancedServerList check for a new update at Modrinth every 12 hours. If it finds a new update will it inform you about it. The updates are checked against the plugin's respective platform, meaning that the Spigot version only checks versions for the Spigot platform.
Please report any issues on the issue tracker or in my Discord Server.