90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

v5.2.0 (bungeecord, waterfall)

Changelog

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: image

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 and minecraft: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.

Files

AdvancedServerList-BungeeCord-5.2.0.jar(3.65 MiB) Primary Download
AdvancedServerList-BanPlugins-Addon-5.2.0.jar(22.24 KiB) Download

Project members

Andre601

Owner

Details

Licensed MIT
Created 2 years ago
Updated 6 days ago