/BetonLangAPI

Translations API for Bukkit plugins.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

BetonLangAPI

BetonLangAPI is a Bukkit plugin which manages translations for each player separately. Other plugins can define multiple translations of the messages they display to players and BetonLangAPI will serve them an appropriate one when asked for. It can also store players' chosen languages in the MySQL database.

BetonLangAPI doesn't come with any fancy features like replacing color codes, inserting variables, chat channels or automatic loading of messages (though it can load messages.yml file if you tell it to do that). You can register your own method of loading translations to BetonLangAPI's map-based format and write your own wrapper function which will insert variables and color codes into messages as you like.

This project was created because existing ones, LanguageAPI and MultiLanguage were cluttered with non-configurable features and lacked one important thing: MySQL support.

Check out the Releases for downloads and Wiki for documentation.