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
Thanks for the backwards compatibility! We are running forge 1.7, spigot 1.8 and spigot 1.11 and maintaining different versions of this plugin was a pain.
Useful plugin, thanks for update :)
Hi there! I'll be helping out maintain OpenInv for the forseeable future. I've just uploaded a build of the current master branch for those of you in need of 1.11, a big thanks to jjm_223 for making that possible.
In the coming weeks once I wrap up some work on my own fork, I'll be restoring backwards compatibility, but for now, 2.4.0 only supports 1.11.
Edit: 3.0.0 is released! I strongly recommend you update - it includes a mass of bugfixes and improvements, most notably a rare case dupe bug.
same here, doesnt work with 1.11
Having a bit of trouble with this in 1.11 (Spigot), when I try to run any of the commands in the plugin, it just shows text saying how to use each command, almost like a help page.
@Bubbbaaa
Same for me, this is really bad :( But my server support cracked players
Now changed my server over to spigot 1.10.2 and OpenInv 2.3.9 for 1.10 still having the same issue of not being able to open and players inventory when they go off line... Always use to have this feature.
I need to be able to edit an OFFLINE players inventory... Please fix this issue.
FYI: my server is always in "online" mode
are any of these versions compatible with a specifically 1.8 server?
@Layania
Hi,
When playing online and offline, you can keep your same name, but in the core there are other codes registerd. Try to find your own name if you have been playing on a server of your own in off and online mode, the hashcode is quit different. My guess is that OpenInv and other programs look at that registered hashcode.... but i'm no programmer but that is what i should do to counteract offline players...
@ShadowRanger24
Be advised this is a probelem. I have MC 1.9 using openinvent 2.3.7 and have the same issue. cannot access OFFLINE player inventory.
Please fix we NEED offline player attentions. I banned a player right after he knew he was in trouble, he leaves, then I ban. I could not get his inventory cuz he was OFFLINE.
Hello, thanks to your hard work :)
Since 1.9.4 and now in 1.10 i have strange issue (I use paperspigot last release in offline mode)
When player are offline, i try /openinv name and plugin say me 'Player not found!' on some players.
Working well when this player are online. No console log error.
can u make a 1.7.0 mod for openinv
PLZ
@steave101010
Please ensure you are using a version compatible with the version of Minecraft you're running. For example, the latest version (OpenInv 2.3.9) is only compatible with Minecraft 1.10, and will not work on any earlier versions.
I have installed this plugins and gave myself permissions... but when I do /openinv FriendsName it just says: /openinv - Opens last persons inventory. /openinv <player> Opens a players inventory. Please help me!
Hi, I'm testing out the release for 1.9.4 (Spigot) and while I'm able so far to open both chests and ender chests of a player, the searchinv doesn't appear to work right. The response is: Unknown item. /searchinv <item> [minAmount] - Item can be the Item ID or the CraftBukkit Item Name, minAmount is the minimum amount to be considered.
I've tried both itemid and item name with no luck. The list I'm using is posted here: http://www.minecraftinfo.com/idlist.htm I also hover-over the item in the inventory and get the itemname / id from it and have tried with no luck. Is there a disconnect in what items can be searched for or mismatch between servers?
You can already get the next version by incrementing the number in the download URL: http://dev.bukkit.org/bukkit-plugins/openinv/files/71
Enjoy!
@spazmonkey777
I've just uploaded an update for OpenInv which should be available on this page within the next few hours.
Spigot has released their version of Minecraft v1.10 and it seems OpenInv has broke once again. Here is the startup error: http://pastebin.com/BzLjcnyW
Thanks!
Please add change log for inventory and chest when players use command oi and oe
@JohOply
http://dev.bukkit.org/bukkit-plugins/openinv/files/66-open-inv-2-3-4/
Or use OpenInv 2.3.0 if you need support for 1.8.0.