JSONMessage icon indicating copy to clipboard operation
JSONMessage copied to clipboard

Centered JSON Messages

Open darbyjack opened this issue 6 years ago • 3 comments

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.

darbyjack avatar Jan 22 '19 13:01 darbyjack

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/

foxfirecodes avatar Jan 22 '19 13:01 foxfirecodes

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

foxfirecodes avatar Apr 20 '19 02:04 foxfirecodes

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)

foxfirecodes avatar Jul 14 '20 16:07 foxfirecodes