Skip to content

Coloured String

frosxt edited this page Jul 4, 2023 · 1 revision

ColouredString converts a String containing colour codes to a String with colour. This supports both Hex and Legacy colour codes.

Example Usage

player.sendMessage(new ColouredString("&e&lThis is a coloured string!").toString());

Clone this wiki locally