Closed CodeDoctorDE closed 3 years ago
Hey, I'm gonna see what I can do but no ETA for now, wanna focus on other features.
Now that I think of it, unless you are talking about something else I believe translatable chat is already supported. As you can see (message JSON), you can easily replace translatable message path and placeholders:
[22:22:19 INFO]: [MessageEditor] Place: SYSTEM_CHAT
[22:22:19 INFO]: [MessageEditor] Player: jaq0bb
[22:22:19 INFO]: [MessageEditor] Message JSON: '\{"translate":"commands\.gamemode\.success\.self","with":\[\{"translate":"gameMode\.spectator"\}\]\}'
[22:22:19 INFO]: [MessageEditor] Message clear: 'Set own game mode to Spectator Mode'
[22:22:19 INFO]: [MessageEditor] Message ID: 'SCghhTeg'
I'm gonna close this issue for now as I believe it's solved. If you talked about some other translatable chat, feel free to reopen it with more information about the feature.
Can you please add that you can use translatable messages?
See the javadocs:
https://javadoc.io/doc/net.md-5/bungeecord-chat/latest/net/md_5/bungee/api/chat/TranslatableComponent.html
btw: nice idea :)