[DONE] let client use server colour codes

Fixed bugs, solved problems, and old reports.
Locked
User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

[DONE] let client use server colour codes

Post 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.
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: let client use server colour codes

Post 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.

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: let client use server colour codes

Post 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.
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: let client use server colour codes

Post by fragmer »

Aaaah, I get it. Sorry. Ok I'll look into it.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: let client use server colour codes

Post 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.

Locked