Jump to content
Oliver Hope

String color

Recommended Posts

Hey 

is there a way to set the color of a string? Id like to make a leaderboard where your name is a different color

 

Share this post


Link to post
Share on other sites

Hi,

<color=yellow>RICH</color> should work. (also  <color=#00ffffff>, <i>, <b>)
  • Thanks 2

Share this post


Link to post
Share on other sites
On 12/20/2018 at 11:01 AM, Houp said:

Hi,


<color=yellow>RICH</color> should work. (also  <color=#00ffffff>, <i>, <b>)

So i managed to use the first one by putting my text in place of rich but im not sure where to put my text for the second one

also what are the i and b parameters? at least i think those are parameters :S

 

Edited by Oliver Hope_P1

Share this post


Link to post
Share on other sites
4 hours ago, Houp said:

bold, italic

Im not quite sure how to use that or where to put the text that i want to to change the color of.

 

Share this post


Link to post
Share on other sites

Could we get an example using all of these string features?

Also, will this work with everything, including the warning message players get?

Share this post


Link to post
Share on other sites
<b>BOLD</b>

<i>Italic</i>

BOLD

Italic

<color=#00ffffff>YELLOW</color>

YELLOW

 

<color=#00ffffff><b>This is bold and yellow at the same time.</b></color>

This is bold and yellow at the same time.

Part of this sentence <color=#0000ffff>is blue</color>, and part of this sentence <color=#ff0000ff>is red</color>.

Part of this sentence is blue, and part of this sentence is red.

You can get the color code you want from any color picker.  Just choose your color, then select the code at lower right and press CTRL+C to copy it, and paste it into your text.

And just so it's mentioned here, I recall seeing in a different thread that the code "[NL]" will start a new line.

Edited by Indomitus
  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites

Ylands also has the alpha.  For objects, that makes them glow.  For UI and other text, it decides if they are transparent.

Share this post


Link to post
Share on other sites
10 hours ago, Indomitus said:

Ylands also has the alpha.  For objects, that makes them glow.  For UI and other text, it decides if they are transparent.

Good to know... thanks :)

Share this post


Link to post
Share on other sites

I would like to make it 100% clear your color needs to have an alpha value so that you can see it.

In UI alpha = transparency with 0 being completely transparent.

It took me a while to realize my mistake -_-

Edited by Oliver Hope_P1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×