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

    Info:
    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.

    http://files.enjin.com/585436/bannerpmc1.8.jpg

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

    http://dev.bukkit.org/bukkit-plugins/openinv/files/61-open-inv-2-2-9/

  • 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! === craftingcrafter.com Hybrid Minecraft Mini-games server.

  • Avatar of spazmonkey777 spazmonkey777 Mar 17, 2015 at 04:33 UTC - 0 likes

    @CloudeLecaw: Go

    This build has a lot of bugs and really should not be used, although I appreciate you trying to help get a working build. Inventories get messed up, offline player inventory editing doesn't work at all, etc.

    AWNW.net

  • Avatar of CloudeLecaw CloudeLecaw Mar 17, 2015 at 00:17 UTC - 0 likes

    @PiEtrov236: Go

    @buaboney: Go @BananaPuncher714: Go @Androkai: Go

    An updated build (should work flawlessly, 1.8.3 only, untested yet): http://cl.ly/1e1V3h470X2l

    seems to work on spigot 1.8.3 =)
    Thx for the fast reaction :)

    Last edited Mar 17, 2015 by CloudeLecaw
  • Avatar of Dr0lf Dr0lf Mar 16, 2015 at 23:43 UTC - 0 likes

    Need update for Spigot 1.8.3 !

  • Avatar of PiEtrov236 PiEtrov236 Mar 16, 2015 at 00:39 UTC - 0 likes

    @MCTylerPVP: Go

    Both CB and Spigot will do.

Facts

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

Authors