Class RGBTextComponent

java.lang.Object
ml.karmaconfigs.api.common.rgb.RGBTextComponent
All Implemented Interfaces:
Serializable

public final class RGBTextComponent extends Object implements Serializable
RGB text component for bukkit/bungee/velocity
See Also:
Serialized Form
  • Constructor Details

    • RGBTextComponent

      public RGBTextComponent(boolean simple, boolean hex)
      Initialize the RGB text component
      Parameters:
      simple - parse simple rgb
      hex - parse hex rgb
  • Method Details

    • parse

      public String parse(String message)
      Parse the message to rgb
      Parameters:
      message - the message to parse
      Returns:
      the parsed message