It is currently January 22nd, 2019, 11:19 pm


All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: [DONE] let client use server colour codes
PostPosted: August 18th, 2012, 12:06 pm 
User avatar

Joined: October 20th, 2011, 9:20 am
Posts: 220
Location: Subnet
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}

Show
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: let client use server colour codes
PostPosted: August 18th, 2012, 5:11 pm 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: let client use server colour codes
PostPosted: August 18th, 2012, 6:34 pm 
User avatar

Joined: October 20th, 2011, 9:20 am
Posts: 220
Location: Subnet
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}

Show
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: let client use server colour codes
PostPosted: August 18th, 2012, 10:20 pm 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
Aaaah, I get it. Sorry. Ok I'll look into it.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: let client use server colour codes
PostPosted: August 20th, 2013, 3:43 am 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
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.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net