rayzr522 / JSONMessage

A modern version of Fanciful
MIT License
30 stars 14 forks source link

Centered JSON Messages #5

Open darbyjack opened 5 years ago

darbyjack commented 5 years ago

Allow JSONMessages to have a feature where you can center the text. It could be a simple .beginCenter() and .endCenter() or do it as you see fit.

rayzr522 commented 5 years ago

Thanks, I love this feature idea. I will have to figure out how I want to implement it but this is definitely something I'd love to do :)

EDIT: Basic idea from here -- https://www.spigotmc.org/threads/free-code-sending-perfectly-centered-chat-message.95872/

rayzr522 commented 5 years ago

f26d1903088b80fbecc76187d5dfd4c76624a43e

I'd like to say this is massive progress, but... well, it's something. Does it center perfectly? No. But does it handle multi-element JSONMessages and at least do something with them? YES :D

Screenshot_20190419_222740

rayzr522 commented 4 years ago

over a year later, i'm adding this to the 1.2.2 milestone because I want to get this 100% working before i release another version. (I realized i already released 1.2.1 & also i think 1.2.0 with this unfinished feature in it, woops)