name: OpenInv
main: com.lishid.openinv.OpenInv
version: 4.0.8
author: lishid
authors: [Jikoo, ShadowRanger]
description: >
             This plugin allows you to open a player's inventory as a chest and interact with it in real time.
api-version: "1.13"

permissions:
  OpenInv.any.default:
    description: Permission for AnyContainer to default on prior to toggling.
    default: false
  OpenInv.silent.default:
    description: Permission for SilentContainer to default on prior to toggling.
    default: false
  OpenInv.*:
    description: Permission for all OpenInv features.
    default: op
    children:
      OpenInv.openinv: true
      OpenInv.openender: true
      OpenInv.search: true
      OpenInv.silent: true
      OpenInv.anychest: true
      OpenInv.searchenchant: true

commands:
  openinv:
    aliases: [oi, inv, open]
    description: Open a player's inventory
    permission: OpenInv.openinv
    usage: |-
           /<command> [Player] - Open a player's inventory
  openender:
    aliases: [oe]
    description: Opens the enderchest of a player
    permission: OpenInv.openender
    usage: |-
           /<command> [Player] - Open a player's enderchest
  searchinv:
    aliases: [si]
    description: Search and list players having a specific item
    permission: OpenInv.search
    usage: |-
           /<command> <Item> [MinAmount] - Item is the ID or the Bukkit Material, MinAmount is the minimum amount required
  searchender:
    aliases: [se]
    permission: OpenInv.search
    description: Searches and lists players having a specific item in their ender chest
    usage: |-
           /<command> <item> [MinAmount] - Item is the ID or the Bukkit Material, MinAmount is the minimum amount required
  silentcontainer:
    aliases: [sc, silent, silentchest]
    description: Toggle SilentContainer function, which stops sounds and animations when using containers.
    permission: OpenInv.silent
    usage: |-
           /<command> [Check] - Check or toggle silent chest
  anycontainer:
    aliases: [ac, anychest]
    description: Toggle AnyContainer function, which allows opening of blocked containers.
    permission: OpenInv.anychest
    usage: |-
           /<command> [Check] - Checks or toggle anychest
  searchenchant:
    aliases: [searchenchants]
    description: Search and list players with a specific enchantment.
    permission: OpenInv.searchenchant
    usage: |-
           /<command> <[enchantment] [MinLevel]> - Enchantment is the enchantment type, MinLevel is the minimum level. One is optional
