A highly customizable plugin to create custom Server Lists with MOTD, Favicon, Playercount and more.
5.2.0
Andre_601 released AdvancedServerList version 5.2.0 on Yesterday 1:51 PM
Bit of an early christmas present for you all.
This update provides a feature some of you have been waiting for: Center support for motd
!
It also has some notable changes making it incompatible with older Paper servers.
MOTD Centering
The feature is relatively simple. Start a line with <center>
and the plugin will try to center it as good as possible using spaces.
Example:
priority: 0
motd:
- '<center><grey>This is <bold>centered</bold> Text!'
- '<aqua>And I am not!'
Result:
The text is processed before centering, meaning that placeholders will be parsed first to get the actual text-width before centering.
Important: Centering text uses specific hardcoded values and only supports a specific set of fonts. Namely:
- Max width of MOTD is set to 270.
- Spaces are set to a value of 4.
- Supported fonts are
minecraft:default
,minecraft:alt
andminecraft:uniform
Because of these factors can the centering look not quite right on specific UI scales or with specific custom fonts used by the client. Nothing I can change on my end.
plugin.yml removal
I decided to remove the plugin.yml
file from the Paper version of the Plugin.
This means that if you were using the plugin on a version that doesn't support the paper-plugin.yml
file, meaning only using the plugin.yml
, this update won't work for you anymore.
The paper-plugin.yml
was introduced (And subsequently supported by AdvancedServerList) in 1.19 builds of Paper, tho notable breaking changes regarding dependencies were introduced in later 1.19.4 builds of Paper.
To be on the safe side here will releases on Modrinth and Hangar now only list 1.20+ versions as supported.
Information
Published on | December 20, 2024 |
---|---|
Downloads | 7 |