Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

v3.1.0: Improved placeholders and new Paper-plugin.yml support

Compare
Choose a tag to compare
@Andre601 Andre601 released this 11 Jun 19:48
· 698 commits to master since this release
aad10a1

For Paper users

Paper introduced changes to the paper-plugin.yml file in regards to the Dependencies declaration in more recent 1.19.4+ patches. What this means is, that this version of AdvancedServerList is only compatible with the latest releases of Paper for 1.19.4 and newer!
Trying to use it on any versions before these patches will result in an exception.

I cannot guarantee that the plugin works on any forks such as Purpur or Pufferfish, so make sure to check if they include these patches before using this version of AdvancedServerList.

Server placeholder changes

The Server placeholder now allows you to add an additional argument in the form of a world or server name (Depending on the platform you use it on).
This allows you to display the online players in a world or server, or the host used for a specific server.

Please refer to the wiki for more details.

Config Migrator

The main config.yml has received changes, mainly in terms of its formatting. This means the old config isn't compatible anymore.
Thankfully does the library used by AdvancedServerList offer a migration tool.

This means that it will automatically migrate the config to the new format while preserving existing settings.
However, a backup is still recommended.

Also, the migration will remove any existing comments within the config.yml

There is now a configVersion setting. Do not edit this option! It determines whether the config needs an update or not.

New operators

~= and !~ have been added as operands for the conditions.

  • ~= checks if the left value is equal to the right value, while being case-insensitive.
  • !~ checks if the left value is not equal to the right value, while being case-insensitive.

Updated ASL API

The ASL API has been updated to v3.0.0
Full changelog can be found here