Sueta
LA

LanguageAPI

outdated

outdated

·Plugin

Outdated
Use EasyAPI instead

LanguageAPI
What can this plugin do?
I have some plugin with player multi language
Player can set themselves language
But
If plugin is more and more
Set their language will be a trouble
So I make this api to set player language
For developer:
add this plugin to your libs
import my main class

import net.DeeChael.LanguageAPI.LAPI;

Then use

LAPI.getPlayerLanguage(Player);

//return String

to check player language
then send language message to player

For server owner:
put this plugin into plugins folder
(if your plugin depend this)
start the server
edit the config.yml

#this just is language api language of console
console-language: "en_US"
#plz put language in this list
#if no player cannot switch language
language-list:
- "en_US"

add language into language-list
then reload the plugin with command "lapi reload"
use command "lang <language name>" to set your language

Similar projects

Plugin →