AutoDetectLanguage: The plugin selects the player specific settings-language on first the join.
Added new settings-option 'AutoDetectLanguageOnFirstJoin'. With this option the plugin checks the client-settings-language and sets it to the default-language on the first join. If the language which is used by the user is not supported on this server, it changes it to the default-language which has been set in the 'settings.yml'
Code (YAML):
MyLanguageChat:
Enabled
: true
Settings:
DefaultLanguage
: FR
AutoDetectLanguageOnFirstJoin
: true
You can now use the country-code/country-name or country-displayname for the commands. Here is an example:
/Language Germany
/Language DE
These commands changes the language to germany.