# Copyright 2015 Antony Riley
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "CreativeItemControl"
version: "1.10-antony"
main: "org.cyberiantiger.minecraft.itemcontrol.Main"
commands:
        cicreload:
                usage: /cicreload
                description: Reload CreativeItemControl configuration.
                permission: creativeitemcontrol.reload
permissions:
        creativeitemcontrol.*:
                description: Bypasses all creativeitemcontrol's checks.
                default: op
                children:
                        creativeitemcontrol.menu.*: true
                        creativeitemcontrol.bypass: true
                        creativeitemcontrol.blacklist.*: true
                        creativeitemcontrol.reload: true
        creativeitemcontrol.reload:
                description: Allows usage of the /cicreload command.
                default: op
        creativeitemcontrol.menu.*:
                description: Gives access to all creative menu tabs.
                default: op
                children:
                    creativeitemcontrol.menu.building: true
                    creativeitemcontrol.menu.decoration: true
                    creativeitemcontrol.menu.redstone: true
                    creativeitemcontrol.menu.transportation: true
                    creativeitemcontrol.menu.miscellaneous: true
                    creativeitemcontrol.menu.foodstuffs: true
                    creativeitemcontrol.menu.tools: true
                    creativeitemcontrol.menu.combat: true
                    creativeitemcontrol.menu.brewing: true
                    creativeitemcontrol.menu.materials: true
        creativeitemcontrol.menu.building:
                description: Gives access to the creative menu building tab.
                default: true
        creativeitemcontrol.menu.decoration:
                description: Gives access to the creative menu decoration tab.
                default: true
        creativeitemcontrol.menu.redstone:
                description: Gives access to the creative menu redstone tab.
                default: true
        creativeitemcontrol.menu.transportation:
                description: Gives access to the creative menu transportation tab.
                default: true
        creativeitemcontrol.menu.miscellaneous:
                description: Gives access to the creative menu miscellaneous tab.
                default: true
        creativeitemcontrol.menu.foodstuffs:
                description: Gives access to the creative menu foodstuffs tab.
                default: true
        creativeitemcontrol.menu.tools:
                description: Gives access to the creative menu tools tab.
                default: true
        creativeitemcontrol.menu.combat:
                description: Gives access to the creative menu combat tab.
                default: true
        creativeitemcontrol.menu.brewing:
                description: Gives access to the creative menu brewing tab.
                default: true
        creativeitemcontrol.menu.materials:
                description: Gives access to the creative menu materials tab.
                default: true
        creativeitemcontrol.bypass:
                description: Grant access to items not in creative menus and items in blacklists.
                children:
                        creativeitemcontrol.blacklist.*: true
                default: op
# Following permission is registered dynamically in onEnable because bukkit's 
# permission system is steaming pile of poo.
#
#        creativeitemcontrol.blacklist.*:
#                description: Permission to use items in all blacklists.
#                default: op