# project informations 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: CommandForward
version: 0.4.0
main: com.github.games647.commandforward.bukkit.CommandForwardBukkit

# meta data for plugin managers
authors: [games647, 'https://github.com/games647/CommandForward/graphs/contributors']
description: |
    Forwards commands from Bukkit to BungeeCord to execute it there
website: https://www.spigotmc.org/resources/commandforward.bukkit/
dev-url: https://www.spigotmc.org/resources/commandforward.bukkit/

# This plugin don't have to be transformed for compatibility with Minecraft >= 1.13
api-version: '1.13'

commands:
    forward:
        description: 'Forward a command to the bungee proxy'
        usage: /<command> <player-name or 'console'> <bungee_command> [arg]
        permission: commandforward.bukkit.command.forward
permissions:
    commandforward.bukkit.command.forward.*:
        description: 'Allow to use all features of forward command'
        children:
            commandforward.bukkit.command.forward: true
            commandforward.bukkit.command.forward.console: true
            commandforward.bukkit.command.forward.other: true
    commandforward.bukkit.command.forward:
        description: 'Allow to use base forward command'
    commandforward.bukkit.command.forward.console:
        description: 'Allow to use console in forward command'
    commandforward.bukkit.command.forward.other:
        description: 'Allow to use another player than ourself in forward command'
