Towny Classic

Towny Classic

3.2k Downloads

TownyChat hex colors not showing in plugin messages

ShermansWorld opened this issue ยท 5 comments

commented

What steps will reproduce the problem?

  1. Configure Channels.yml and CharConfig.yml to utilize hex colors for channeltag and messagecolour.
  2. Launch Towny with TownyChat.
  3. Bug occurs in plugin messages, player chat messages work as intended.
    townychatMessage
    playerchatMessage

What is the expected output?

Hex colors show in plugin (change channel) messages. See images for context.

Towny version

Towny: 0.99.5.0
TownyChat: 0.107

Server version

git-Purpur-1985 (MC 1.19.4)

Please use Pastebin.com to link the following files

Channels.yml: https://pastebin.com/GukfYYVf
ChatConfig.yml: https://pastebin.com/maRU76hN

commented

See below:

Channels.yml: https://pastebin.com/9ZaPK0kH
ChatConfig.yml: https://pastebin.com/aRzWt4uS

commented

Please put your channel_formats line back to something usable. Remove the format lines from teh channels.yml file. Retest.

commented

Use <#hex>

commented

I have set messagecolour: '<#80bdf9>', used to be 'messagecolour: #80bdf9' and got the follow results. I fixed the plugin message but broke the chat message. No other changes were made.
townychatMessage2

commented

Please include links to your current channels.yml and chatconfig.yml files.