EssentialsX / Essentials

The modern Essentials suite for Spigot and Paper.
https://essentialsx.net
GNU General Public License v3.0
1.9k stars 966 forks source link

Wrong color code format in Essentials messages #5836

Closed leogianfagna closed 1 week ago

leogianfagna commented 2 weeks ago

Type of bug

Other unexpected behaviour

/ess dump all output

don't need

Error log (if applicable)

No response

Bug description

itemsConverted=<\#51ED49>Itens convertidos para blocos\! # works normally
itemSellAir=<\#FF2323>Você tentou vender ar. Segure um item em sua mão para usar esse comando. #doesn't work

Translate key itemSellAir and timeFormat is not working with new format. image

Steps to reproduce

Just test it on messages (new format)

Expected behaviour

Changing to this, will fix it:

- itemsConverted=<\#51ED49>Itens convertidos para blocos\! # works normally
+ itemSellAir=§x§F§F§2§3§2§3Você tentou vender ar. Segure um item em sua mão para usar esse comando.

image

Actual behaviour

A few updates ago, essentialsx changed the color format for messages to a "mini message" way and there are some keys that doens't work with the new model, but they do with legacy color code. I know about: itemSellAir and timeFormat

Additional Information

No response

leogianfagna commented 2 weeks ago

notEnoughMoney another tag that works only with legacy

pop4959 commented 2 weeks ago

Have you tried without the \? This may be escaping the tag.

E.g. itemsConverted=<#51ED49>Itens convertidos para blocos!

dxnnv commented 1 week ago

Have not been able to get minimessage to work on certain lines, even with trying the comment above, currency seems to be another line that only works with legacy.

leogianfagna commented 1 week ago

@pop4959 sorry my delay but I can confirm the message above. since the hex code it's working, it's fine by me but I thought it would be good to have warned you

pop4959 commented 1 week ago

@pop4959 sorry my delay but I can confirm the message above. since the hex code it's working, it's fine by me but I thought it would be good to have warned you

Great to hear. I'll go ahead and close this then.