java.lang.Object
io.github.miniplaceholders.api.utils.LegacyUtils

public final class LegacyUtils extends Object
Legacy utils
  • Field Details

    • LEGACY_HEX_SERIALIZER

      public static final net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer LEGACY_HEX_SERIALIZER
      Legacy serializer with hex support

      Use this as the last available alternative, it is recommended to use MiniMessage instead of this serializer

  • Method Details

    • parsePossibleLegacy

      @NotNull public static @NotNull Component parsePossibleLegacy(@Nullable @Nullable String string)
      Parse a string with possible legacy symbols
      Parameters:
      string - the string
      Returns:
      a parsed string
      Since:
      1.0.0