name: RegionKey
version: 1.1
description: Simple Plugin to create regions that you can only enter with a key.
author: VinceGhi
 
main: me.VinceGhi.RegionKey.Main
database: false

commands:
  regionkey:
    usage: /<command> create <ID> <NAME> or /<command> delete <ID>
    description: Used to create a Region.
    permissions: region.createRegion
    aliases: [regkey, rk]
  key:
    usage: /<command> create <ID> <AMOUNT> <temp/perm>
    description: Used to create a key for a region.
    permission: Region.createKey

permissions:
  region.*:
    description: Gives permissions for all commands.
    children:
      region.createregion: true
      region.createkey: true
      region.deleteregion: true
      region.magickey: true
      region.candestroyandbuild: true
  region.createregion:
    description: Gives permission to create a Region
    default: op
  region.createkey:
    description: Gives permission to create a Key.
    default: op
  region.deleteregion:
    description: Gives permission to delete a region.
    default: op
  region.listregions:
    description: Gives permissions to list all regions.
    default: op
  region.candestroyandbuild:
    description: Gives permission to build and destroy blocks in a region.
    default: op
  region.magickey:
    description: Gives permission to enter all regions without a key.
    default: op
 