main: me.Spoochiee.ChatPoll.Main
name: ChatPoll
version: 2.0
author: Spoochiee
api-version: 1.15
load: STARTUP

commands:
  pollcreate:
    description: Creates a Poll
    aliases: pc
  pollvote:
    description: Allows a player to vote on a poll
    aliases: pv
  pollresults:
    description: Opens the GUI of reuslts from that poll
    aliases: pr
  pollfinish:
    description: Resets the current poll so a new one can be made
    aliases: pf
  chatpoll:
    description: Reloads the config

permissions:
   ChatPoll.*:
     description: Parent permission, gives player access to all commands
     default: op
     children:
       ChatPoll.reload:
         description: Reloads the config.yml
         default: op
       ChatPoll.create:
         description: Create a ChatPoll
         default: op
       ChatPoll.vote:
         description: Allows the player to vote
         default: op
       ChatPoll.results:
         description: Allows the player to see the ResultsGUI of the poll
         default: op
       ChatPoll.finish:
         description: Allows the player to finish the poll so a new one can be started
         default: op