name: Backpacks
author: iRice
description: Extra storage!!
main: io.github.backpacks.Backpacks
version: 1.1.1
depend: [Vault]

commands:
  backpacks:
    description: Main Backpacks command.
    aliases: [bp]
    default: true

  bpmodify:
    description: Add (or remove) players from an backpack.
    default: true

permissions:
  backpacks.basics:
    description: Basic permissions for Backpacks
    default: true
    children:
      backpacks.create: true
      backpacks.create.size: true
      backpacks.open: true
      backpacks.toggle: true
      backpacks.rank: true
      backpacks.delete: true
      backpacks.list: true
      backpacks.list.all: true
      backpacks.info: true
      backpacks.set.password: true
      backpacks.set.name: true
      backpacks.upgrade: true

  backpacks.create:
    description: Create a backpack to share.
    default: true

  backpacks.create.size:
    description: Specifiy a backpack's size
    default: false

  backpacks.open:
    description: Open your backpacks.
    default: true;

  backpacks.toggle:
    description: Add and remove player from an backpack.
    default: true

  backpacks.rank:
      description: Add and remove a rank to a player from an backpack.
      default: true

  backpacks.delete:
    description: Delete a shared backpack.
    default: true

  backpacks.set.password:
    description: Set a backpacks password.
    default: true

  backpacks.set.private:
    description: Make a backpack private.
    default: true

  backpacks.set.name:
    description: Change a backpack's name
    default: true

  backpacks.list:
    description: List all backpacks you belong to
    default: true

  backpacks.list.all:
    description: List all of the existing backpacks.
    default: true

  backpacks.info:
    description: Show your backpack information.
    default: true

  backpacks.upgrade:
    description: Upgrade your backpack!
    default: true

  backpacks.admin:
    description: Admin permissions
    default: op
    children:
      backpacks.info.others: true
      backpacks.delete.others: true
      backpacks.open.others: true
      backpacks.edit.others: true
      backpacks.notifications.send: true
      backpacks.notifications.receive: true
      backpacks.set.password.others: true
      backpacks.set.private.others: true
      backpacks.set.name.others: true

  backpacks.info.others:
    description: View other player's backpack information.
    default: op

  backpacks.set.password.others:
    description: Set another backpack's password.
    default: op

  backpacks.set.private.others:
    description: Make another backpack private.
    default: op

  backpacks.set.name.others:
    description: Change another backpack's name.
    default: op

  backpacks.delete.others:
    description: Delete other inventories.
    default: op

  backpacks.open.others:
    description: Open inventories you are not apart of.
    default: op

  backpacks.edit.others:
    description: Edit other player backpacks
    default: op

  backpacks.notifications.send:
    description: When opening another player's backpack, notify staff.
    default: op

  backpacks.notifications.receive:
    description: When another player opens an backpack that they do not belong to, you receive a notification.
    default: op

  backpacks.reload:
    description: Reload all configuration files.
    default: op

