So I have been trying to get the send raw chat messages to work and I have had no luck since everything I have used, wont work. Originally I didn't want to use a library but it seems I might have to try it since I have tried everything else.
I found a library called Fanciful that seems to have everything and it requires you importing it using Maven. I have looked around on how to import library using Maven but I haven't been able to do it. Any help with this would be greatly appreciated thanks.
Here's the GitHub Link: https://github.com/mkremins/fanciful
You should download and install library to your local repository.
more about how to install custom library into Maven local repository