name: TimeVote
version: 1.1-SNAPSHOT
main: tk.tropicaldan.timevote.TimeVote
api-version: 1.13
prefix: TV
authors: [ TropicalShadow ]
commands:
  timevote:
    permission: "timevote.vote"
    description: "Start day / night vote and contribute to current votes"
    usage: "/<command> [yes|no]"
    aliases: [tv]

permissions:
  timevote.*:
    description: "Grants all permissions"
    children:
      - timevote.vote
      - timevote.startvote
      - timevote.reload
    default: op
  timevote.reload:
    description: "Allows player to reload the config into the plugin"
    default: op
  timevote.startvote:
    description: "Allows player to initialize a vote"
    default: true
  timevote.vote:
    description: "Allows player to run the vote command"
    default: true