This repository has been archived by the owner on Oct 3, 2022. It is now read-only.
Minecraft Chat API #205
Labels
From: user
Created / Reported from user
In: MoltenKT-Paper
Affecting the MoltenKT-Paper / Paper-Server Target
In: MoltenKT-Waterfall
Affecting the MoltenKT-Waterfall / PaperMC Waterfall Target
Relates: v1.0
Relates to the v1.0 Version/Release
State: verified
Verified, checked if true / real
Type: enhancement
New feature or request
Type: ticket
A ticket, to track something
Milestone
It should be possible to easily create texts for the 1.16+ mojang chat format based on the current environment (waterfall or paper).
There should be dsl fuctions for every aspect of the chat api with rgb hex color(static and gradient) support out of the box.
For rgb reference you can take a look at https://github.com/CoasterFreakDE/minecraft-spigot-rgb-chat-support (Feel free to include and/or edit the code for your needs)
Currently the Bungee Chat API supports most of the features but is hard to use ( https://www.spigotmc.org/wiki/the-chat-component-api/ )
To test all vanilla features you can use the following website: https://minecraft.tools/en/tellraw.php
An example dsl text could look like this:
Tasks:
The text was updated successfully, but these errors were encountered: