10-25-2015, 09:58 AM
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.