name: Workflows
author: DonEagle
version: 1.0.4-beta
description: Automate annoying tasks and run them automatically or with one command!

main: ch.wingi.Workflows
database: false
api-version: 1.13

softdepend: [Vault]

commands:
  wf:
    description: Main command for workflows.
    usage: /wf [run|list|reload|cancel] <name of workflow>
    permission: workflows.command
    permission-message: You don't have <permission>

permissions:
  workflows.*:
    description: Gives access to all workflow commands
    children:
      workflows.command: true
      workflows.command.run: true
      workflows.command.reload: true
      workflows.command.list: true
      workflows.command.cancel: true
  workflows.command:
      description: Allows you to run the /wf command
      default: op
  workflows.command.run:
    description: Allows you to run workflows
    default: op
    children:
      workflows.command.list: true
  workflows.command.list:
    description: Allows you to list all workflows
    default: op
  workflows.command.reload:
    description: Allows you to reload the Workflows plugin
    default: op
  workflows.command.cancel:
    description: Allows you to cancel a running workflow
    default: op