Open anyone's inventory or ender chest and modify it in real time! Works with offline players!
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.
- 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)
To install OpenInv, simply copy the plugin to your plugins folder and restart/reload your server.
|/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)
|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.|
Source Code hosted on GitHub
Original Bukkit forum thread: http://forums.bukkit.org/threads/15379
When silently open a chest and try to get something from it it kicks me and shows: Internal server error!
Error log (using latest dev-build of bukkit):
/silentchest opens chests in total silence
-Openinv version 1.6.4
Yes, I found yours after I got my idea, the only issue you had was that you had to be close enough to the player.
Thanks for your code :D
I kinda invented this, I was rolling around in the bukkit API and main code and found this method you're justing a while ago but it's outdated and has the old distance bug. my plugin was called iSee.
Anyway, Great job!
This is pretty sweet to have for real-time use as an admin. Thank you for keeping it up. :)
This is an awesome plugin. keep it up :P
Yeah, compatibility with MultiInv is kinda hard. When you openinv an offline player, it opens whatever is saved on the player's file, not the multiInv files.
This already is part of OpenInv and works.
Yeah but server admins don't usually get file access to the server. This plugin makes it so much easier, editing other inventories on-the-fly, checking for liars and giving someone something with a command.
:3 You can do this with INVedit. i think you have to restart the server for it to apply but...it can be done without this plugin. Just open the players .dat file in the players folder in your world.
Can you add that i can access to a inventory from a player who is offline ?
When I open a player's inventory from a different world, does it show the the player's inventory for the world I am in? I opened a (offline)player's inventory in 2 different worlds and it was the same.
I am using MultiVerse, and MultiInv.
thanks for the update
If you got loading problems, download latest version (currently 1.6.2)
Any news on "Could not load 'plugins/OpenInv.jar' in folder 'plugins': .. blahblah" error?
After installing the update i get ReadTimedOut After a little while and then server crashes..
i dont get this issue when i DONT use it.
Updated to be compatible with 1.0.0 Also added a fix for inventory not updating after openinv.
+1 i get the same
The latest build of craftbukkit breaks this:
Please please update this plugin! It's one of the essentials for my server :'( Offline player inventories aren't working
I can confirm this works on the latest dev builds of craftbukkit! (1.0.0) :D