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
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
@Mike724
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.
@DarkMinecrafter
This already is part of OpenInv and works.
@jacobems
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..
Any ideas?
i dont get this issue when i DONT use it.
CB 1550
Updated to be compatible with 1.0.0 Also added a fix for inventory not updating after openinv.
@botskonet
+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
Can we please have a permission such as openinv.mod that allows the players to only open inventories of people in the same world as them..
Becuase i (and many others) dont want mods from other peoples worlds messing with players that are not in thier world.
@Joymo
Get 1.4.6
@Sir_Ducksworth
After i complete OfflineOpenInv
I have the permissions nodes put in my Super Permissions config file but openinv still says I don't have permission. Will openinv be able to support Super Permissions in the future?
Took me a frigging hour to find that 1.4.4 from this site, breaks LWC locks.
http://forums.bukkit.org/threads/admn-openinv-1-4-4-open-anyones-inventory-as-a-chest-real-time-1118-1160.15379/
I had the 1.4.4 from there^, and that worked fine. So I obviously didn't suspect this plugin.
Your two 1.4.4 plugins have different filesizes!