메소드 | 설명 | |
---|---|---|
clean ( string $string, boolean $removeFormat = true ) : mixed | Cleans the string from Minecraft codes and ANSI Escape Codes | |
toANSI ( $string ) : string | Returns a string with colorized ANSI Escape codes | |
toHTML ( string | array $string ) : string | Returns an HTML-formatted string with colors/markup | |
toJSON ( string | array $string ) : string | Returns an JSON-formatted string with colors/markup | |
tokenize ( string $string ) : array | Splits the string by Format tokens |