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
@bocaj1234567
Tell tekkit to fix their crap first ;)
@lishid
You should really fix the OpenInv 1.8.5 cause Tekkit is like more popular than vanilla.
works perfect now,
thanks
@CatsyLady
I copy from my other project ... and forgot to rename the package... :( sorry, released 1.9.3 to fix that.
[Offsite download removed by H31IX. Do not post offsite downloads.]
it says not supported
and what has OpenInv to do with Orebfuscator?
using bukkit 2527, but i will test 2529
edit
same for 2529 (latest)
@CatsyLady
DO NOT USE A DEV VERSION OF CB!
(Here's why: https://github.com/Bukkit/CraftBukkit/commit/8f12382e8efc8c39a919af9180dd884caf3720ff)
i think it need update
for latest bukkit, i have this error
@lishid
CB: 1.4.5-R0.2 openinv: 1.9.0
@arriej
@TanveerGT5
Version of OpenInv and CraftBukkit please. I updated this a while ago for this issue, don't think it should be still present.
can you update this im have same problem as below
Since a short period my openinv stoped working. if you type the command /openinv < player> Its opening it with a flash than closing it again. /openinv only works once after that no more. Weirest part, No errors or anything.
@bocaj1234567
there has been enough changes... Tekkit is still on 1.2.5?? wow..
@lishid
I'm sorry I'm running Tekkit... do you think that the later versions of the plugin will work with 1.2.5R4.1... in other words, have their been Bukkit API changes since then?
@bocaj1234567
First of all, I'm no longer supporting older version of my plugin.... There might have problems already fixed in newer versions. Also, 1.8.5 was marked for CB 1.2.5-R4.0 not R4.1. Try going to RB 4.0 instead.
@lishid Running CraftBukkit 1.2.5R4.1 Openinv 1.8.5 OK lishid there was an other error i copied the whole thing: 11.12 12:12:28 [Server] INFO Caused by: java.lang.NullPointerException 11.12 12:12:28 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 11.12 12:12:28 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 11.12 12:12:28 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) 11.12 12:12:28 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:647) 11.12 12:12:28 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:302) 11.12 12:12:28 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 11.12 12:12:28 [Server] INFO org.bukkit.event.EventException 11.12 12:12:28 [Server] SEVERE Could not pass event PlayerInteractEvent to OpenInv 11.12 12:12:28 [Server] INFO Caused by: java.lang.NullPointerException 11.12 12:12:28 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 11.12 12:12:28 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 11.12 12:12:28 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) 11.12 12:12:28 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:647) 11.12 12:12:28 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:302) 11.12 12:12:28 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 11.12 12:12:28 [Server] INFO org.bukkit.event.EventException 11.12 12:12:28 [Server] SEVERE Could not pass event PlayerInteractEvent to OpenInv 11.12 12:12:28 [Multicraft] Skipped 25 lines due to rate limit (60/s) 11.12 12:12:28 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:647) 11.12 12:12:28 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:302) 11.12 12:12:28 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 11.12 12:12:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 11.12 12:12:28 [Server] INFO org.bukkit.event.EventException 11.12 12:12:28 [Server] SEVERE Could not pass event PlayerInteractEvent to OpenInv 11.12 12:12:27 [Server] INFO Caused by: java.lang.NullPointerException 11.12 12:12:27 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 11.12 12:12:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 11.12 12:12:27 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) 11.12 12:12:27 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:647) 11.12 12:12:27 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:302) 11.12 12:12:27 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 11.12 12:12:27 [Server] INFO org.bukkit.event.EventException 11.12 12:12:27 [Server] SEVERE Could not pass event PlayerInteractEvent to OpenInv 11.12 12:12:27 [Server] INFO Caused by: java.lang.NullPointerException 11.12 12:12:27 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 11.12 12:12:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) 11.12 12:12:27 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) 11.12 12:12:27 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39) 11.12 12:12:27 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:647) 11.12 12:12:27 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:302) 11.12 12:12:27 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 11.12 12:12:27 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 11.12 12:12:27 [Server] INFO org.bukkit.event.EventException 11.12 12:12:27 [Server] SEVERE Could not pass event PlayerInteractEvent to OpenInv
@lishid
both /oi and /openinv
@gabe77b
It only does that if you do "/oi ?"
my plugin was working now when i type /oi player it brings me to the help menu of openinv
@lishid
Hmm the link was removed, but I wasn't going to update anyways since alot of other plugins have been broken too.
@xMinecraft
Can you read the comment i just posted?