kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

JSON Formatting for Join + Leave Messages #2212

Closed Ash10744 closed 3 years ago

Ash10744 commented 3 years ago

Overall I'd like the hover_events to be possible in leave and join messages and even the click events. It'll improve customization

(If this is already a thing I am sorry lmao)

  1. This would increase the customization of leave and join messages and expand on an already great feature.

  2. My server wouldn't personally be affected much. But I use the leave and join messages as a feature within my donation packages and it'd only enhance them more.

  3. Not suggesting anything new just an improvement on an already great feature (Which may already be a thing and I'm being stupid)

Help3rL commented 3 years ago

You can add them JSON wiki I tried making simple one and it worked in messages.yml line 121 I wrote in Message: '[JSON] {"text":"{player} joined?","bold":true,"color":"dark_blue","hoverEvent":{"action":"show_text","contents":{"text":"Simple text","color":"dark_red"}}}'

kangarko commented 3 years ago

Thanks, as Help3rL said, you can use JSON for ChatControl Pro

Or use https://github.com/kangarko/ChatControl-Red where you can use any format in player-related messages that can have these events nativelly.