Class MiniMsgLegacyHybridSerializer

java.lang.Object
at.hugob.plugin.library.config.MiniMsgLegacyHybridSerializer

public class MiniMsgLegacyHybridSerializer extends Object
A Hybrid serializer that substitutes all legacy tags with MiniMessage Tags and then deserializes via MiniMessage
  • Field Details

    • INSTANCE

      public static final net.kyori.adventure.text.minimessage.MiniMessage INSTANCE
      The instance of this class
  • Method Details

    • parseLegacy

      public static String parseLegacy(String input)
      Parses legacy & tags to minimessage <> tags
      Parameters:
      input - The string to parse
      Returns:
      the string without & tags