Hey, Does anyone know a solution to translate json strings directly into a Text Component? Alternatively, is there a way to send a json string directly to a player? Thanks in advance for the answers!
ComponentSerialiser or maybe with a z... https://github.com/SpigotMC/BungeeC...md_5/bungee/chat/ComponentSerializer.java#L40 TextComponent to json https://github.com/SpigotMC/BungeeC...md_5/bungee/chat/ComponentSerializer.java#L28 json to TextComponent
I'm pretty sure there was a static method TextComponent#fromJson. Not 100% tho. And currently I'm unable to check. Take a look at jd.