# project informations for Bukkit in order to register our plugin with all it components
# McMMOExtras are variables from Maven (pom.xml) which will be replaced after the build
name: McMMOExtras
version: 5.3.2
main: me.xeroun.mcmmoextras.McMMOExtras

# meta informations for plugin managers
authors: [Xeroun, games647, 'https://github.com/games647/mcMMOExtras/graphs/contributors']
description: |
    A visual exp bar for mcMMO that keeps people entertained and encourages them to want to level up.
website: http://dev.bukkit.org/bukkit-plugins/mcmmoextras
dev-url: http://dev.bukkit.org/bukkit-plugins/mcmmoextras

# depending on them - load after them to make sure they are initialized
# Check if they are available with custom error messages
softdepend: [mcMMO, barAPI, Vault, WGCustomFlags, BossBarAPI]

# Root commands to register automatically to Bukkit
commands:
    expbar:
        description: 'Toggles the expbar'
        permission: mcmmoextras.command.toggle
        aliases: [mcmmoextras, mcme]

# Permission managment
permissions:
    mcmmoextras.*:
        description: 'Gives all access to the plugin'
        children:
            mcmmoextras.expbar: true
            mcmmoextras.command.toggle: true
    mcmmoextras.expbar:
        description: 'Allows players to see the exp bar'
        default: true
    mcmmoextras.command.toggle:
        description: 'Allows players to use the toggle command'
        default: true
