Package at.hugob.plugin.library.config
Class MiniMsgLegacyHybridSerializer
java.lang.Object
at.hugob.plugin.library.config.MiniMsgLegacyHybridSerializer
A Hybrid serializer that substitutes all legacy tags with MiniMessage Tags and then deserializes via MiniMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.kyori.adventure.text.minimessage.MiniMessageThe instance of this class -
Method Summary
Modifier and TypeMethodDescriptionstatic StringparseLegacy(String input) Parses legacy & tags to minimessage <> tags
-
Field Details
-
INSTANCE
public static final net.kyori.adventure.text.minimessage.MiniMessage INSTANCEThe instance of this class
-
-
Method Details
-
parseLegacy
Parses legacy & tags to minimessage <> tags- Parameters:
input- The string to parse- Returns:
- the string without & tags
-