Last active
May 14, 2020 12:41
-
-
Save Dinnerbone/5631634 to your computer and use it in GitHub Desktop.
New chat system for Minecraft. The server won't translate any text for the client, and there'll be a proper stack based colouring/formatting system, so no more leaking colours, english-only messages, or out of date translations.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color": "yellow", | |
"translate": "multiplayer.player.joined", | |
"using": [ | |
"Dinnerbone" | |
] | |
} | |
{ | |
"color": "gray", | |
"italic": true, | |
"text": [ | |
"[", | |
"Dinnerbone", | |
": ", | |
{ | |
"translate": "commands.give.success", | |
"using": [ | |
"Stone", | |
"1", | |
"1", | |
"Dinnerbone" | |
] | |
}, | |
"]" | |
] | |
} | |
{ | |
"translate": "death.attack.outOfWorld", | |
"using": [ | |
"Dinnerbone" | |
] | |
} | |
{ | |
"translate": "death.attack.explosion.player", | |
"using": [ | |
"Dinnerbone", | |
"Creeper" | |
] | |
} | |
{ | |
"translate": "chat.type.chat", | |
"using": [ | |
"Dinnerbone", | |
"Hello, world!" | |
] | |
} | |
{ | |
"translate": "chat.type.emote", | |
"using": [ | |
"Dinnerbone", | |
"dances" | |
] | |
} | |
{ | |
"color": "red", | |
"translate": "commands.generic.usage", | |
"using": [ | |
{ | |
"translate": "commands.time.usage" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aw man, I did like my "[INFO] Something" in http://GitHub.com/MC-Server
Now the client will make us colour the whole chat yellow, instead of just the [INFO] bit.