#####################################################
# For more info http://wiki.bukkit.org/Plugin_YAML  #
#####################################################
name: CustomEnchantmentAPI
version: 2.8.3-RELEASE
description: This is a description

author: audioXD

main: adx.audioxd.customenchantmentapi.CustomEnchantmentAPI
database: false
depend: []

commands:
  ceapi:
    description: The main command for CustomEnchantmentAPI
  CustomEnchantmentAPI:
    description: The main command for CustomEnchantmentAPI

permissions:
  adx.custom.enchantmentapi.plugin.*:
    description: Gives acces to all CustomEnchantmentAPI commands
    default: op
    children:
      adx.ceapi.*: true
  adx.ceapi.*:
    description: Gives acces to all CustomEnchantmentAPI commands
    default: false
    children:
      adx.ceapi.use: true
      adx.ceapi.list: true
      adx.ceapi.enchant: true
      adx.ceapi.enchantment: true
      adx.ceapi.unenchant: true
      adx.ceapi.enchantment.*: true
#-----------------------------------------------------
  adx.ceapi.use:
    description: Allows the use of /ceapi
    default: false
  adx.ceapi.list:
    description: Allows the use of /ceapi list
    default: false
    children:
      adx.ceapi.use: true
  adx.ceapi.enchantment:
      description: Allows the use of /ceapi enchantment
      default: false
      children:
        adx.ceapi.use: true
  adx.ceapi.enchant:
    description: Allows the use of /ceapi enchant <ench_id> [lvl]
    default: false
    children:
      adx.ceapi.use: true
  adx.ceapi.unenchant:
    description: Allows the use of /ceapi unenchant <ench_id>
    default: false
    children:
      adx.ceapi.use: true
  adx.ceapi.enchantment.*:
    description: Allows the use of all Enchantments by /ceapi unenchant/enchant <ench_id>
    default: false
    children:
      adx.ceapi.use: true
      adx.ceapi.enchant: true
      adx.ceapi.unenchant: true