OpenInv
Open anyone's inventory or ender chest and modify it in real time! Works with offline players!
Description
This plugin allows you to open any player's inventory or ender chest and interact with it in real time. You can also do it for offline players! This includes access to the armor slots as well as being able to drop items as if you were the player by moving them into the unused slots to the bottom right. Additionally, you can open any chest that is blocked with blocks above it with AnyContainer and open containers silently (no sound or opening animation) with SilentContainer.
Features
- Read-only permissions for OpenInv and OpenEnder! Just don't give the editinv and editender permissions nodes!
- Administrators can modify any user's inventory or ender chest contents as they wish, in real time.
- Access from anywhere! No distance or obstacle limitations.
- Permissions support.
- Player inventories and ender chests of any player can be opened. Even for offline players!
- Using the openinv or openender command without any arguments opens the last accessed player's inventory/ender chest.
- Search all online players for a certain item in their inventory or ender chest.
- Protect players from openinv with exempt permission, and bypass protection with override permission.
- Cross-world openinv protection.
- Self-opening protection.
- Open containers that are blocked by solid blocks or ocelots with the 'AnyContainer' feature.
- Silent opening of containers with no sound or opening animation.
- Drop items as the other player (by putting it in the unused slots in the bottom right)
Installation
To install OpenInv, simply copy the plugin to your plugins folder and restart/reload your server.
Commands
Command | Aliases | Description |
---|---|---|
/openinv <player> | oi, inv, open | Opens a specified player's inventory. |
/openender <player> | oe | Opens a specified player's ender chest |
/searchinv <item> [minAmount] | si | Lists all players that have a certain item in their inventory. |
/searchender <item> [minAmount] | se | Lists all players that have a certain item in their ender chest. |
/searchenchant <[enchantment] [MinLevel]> | searchenchants | Lists all online players with a specific enchantment. |
/anycontainer | ac, anychest | Toggles AnyContainer mode (blocked container bypass) |
/silentcontainer | sc, silent, silentchest |
Toggles SilentContainer mode (open containers silently) |
Permissions (CaSe SeNsItIvE)
Permission Node | Description |
---|---|
OpenInv.openinv | Gives permission to use OpenInv. |
OpenInv.openself | Allows opening the inventory of the command user. |
OpenInv.editinv | Allows editing of inventories. |
OpenInv.openender | Allows opening of ender chests. |
OpenInv.openenderall | Allows opening of ender chests of everybody. Without this permission, someone can only open his own ender chest. |
OpenInv.editender | Allows editing of ender chests. |
OpenInv.search | Gives permission to use searchinv and searchender command. |
OpenInv.searchenchant | Required to use /searchenchant. |
OpenInv.crossworld | Allows cross-world use of openinv. |
OpenInv.exempt | Makes the player's inventory protected (unable to be opened). |
OpenInv.override | Gives permission to open anyone's inventory, even protected ones. |
OpenInv.anychest | Gives permission to open chests that are blocked by a block on top. |
OpenInv.any.default | Causes AnyContainer to be enabled by default. |
OpenInv.silent | Gives permission to open chests in total silence, without animation. |
OpenInv.silent.default | Causes SilentContainer to be enabled by default. |
Other
Source Code hosted on GitHub
Original Bukkit forum thread: http://forums.bukkit.org/threads/15379
@lishid
oh, i see, you should ask vk. i'm sure he does not mind.
Edit: wait, you guys already have slot support added.
@johnc291992
I was hoping at least the fix for the new slot issues would be backported into the official 1.9 builds.
@lishid
i'm not the dev. but the version posted on the spigot went backwards providing 1.8 support as well.
wouldn't pulling that version into yours break the direction you're taking? It seems that your version now supports only the latest spigot version.
@johnc291992
Any chance you can backport this into https://github.com/lishid/OpenInv ?
@LOOHP
you should try this version:
https://www.spigotmc.org/resources/openinv-1_8_r3-and-1_9_r1.19454/
you can interact with Shield slot.
U can't view the off hand slot in the newest build.
@ShadowRanger24
Thank you for all the hard work! Much appreciated!
How can I access someone's offhand slot? As near as I can tell the offhand slot is not accessible by any means
@ShadowRanger24
thx
@ShadowRanger24
thanks
@ShadowRanger24
Thanks fam
An update for OpenInv has been released! It is now compatible with 1.9. The file is currently pending Bukkit approval and should be downloadable within the next few hours.
@AlexM850
If you want you can try out my fork for now. It has support up to 1.9. (Maintains full backwards compatibility with most of the old CraftBukkit versions)
@ShadowRanger24
That would be awesome.
@ShadowRanger24
Looking forward to the update. :)
Just an update everyone, we've managed to get around to an issue which has caused the delay on an update. I will be doing some final testing tomorrow to make sure it's working 100% and I am aiming on releasing an update afterwards, probably tomorrow.
@triarry
Currently, no. However, I have considering setting it up for OpenInv.
@ShadowRanger24
Great. Is CI enabled for this project?
@ShadowRanger24
Thank you, will be looking forward to the email!
@ShadowRanger24
Thanks for your work on updating!
@maxlehot1234
I've been working on updating it all day. Currently in the progress of testing it thoroughly and making sure it works properly. Should be an update within the next couple of days.