kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
43 stars 22 forks source link

Paper 1.20.4 |:| Specific wiki page on color formatting? #2714

Closed CodingWithAnxiety closed 3 weeks ago

CodingWithAnxiety commented 3 weeks ago

Are you using MySQL?

Yes

Are you using BungeeCord/Velocity?

Yes - Velocity

Question

Hi!

I'm interested in finding out how I can use color (gradients, etc...) in formatting and what standard we use? I know CCRed can be formatted with hex, but I can't find any specific guides on how the coloring is handled- any guidance to the correct part of the wiki would be greatly appreciated!

CodingWithAnxiety commented 3 weeks ago
Parts:
  owner-tag:
    Message: '[Owner] '
    Gradient: #fab2ff - #123456

When I run the server with this, however, the gradient section is removed from the config and nothing happens- however, using;

Gradient: RED - BLUE

Works fine. Any advice?

CodingWithAnxiety commented 3 weeks ago

Figured that one out- but what would I do if I want to make something specifically a gradient? Instead of the entire owner tag, what about just the owner part of it?

kangarko commented 3 weeks ago

Put '' around it like this: '#000000 - #000000'. It works on my end:

a