For whatever reason, the shulker box EnumDirection isn't being retrieved properly, so AnyChest will only trigger on shulker boxes that would not be able to open if placed downwards (opening upwards). Silentchest and anychest will work, though. Suppressed a few deprecation warnings that don't make sense to keep. If you do use my fork of OpenInv's API, it's not yet stable (specifically, IAnySilentContainer), and will change a little more as I polish things up.
40 lines
1.5 KiB
YAML
40 lines
1.5 KiB
YAML
name: OpenInv
|
|
main: com.lishid.openinv.OpenInv
|
|
version: ${project.version}
|
|
author: lishid
|
|
authors: [Jikoo]
|
|
description: >
|
|
This plugin allows you to open a player's inventory as a chest and interact with it in real time.
|
|
commands:
|
|
openinv:
|
|
aliases: [oi, inv, open]
|
|
description: Open a player's inventory
|
|
permission: OpenInv.*;OpenInv.openinv
|
|
usage: |-
|
|
/<command> - Open last person's inventory
|
|
/<command> <Player> - Open a player's inventory
|
|
openender:
|
|
aliases: [oe]
|
|
description: Opens the enderchest of a player
|
|
permission: OpenInv.*;OpenInv.openender
|
|
usage: |-
|
|
/<command> <Player> - Opens a player's enderchest
|
|
searchinv:
|
|
aliases: [si]
|
|
description: Search and list players having a specific item
|
|
permission: OpenInv.*;OpenInv.search
|
|
usage: |-
|
|
/<command> <Item> [MinAmount] - Item can be the Item ID or the CraftBukkit Item Name, MinAmount is the minimum amount to be considered.
|
|
silentchest:
|
|
aliases: [sc, silent]
|
|
description: Toggle silent chest function, which hides the animation of a chest when opened or closed, and suppresses the sound.
|
|
permission: OpenInv.*;OpenInv.silent
|
|
usage: |-
|
|
/<command> [Check] - Checks whether silent chest is enabled
|
|
anychest:
|
|
aliases: [ac]
|
|
description: Toggle anychest function, which allows opening of blocked chests.
|
|
permission: OpenInv.*;OpenInv.anychest
|
|
usage: |-
|
|
/<command> [Check] - Checks whether anychest is enabled
|