JSON formatted text
#1
If I wanted to send a custom formatted JSON text string in the plugin, how would I do that? I'd need more functionality than the cCompositeChat class can handle (I think), like hover text and applying multiple effects to a single string (think a word that is blue, bold, suggests a command, and, on hover, shows the text "Hello World\nThis is FizzBuzz\nPlease say hi to Foo", although preferable with proper JSON formatting, or otherwise formatted and colored). I'd even be willing to construct the packet if it can be done that way, although I'd rather return a string containing the JSON.
Reply
Thanks given by:


Messages In This Thread
JSON formatted text - by Zee1234 - 10-25-2015, 09:58 AM
RE: JSON formatted text - by xoft - 10-26-2015, 03:11 AM



Users browsing this thread: 1 Guest(s)