Class ConsoleGenerator

java.lang.Object
me.wiefferink.interactivemessenger.generators.ConsoleGenerator

public class ConsoleGenerator extends Object
  • Constructor Details

    • ConsoleGenerator

      public ConsoleGenerator()
  • Method Details

    • generate

      public static String generate(InteractiveMessage message)
      Parses the given message to a String containing control characters for formatting that can be used for console outputs, but also for normal player messages.

      The returned message will only contain colors, bold, italic, underlining and 'magic' characters. Hovers and other advanced tellraw enums will be skipped.

      Parameters:
      message - The parsed InteractiveMessage
      Returns:
      Plain message that can be send