#Marker (ProtocolLib 5.0.0 Spigot 1.19.3)

1 messages · Page 1 of 1 (latest)

graceful knoll
#

Hey, I'm trying to use maker from minecraft to display it for a specific player, but I can't figure how the color system work

#

I saw something like ChatColor.RED.hashcode() but it wasn’t giving the color red at all

bold isle
#

I believe that's just RGB

#

Not hashcode

graceful knoll
bold isle
#

You can use hex values like so:
0xFFFFFF

graceful knoll
#

I’ll try in 10min, i gotta go for 10min, I’ll tell you if it worked

bold isle
#

alr so wiki vg says it's ARGB

#

You can use the provided code to get the color you want

graceful knoll
#

I tried but it doesn't work

bold isle
#

What happens when you try it? And show your new code

graceful knoll
#

Oh wait, don't tell me it's because i put alphaChannel to 0, I just remember what aplha meant sorry I'm not english

#

let me try with alpha on

bold isle
#

Alpha 0 means it has 0 opacity which is invisible

graceful knoll
#

Yeah I just remembered, so I tried with Alpha 100 but it appear green

bold isle
#

What color did you expect?

graceful knoll
#

blue

bold isle
#

Try removing the green

#

Also as wiki vg mentions the client won't show the exact rgb color

graceful knoll
#

So I put this

#

and it's showing me black 🥲

#

and with this I get green xD

graceful knoll
#

Yo, I still don't find 🥲

bold isle
#

Might be worth looking at the source code from the client

graceful knoll
#

It’s easy, basic 1.19.3 minecraft

#

No mod, no anything