ScriptCraft icon indicating copy to clipboard operation
ScriptCraft copied to clipboard

Bukkit color codes using echo or sendMessage missing

Open Flying--Dutchman opened this issue 6 years ago • 1 comments

While creating a script to welcome new players, I've noticed that Bukkit color codes are not working. I tried it with the echo and the player.sendMessage command.

Flying--Dutchman avatar Sep 28 '19 22:09 Flying--Dutchman

As a workaround, you can write: echo(org.bukkit.ChatColor.RED + 'This text is red');

Flying--Dutchman avatar Sep 29 '19 10:09 Flying--Dutchman