name: DiscordPlugin
author: llkirkwood9
version: 1.0
main: me.llkirkwood9.DiscordPlugin.DiscordPlugin
description: An easy way to give players the link to your Discord server!

commands:
    discord:
        description: Show the link to the Discord set in the config
    DPprefix:
        description: Change the prefix before the message in /discord
    DPlink:
        description: Change the link that appears in /discord
    DPmessage:
        description: Change the message before the link /discord
    DPhelp:
        description: Shows the help for all commands
permissions:
    DiscordPlugin.prefix:
        description: User can change the prefix
        default: op
    DiscordPlugin.link:
        description: User can change the Discord link
        default: op
    DiscordPlugin.message:
        description: User can change the message before the Discord link
        default: op
    DiscordPlugin.discord:
        description: User can do /discord
        default: true
    DiscordPlugin.help:
        description: User can view the help for all of the commands
        default: op
    DiscordPlugin.*:
        description: Gives user permission to all DiscordPlugin commands
        children:
            DiscordPlugin.prefix: true
            DiscordPlugin.link: true
            DiscordPlugin.message: true
            DiscordPlugin.discord: true
            DiscordPlugin.help: true