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
Thank you for the 1.5 update! Love the plugin!
Here's a dev version for 1.5 guys!
Hurry with this! This plugin is so amazing, You rock (10 diamonds to you) ^^
Need to update to 1.5 with this plugin in particular, i'm not too crazy about any of your other plugins but this one ^ 10 diamondz.
@lishid
Thanks bro!
@lukaszfr
Yes, I am working on updating my plugins.
@lishid
Are you going to update this plugin to bukkit 1.5? It do not work now...
nice plugin
@piritacraft
I haven't tried, though it relies on internal implementations of CraftBukkit so it might not work.
This plugin is very good, but I think that is not full compatible with FTB MindCrack.
@Bodyash
You downloaded a bugged Spigot build, download a new one.
@Bodyash
What did Spigot do again........ Let me check.
2013-02-24 11:43:37 [SEVERE] Could not pass event InventoryClickEvent to OpenInv v1.9.7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at net.minecraft.server.v1_4_R1.v1_4_R1.PlayerConnection.a(PlayerConnection.java:1204) at net.minecraft.server.v1_4_R1.v1_4_R1.Packet102WindowClick.handle(SourceFile:31) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:174) at net.minecraft.server.v1_4_R1.v1_4_R1.PlayerConnection.d(PlayerConnection.java:115) at net.minecraft.server.v1_4_R1.v1_4_R1.ServerConnection.b(SourceFile:39) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:66) at net.minecraft.server.v1_4_R1.v1_4_R1.MinecraftServer.r(MinecraftServer.java:590) at net.minecraft.server.v1_4_R1.v1_4_R1.DedicatedServer.r(DedicatedServer.java:228) at net.minecraft.server.v1_4_R1.v1_4_R1.MinecraftServer.q(MinecraftServer.java:486) at net.minecraft.server.v1_4_R1.v1_4_R1.MinecraftServer.run(MinecraftServer.java:420) at net.minecraft.server.v1_4_R1.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_4_R1/inventory/CraftInventory at com.lishid.openinv.internal.v1_4_R1.InventoryAccess.check(InventoryAccess.java:33) at com.lishid.openinv.OpenInvInventoryListener.onInventoryClick(OpenInvInventoryListener.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_4_R1.inventory.CraftInventory at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 21 more
Using Spigot
@midbifroid
Weird...It seems that the server sends a bad container size to the client, not sure why MCPC does that.
@Puremin0rez
Yes, In order to read the offline player data, also in order to make a reference to the raw player inventory so that modifications are updated live on both the player and the openinv admin,
Does this still use NMS? Is there a reason it needs NMS?
recently downloaded this, because I detected an error, and with new version, error still.
Server: Bukkit & Forge (1.4.7 all) source (mcportcentral) Client: Forge
I tried empty mods for client and server, empty plugins etc, all clean and start from zero. Installing plugins 1 for 1, i located this. I know this error probably is not thrown from Bukkit servers.
Strangely the error affects to client, not to server, and therefore I think it will not be easy fix. Is indifferent if client has or not forge, or it is clean, i checked. The error comes from Server Bukkit Forge MCMC + OpenInv Plugin.
The error is specifically thrown when a player try to open a chest.
Here are the reports.
http://pastebin.com/ZRh1J02z
http://pastebin.com/5QUCQvbc
@Rimirezz
You got a problem with your sqlite setup, have fun.
When I tried to use this plugin a huge error showed up, have fun:
http://pastebin.com/gUwfMEVE
I found a small bug: when I try to put items in my armor slots with /openinv [my username] it puts it in but it doesn't save until I reconnect but another player can put anything in my armor slots just fine. any way to fix? I need to do it so I can spawn mobs in my mob arena with certain items on them without having to reconnect each time. thanks.
ok tnx :)
@davide33
Use NoCheatPlus works way beter imo. Also has no problems.