# project data for Bukkit in order to register our plugin with all it components
# ${-} are variables from Maven (pom.xml) which will be replaced after the build
name: mcMMOAction
version: 2.3.2
main: com.github.games647.mcmmoaction.mcMMOAction

# meta data for plugin managers
authors: [games647, 'https://github.com/games647/mcMMOAction/graphs/contributors']
description: |
    Displays mcMMO messages in the ActionBar
website: https://dev.bukkit.org/bukkit-plugins/mcmmoaction/
dev-url: https://dev.bukkit.org/bukkit-plugins/mcmmoaction/

# Without Protocollib the plugin does not work at all
depend: [ProtocolLib, mcMMO]

commands:
    mmoaction:
        description: 'Toggle the action bar display or progress feature'
        aliases: [mcmmoaction]
        permission: 'mcmmoaction.command.toggle'

permissions:
    mcmmoaction.*:
        description: Gives access to all mcMMOAction features
        children:
            mcmmoaction.commands.*: true
            mcmmoaction.display: true

    mcmmoaction.commands.*:
        description: Gives access to all mcMMOAction commands
        children:
            mcmmoaction.command.toggle: true

    mcmmoaction.display:
        description: Display the message in the actionbar
        default: true
