java.lang.Object
tech.guilhermekaua.spigotboot.core.spigot.utils.ColorUtil

public final class ColorUtil extends Object
  • Constructor Details

    • ColorUtil

      public ColorUtil()
  • Method Details

    • colored

      public static String colored(String message)
      Translates & codes and #rrggbb hex for the running server version.
    • colored

      public static String colored(String message, boolean nativeHex)
      Translates & codes and #rrggbb hex, encoding hex for an explicit version capability: the native §x… sequence when nativeHex is true, otherwise downsampled to the nearest legacy colour so it still renders on ≤1.15.
    • colored

      public static String[] colored(String... messages)
    • colored

      public static List<String> colored(List<String> description)
    • getColorByHex

      public static Color getColorByHex(String hex)
    • getBukkitColorByHex

      public static org.bukkit.Color getBukkitColorByHex(String hex)