Skip to content

aemisigna/Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Translator

Multi language plugin for Minecraft Server 1.8.8

Demostration project.

API Usage

Translated field without Player data

TranslatorAPI.getTranslatedField(Language.ENGLISH, "languageFileField");

Translated field using Player data

TranslatorAPI.getPlayerTranslatedField(Player, Language.ENGLISH, "languageFileField");

Custom placeholder support

For custom placeholder support you must create an custom FieldPlaceholder.java object & implement it using TranslatorAPI.java

final FieldPlaceholder testPlaceholder = new FieldPlaceholder("placeholder", "replacement");

TranslatorAPI.getPlaceholderTranslatedField(Language.ENGLISH, testPlaceholder, "languageFileField");

Author

  • Jeremías Aubriot - Main work - veir1

License

This project is licensed under the MIT License. - LICENSE.md

About

Multi language plugin for Minecraft Server 1.8.8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages