Class ConsoleGenerator
java.lang.Object
me.wiefferink.interactivemessenger.generators.ConsoleGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
ConsoleGenerator
public ConsoleGenerator()
-
-
Method Details
-
generate
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
-