OpenInv

Open anyone's inventory as a chest! in real time! Works with offline players! Open EnderChests of any player via command!

Source Code hosted on GitHub

Description

  • Open a player's inventory as a chest and interact with it in real time.
  • Access to the inventory and armor slots.
  • Open any chest that has blocks on top (blocked chests) with AnyChest.
  • Open a chest silently (without chest animation nor sound) with SilentChest.
  • Open any player's EnderChest from a command.
  • Drop item as another player (by putting it in the 5 unused slots in openinv)!

How to install

  • Copy to your plugins folder, and restart/reload your server.

Use

  • Use command "/openinv <player>" to open a player's inventory
  • Use command "/toggleopeninv" to toggle Item openinv:
  • * Hit a player with an item of your choice (STICK by default), and you will open the player's inventory (no damage)
  • * Right click the air with the item opens the last opened inventory (toggle must be ON)[/CODE]
  • Use command "/anychest" to toggle anychest (blocked chest bypass)
  • Use command "/silentchest" to toggle silent chest
  • Use command "/openender <Player>" to open a player's enderchest
  • Use command "/searchinv <Item> [MinimalAmount]" list all players having a certain item in their inventory.
  • To use a sign for quick access (this uses the normal Openinv.openinv permissions, override and exempt applies), You need: "[openinv]" (without quotes) on the 1st line and the player's name on the other lines.

Permissions nodes (CaSe SeNsItIvE)

  • "OpenInv.openinv" gives permission to use OpenInv
  • "OpenInv.openself" Allows opening the inventory of the command user
  • "OpenInv.editinv" - Allows editing of inventory
  • "OpenInv.openender" - Allows opening of EnderChests
  • "OpenInv.openenderall" - Allows opening of EnderChests of everybody. Without this permission, someone can only open his own enderchest.
  • "OpenInv.editender" - Allows editing of enderchest
  • "OpenInv.search" gives permission to use searchinv
  • "OpenInv.crossworld" allows cross-world 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.silent" gives permission to open chests in total silence, without animation.
  • (without quotes)

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 contents as they wish, in real time.
  • Access it anywhere! No distance or obstacle limitations.
  • Permissions support.
  • Use the command without argument opens the last accessed person's inventory.
  • Use sticks or any (configurable) item and toggles for quick access.
  • Search all online players for a certain item in their inventory.
  • Protect players from openinv with exempt permission, and bypass protection with override permission.
  • Use a sign to perform openinv for convenience.
  • Cross-world openinv protection.
  • Offline player openinv supported.
  • Open chests that are blocked because they have a solid block on top. (AnyChest)
  • Silent opening of chest, no sound and opening animation.
  • EnderChests can be opened, even for offline players!
  • Drop item as another player (by putting it in the 5 unused slots in openinv)
  • Self-opening protection.

More info on the forum: http://forums.bukkit.org/threads/15379

Support the developer: Donate!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of TheaffectedSON TheaffectedSON Jan 26, 2015 at 19:03 UTC - 0 likes

    make a permission giving you full access to everything, that way we dont have to copy every perm into our confgs or whatever

  • Avatar of PiEtrov236 PiEtrov236 Jan 20, 2015 at 19:38 UTC - 0 likes

    @Chris_GSPvP: Go

    WorldGuard

  • Avatar of Chris_GSPvP Chris_GSPvP Jan 19, 2015 at 21:08 UTC - 0 likes

    Helped needed please.

    So I've recently updated my whole server to fully 1.8 Spigot. I've also updated worldguard and OpenInv. However I am having an issue now.

    Sometimes when a staff with the perms opens a enderchest he gets this message from Worldguard: http://gyazo.com/4a3d5afa76ef5aed1fe223a1dfab7d10

    Anyone an idea how this is possible? Because for some names it works and some it doesn't and why does Worldguard do anything with it?

    PM me on skype: chris_gspvp

  • Avatar of mayazen555 mayazen555 Jan 19, 2015 at 14:00 UTC - 0 likes

    I can't open offline player inventory when i use 'oi' it's will show

    [20:20:51 INFO]: D3ATHPOOL issued server command: /oi pongz [20:20:51 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'oi' in plugin OpenInv v2.2.8 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [cra ftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:17 5) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe r.java:683) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerCon nection.java:952) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java :814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java :28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat .java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146 ) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craf tbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6 55) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 50) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] Caused by: java.lang.NoSuchMethodError: net.minecraft.util.com.mojang.authlib.Ga meProfile.<init>(Ljava/util/UUID;Ljava/lang/String;)V at com.lishid.openinv.internal.v1_7_R1.PlayerDataManager.loadPlayer(Play erDataManager.java:51) [?:?] at com.lishid.openinv.commands.OpenInvPluginCommand.onCommand(OpenInvPlu ginCommand.java:84) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [cra ftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] ... 13 more

    And Sorry for my bad english

  • Avatar of lishid lishid Jan 12, 2015 at 21:21 UTC - 0 likes

    @ndvenckus1: Go

    I see the problem. I'll perform some more testing on my end and try to patch it up. Thanks for calling it out!

  • Avatar of ndvenckus1 ndvenckus1 Jan 12, 2015 at 21:14 UTC - 0 likes

    I've found some strange behavior with offline players' inventories and enderchests, highlighted in the video below. Sorry for the horrible quality, by the way. I recorded in the wrong resolution and couldn't be bothered to do it all again.

    Last edited Jan 13, 2015 by ndvenckus1

    BFAK:90633262,0f6d501bfff12ce9f42e1ebf93fbf965c48cd79b9f93cd383957dd50fd8fef33

  • Avatar of PhanaticD PhanaticD Jan 12, 2015 at 07:12 UTC - 0 likes

    server freezes when trying to open inventory of a player not online with an incomplete name

    http://192.99.19.213/list.gif

  • Avatar of PiEtrov236 PiEtrov236 Jan 08, 2015 at 12:31 UTC - 0 likes

    @lishid: Go

    SilentChest works perfectly now, but there are still problems with AnyChest (when opening trapped chests). For example: when you setup the following configuration

    STONE STONE STONE STONE

    TRAPP CHEST TRAPP CHEST

    and open the third chest (trapped one), the inventory with the contents of chests #2,3,4 is opened. When a player closes the inventory, these three chests remain opened. Also, trapped chests opened with AnyChest do not close too.

    Last edited Jan 08, 2015 by PiEtrov236
  • Avatar of lishid lishid Jan 05, 2015 at 18:01 UTC - 0 likes

    @OriginalMadman: Go

    @thegotak: Go

    Could you guys help me out with some more details?

    - Any console outputs during the freeze? - Anything after the freeze? - Does it happen consistently (i.e. it would freeze every time on the same situation) - Does it happen for all players (online/offline)?

    Thanks!

  • Avatar of lishid lishid Jan 05, 2015 at 17:57 UTC - 0 likes

    Fixed the silentchest issue on 2.2.8!

Facts

Date created
Aug 27, 2011
Categories
Last update
Jan 05, 2015
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
OpenInv
Downloads
2,071,644
Recent files

Authors