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 this not work with Multiverse? Because I am having troubles getting it to work with it properly. But then again, maybe that is the fault of Multiverse Inventories and not this.
@fjutte
Thank you.
@lishid
confirmed working in craftbukkit-1.2.5-R2.0 stable build
@GamersCorp
Does it not work with latest?
Update for 1.2.5?
very good plugin. My server admins and I use this as an anti-theft tool since we take stolen items right off the thieves if we catch them with it. Also use it to watch them so we know what they take from chests when they do
@DarklightPvP
I'm not sure what could be the cause of Permissions problems. If it was my plugin, then there will be many people reporting such problems.
So I guess the best thing to do would be to contact the dev of PermissionsBukkit.
This has trouble with the dev version of PermissionsBukkit. No permissions are working. Yes, I formatted them correct and yes I know the permssions are case sensitive. Anything I'm doing wrong?
@lishid
Concerning the console / player problems:
I am not sure how to interpret ScottSpittles answer to my post on the NoCheatPlus site, but i suspect the configuration entry 'opbyconsoleonly '.
One might set it to false in the NoCheatPlus configuration:
---------UPDATE: This is "wrong", the setting only prevents ops opping other players with ingame commands.
@CharlesWCrete
You forgot about the other features this plugin has :P
Thanks for the support btw~
I just use Essentials /invsee Beacuse I don't like have plugins that I already have the feature... Still, GREAT PLUGIN!
- Charles
@SLiPCoR
I haven't personally tested NCP, but judging from the code, it doesn't look like the few changes the the latest few versions could do anything like that to this plugin.
Thanks for notifying me.
@Apple_columb
@lishid
working perfectly <3
@Apple_columb
What version of NCP is it? I'm trying to look at their code to determine a fix for this...
@Apple_columb
I'll put up a bypass, but you should tell NoCheatPlus that they're screwing other people's plugins.
If you can, please tell them that whatever they're doing is changing CommandSender into a non-Player type. i.e. (sender instanceof Player) is false.
@lishid
This plugin conficts with latest version of NoCheatPlus, ""You can't use this from the console." Fix it, please.
@lishid
possibly. but ive always had essentials and openinv together..
@deleted_7536780
or maybe another plugin like essentials is doing something weird
@lishid
Thats wierd. its not always been the case. So maby its a conflict? oknly op's can seem to do it.
@deleted_7536780
Here's the only thing that I'm doing for a check.
if command sender is not a Player then tell him "You can't use this from the console."