LanguageAPI 1.0.0

A api to set player language

  1. DeeChael
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Languages Supported:
    What can this plugin do?
    I have some plugin with player multi language
    Player can set themselves language
    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
    Code (Java):
    import net.DeeChael.LanguageAPI.LAPI;

    Then use
    Code (Text):

    //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
    Code (YAML):
    #this just is language api language of console
    : "en_US"
    #plz put language in this list
    #if no player cannot switch language
    - "en_US"
    - "zh_CN"
    add language into language-list
    then reload the plugin with command "lapi reload"
    use command "lang <language name>" to set your language​