Page 1 of 1

[DONE] let client use server colour codes

Posted: August 18th, 2012, 12:06 pm
by Hellenion
On the server special codes like &H are used to format messages, these should be available for the users with UseColorCodes to promote standardized formatting.

Re: let client use server colour codes

Posted: August 18th, 2012, 5:11 pm
by fragmer
Minecraft clients do not allow ampersands to be typed in. And if you do manage to type them in (e.g. pasting into WoM), the client has a tendency to crash. So no, there's nothing I can do about this.

Re: let client use server colour codes

Posted: August 18th, 2012, 6:34 pm
by Hellenion
Of course, the client equivalent would be %H, like &2 turns into %2. The point is not the ampersands but the non-hex values.

Re: let client use server colour codes

Posted: August 18th, 2012, 10:20 pm
by fragmer
Aaaah, I get it. Sorry. Ok I'll look into it.

Re: let client use server colour codes

Posted: August 20th, 2013, 3:43 am
by fragmer
Done in 0.617 (a while ago). Players with UseColorCode permission can now send messages with color codes directly. Players without UseColorCode permission will simply have color codes stripped.