name: XLang
author: olijeffers0n
main: com.oli.xlang.XLang
api-version: 1.16
version: 1.2.2
libraries:
  - com.github.pemistahl:lingua:1.1.0
softdepend:
  - Essentials
commands:
  xlang:
    description: Main command for XLang
    usage: /<command><args>
    aliases:
      - xl
  setlanguage:
    description: Sets the players preferred locale
    usage: /<command>
    aliases:
      - setlang
      - lang
permissions:
  XLang.*:
    description: Gives access to all XLang Commands
    children:
      XLang.getUsedCharacters: true
      XLang.setlanguage : true
      XLang.setmode : true
      XLang.reload: true
    default: op
  XLang.setlanguage:
    description: Allows you to set the language of the server
    default: op
  Xlang.setmode:
    description: Allows you to set the translation mode
    default: op
  XLang.getUsedCharacters:
    description: Allows you to see the number of translated characters
    default: op
  XLang.reload:
    description: Allows you to reload the plugin config
    default: op
  XLang.setPersonalLanguage:
    description: Allows the player to run /setLanguage
    default: true