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


  • 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 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
  • "" 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)


  • 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:

Support the developer: Donate!

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

  • Avatar of johandre johandre Apr 17, 2015 at 16:09 UTC - 0 likes

    So eh anyone got an alternative to this plugin? :P

  • Avatar of dddeeefff dddeeefff Apr 14, 2015 at 20:42 UTC - 0 likes

    @vipersonickenneth94: Go

    I think this happens after every update every update, which is to be expected from the way that the plugin hooks into minecraft code directly. @lishid is there any chance that there could be a warning message for this?


    I'd also like to echo the problems reported by other users where using /oi on offline players locks up the server. I too have a large number of player files and this is probably the reason.

  • Avatar of vipersonickenneth94 vipersonickenneth94 Apr 14, 2015 at 12:31 UTC - 0 likes

    Doesn't work on 1.8.3. It seems like it's possible to deposit items in offline players' inventories, but upon their login, no change has occurred.

  • Avatar of johandre johandre Apr 06, 2015 at 13:04 UTC - 0 likes

    It's lagging extremy much when opening a players inventory/enderchest due to having so many playerfiles.

  • Avatar of meatieSe meatieSe Mar 29, 2015 at 08:40 UTC - 0 likes

    @MinecraftAdmin: Go

    Agreeing with MinecraftAdmin, OpenInv for an offline player on a large server (450,000 playerdata files) locks the game up typically 10 to 30 seconds, disconnecting all the players. The code must be doing something dumb to the playerdata files, scanning all of them maybe. It's unusable. Finding the correct .dat file should take 1 ms, using the formula to get offline mode UUID. I do a similar thing in PHP (inventory read only), and it's instant.

    Server: Spigot 1.7.10, Essentials, OpenInv 2.2.9 (also 2.2.2). Offline mode.

  • Avatar of CloudeLecaw CloudeLecaw Mar 27, 2015 at 02:40 UTC - 0 likes

    still the problem:
    When a player is offline and u try to edit their inv - it firstly seems to be fine.
    But when the player logs on, he often dont see the editing, he still sees the "old" inventory he had before editing - but when the admin looks at the inventory -> he see the change

    i gave some offline players some items. When they loged in they didnt saw them in their inventory. When i looked at their inventory at the same time, i saw the items.
    i took them of and relay them in their inventory while they was online.
    then they saw it too :3

    OpenInv 2.2.9
    No Essentials,
    Permission System: Pex,
    Spigot 1.8.3 -> compiled with Buildtools#35 2 days ago

    Last edited Mar 27, 2015 by CloudeLecaw
  • Avatar of MinecraftAdmin MinecraftAdmin Mar 23, 2015 at 13:23 UTC - 0 likes

    There is a lot of latency (serverwide) when opening up the inventory of an offline player. Any ideas on a fix?

  • Avatar of dutcholdskool dutcholdskool Mar 18, 2015 at 22:04 UTC - 0 likes

    @lishid: Go

    Thanks for making the time to update this.

  • Avatar of lishid lishid Mar 18, 2015 at 00:40 UTC - 1 like

    It's been long overdue, but here is the official build. I haven't really had time to test it, been a super busy month with work/school.

  • Avatar of lme999 lme999 Mar 17, 2015 at 15:46 UTC - 0 likes

    Definitely doesn't work on 1.8.3

    === I'm looking for a private plug-in developer for my server. Interested? PM me! === Hybrid Minecraft Mini-games server.


Date created
Aug 27, 2011
Last update
Mar 18, 2015
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Recent files