JsonMessage API icon

JsonMessage API -----

A single class API enabling full control over json messages to be sent in chat



The prodigal son returns
Anyone who's ever worked with Json Messages in Minecraft will know that a long time ago, Mojang's good work broke Json chat message colors when the client splits the message into a new line on their screen for longer messages.
It's about time I made an update to JsonMessage that removes chat color codes from the raw text, and utilizes the "color" attribute as Mojang wants.
However, fear not. The methods for creating colorized Json chat messages has not changed. Input the chat messages as you would for any normal messages and JsonMessage will take care of the rest for you! No more broken colors, ever!

Unfortunately 1.12 removed achievements. They're being fazed out by Mojang in favor of "Advancements". I'll add support for these again once Mojang figures out what it is they're doing.

I've also added a static utility command for sending raw json as a message to a player.

Someone did a benchmark with JsonMessage against Fanciful and reported that JsonMessage was more than 100% faster on average, though of course, messages are very diverse, so if anyone would like to assist in the determination of true average speed advantages, feel free. I'd appreciate it.
----------, Jun 1, 2018
Resource Information
Author:
----------
Total Downloads: 1,083
First Release: Dec 27, 2015
Last Update: Jun 1, 2021
Category: ---------------
All-Time Rating:
3 ratings
Find more info at gist.github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings