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
Does it show the hotbar?
New update (OpenInv 2.3.1) has been added to this page and is awaiting moderator approval before anyone can download it.
@Toshka17
I've fixed this issue in the next release which will hopefully be out within the next 24 hours or so.
Didn't work
(player not found)
[13:16:30 ERROR]: [OpenInv] java.lang.IllegalArgumentException: UUID cannot be null [13:16:30 WARN]: java.lang.IllegalArgumentException: UUID cannot be null [13:16:30 WARN]: at org.apache.commons.lang.Validate.notNull(Validate.java:192) [13:16:30 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.getOfflinePlayer(CraftServer.java:1319) [13:16:30 WARN]: at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:758) [13:16:30 WARN]: at com.lishid.openinv.internal.PlayerDataManager.loadPlayer(PlayerDataManager.java:36) [13:16:30 WARN]: at com.lishid.openinv.commands.OpenInvPluginCommand$1.run(OpenInvPluginCommand.java:89) [13:16:30 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [13:16:30 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [13:16:30 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [13:16:30 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [13:16:30 WARN]: at java.lang.Thread.run(Thread.java:745)
@agligorijevic1998
Thanks for letting me know. I will be releasing a new version today with some fixes.
Plugin sends me "Player not found" message for player, but the player is right in from of me. My server is in offline-mode, but there weren't any problems before! Please check that out! Thank you!
Plase, add support Spigot 1.7.9 with latest versions OpenInv.
Thanks for the report f6yhg55h. I'll look into this error today and see what I can do.
Sory. I have an error opening inventory Spigot 1.8.7
Just released an update for the plugin. It is compatible with 1.8.7. http://dev.bukkit.org/media/files/883/28/OpenInv.jar
Does anyone know if /searchinv searches the enderchest or can make it search the enderchests? It appears that it only searches the inventory from my tests
@kwilson7770
Um for some reason the permissions are cached or loading into memory or something. After logging off and logging back on my permissions were updated with this plugin and I could edit enderchests
Not that it seems this plugin is managed anymore, but openender doesn't work for offline or online players. I can view, but I can't edit. I gave myself op, gave myself all permissions using PEX and even gave the explicit permission of OpenInv.editender. It will allow me to see the inventory, but I can't move anything in or out. I am using the complied version from JGSBroadcast (http://dev.bukkit.org/bukkit-plugins/openinv/?comment=952) but I also had this issue from the build on here (1.8.3)
@JGSBroadcast
I see that you managed to compile the old nms references too.
I took a look at the source code and saw that it was updated for 1.8.7 so I put it in eclipse and compiled it. Heres a download if any of you are wanting one. https://drive.google.com/file/d/0B1mkGjaEv4KFY3dpcU1BaTdsZnc/view?usp=sharing
Also heres an antivirus scan I did on the file.
Sadly the only plugin I have not yet updated to 1.8.7 :/
Says "Now compatible with CB 1.8.3." for the last version but when I try using it console gives an error saying plugin is not compatible with 1.8.3 so doesn't load it.
@H8llfire
I fucking love you.
Any updates for 1.8.7??