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
This seems to be bugged? I putted items in one of my players inv by using; /open (name) And he doesn't has them... So i reconnected but still nothing. So I took items from his inv again using /open (name) and just dropped them at his feet....
It doesn't support Anti-Cheat...... It is a lot of error when i use /open
I hope can set enable or disable some commands
@MattyLuggs
Weird...
Here's my code, it's supposed to work for any enderchest access...
if (inv instanceof SpecialEnderChest) { if (!player.hasPermission(Permissions.PERM_EDITENDER)) { return false; } }
@lishid
Hi,
If I give people the following two permission nodes:
"OpenInv.openender" and "OpenInv.editender"
They can edit there own enderchest, but if they try and open other peoples enderchest it says they don't have permission to people inventories?
(I only want them to be able to open ender chests only not inventories)
@drdeft
Thanks!
Super!!!
Purpose Donation Bukkit Plugin from lishid $5,00 USD Total Amount: $5,00 USD
New version: 1.9.7
Fixed offline inventory not saved when server restarts
Download here until file approved on bukkitdev: https://dl.dropbox.com/u/18947504/OpenInv/HEAD/OpenInv.jar
@ChengZi368
That's not very helpful at all.
@dddeeefff
@drdeft
Looking into it.
DO NOT work in MCPC+ 1.4.7 pls fix that!
@drdeft
Yes, please fix that. All the diamond stuff I took from x-rayers has persisted, causing large damage to the economy
Please fix this: http://dev.bukkit.org/server-mods/openinv/tickets/33-after-server-restart-items-placed-to-offline-players/
New version is out!
OpenInv 1.9.6 is an update to CB1.4.7
Download is here until file is approved on bukkitdev: https://dl.dropbox.com/u/18947504/OpenInv/HEAD/OpenInv.jar
That's a pretty cool new feature! ♥
New version! OpenInv 1.9.5 now has this:
Added new feature: Put item in any of the 5 unused slots and the item will be dropped by the targeted player.
Download here until file is approved on bukkitdev: https://dl.dropbox.com/u/18947504/OpenInv/HEAD/OpenInv.jar
@The_Wizard
Not sure, OpenInv uses calls to CraftBukkit's default Load Player Data, which by default loads player data from the player files. If other plugins work well with that then you shouldn't have much trouble.
How well will OpenInv work with InventorySQL?
@CollinDesigns
@lishid
I'm having the same issue too, for now I've just removed permission to open offline players. I use MultiInv, though.
I edit offline players pretty often and no crashes or auto restarts for me :/ you might need to debug your server as I do (take the plugin you think is causing the problem and the essential ones .e.g Essentials/towny/ect. and do it base like that and does it still restart?)
Well I did /save and force saved but didn't tried /stop since sometimes it auto restarts.