HEAD NOTE: This plugin works but is currently just a very small project. If it catches reasonable attention I will work to improve it but as of now it is and will remain a small project with fairly basic features.
Purpose: Chat messages are
automatically translated per player. If a message is sent in a language which isn't a player's, the player will be sent a follow-up message containing the translated version which can be read upon hover over.
Requirements:
Java 8 (This means not Java 7)
Features:
Configurable:
Default language
Messages (w/ color code support)
Players Can Set Their Language
Players Can Disable Entirely
Per Player Functionality
NOTE: Keep in mind that if players have a different subcategory of the same language, such as one player using simplified Chinese (zh-CN) and another using traditional Chinese (zh-TW) and a third using Chinese in general (zh), they will ALL receive a follow-up translation message because technically their languages are NOT the same.
Sample: Here, you can see a message sent by the English player which is automatically converted and shown on hover in a follow-up message to the Chinese player.
Here, you can see a message sent by the Chinese player which is automatically converted and shown on hover in a follow-up message to the English player.
Here, you can see a message sent by the Chinese player which is automatically converted and shown on hover in a follow-up message to the Japanese player.
Here, you can see a message sent by the Spanish player which is automatically converted and shown on hover in a follow-up message to the German player.
Here, you can see a message sent by the Dutch player which is automatically converted and shown on hover in a follow-up message to the Russian player.
Commands:
"N/A Permission Node" - /setlanguage (language code) - Set your default language.
Help_Message: "The second argument should be a 'Language Code' from\nhttps://www.alchemysoftware.com/livedocs/ezscript/Topics/Catalyst/Language.htm\nor 'toggle' to toggle translations off. Case sensitive."
#This is the message that gets sent when a player types
#/setlang or /setlanguage
#Use "\n" to start writing on the next line
ToggleOn_Message: "Translate messages has been toggled to: On"
#This is the message that gets sent when a player types
#/setlang toggle to toggle translations on.
ToggleOff_Message: "Translate messages has been toggled to: Off"
#This is the message that gets sent when a player types
#/setlang toggle to toggle translations off.
Error_Message: "That code is not supported"
#This is the message that gets sent when a player tries
#using an unsupported language code
Updated_Message: "Language Updated..."
#This is the message that gets sent when a player updates
#their language
##########################################################
# Version #
##########################################################