name: AdvancedBackpack
main: com.darkevan.advancedbackpack.Main.mainClass
version: 1.5
description: Add backpack to each players, it can store any items inside and even can be upgraded
author: DarkEvan

commands:
  backpack:
    description: Open your backpack
    usage: /backpack
    permission: backpack.open
    aliases: [bp]
  backpack upgrade:
    description: Upgrade your backpack
    usage: /backpack upgrade <page>
    permission: backpack.upgrade
    aliases: [bp upgrade]
  backpack clear:
    description: Clear backpack of a player
    usage: /backpack clear <playername> <page>
    permission: backpack.clear
    aliases: [bp clear]
  backpack lock:
    description: Lock backpack of a player
    usage: /backpack lock <playername>
    permission: backpack.lock
    aliases: [bp lock]
  backpack unlock:
    description: Unlock backpack of a player
    usage: /backpack unlock <playername>
    permission: backpack.unlock
    aliases: [bp unlock]
  backpack addpage:
    description: Add a page to backpack of a player
    usage: /backpack addpage <playername>
    aliases: [bp addpage]
  backpack removepage:
    description: Remove a page of backpack of a player
    usage: /backpack removepage <playername>
    aliases: [bp removepage]
  backpack buypage:
    description: Buy a page for your backpack
    usage: /backpack buypage
    aliases: [bp buypage]
  backpack reload:
    description: Reload backpack plugin
    usage: /backpack reload
    permission: backpack.reload
    aliases: [bp reload]

permissions:
  backpack.*:
    description: Gives access to all backpack commands
    children:
      backpack.open: true
      backpack.upgrade: true
      backpack.clear: true
      backpack.lock: true
      backpack.unlock: true
      backpack.addpage: true
      backpack.removepage: true
      backpack.buypage: true
      backpack.reload: true
  backpack.open:
    description: Allows you to open a backpack
    default: false
  backpack.upgrade:
    description: Allows you to upgrade a backpack
    default: false
  backpack.clear:
    description: Allows you to clear a backpack
    default: false
  backpack.lock:
    description: Allows you to lock a backpack
    default: false
  backpack.unlock:
    description: Allows you to unlock a backpack
    default: false
  backpack.addpage:
    description: Allows you to add a page to a backpack
    default: false
  backpack.removepage:
    description: Allows you to remove a page of a backpack
    default: false
  backpack.buypage:
    description: Allows you to buy a page for a backpack
    default: false
  backpack.reload:
    description: Allows you to reload backpack plugin
    default: false