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 MCTylerPVP MCTylerPVP Feb 28, 2015 at 11:32 UTC - 0 likes

    @raum: Go

    I had Multiple world setup but I never could get the inventories to work right...How did you fix this? I would love to switch my plotworld back to just another world instead of a seperate server. (When people died, there Inv was either lost or copied to the hub World which is NOT a creative world...no good! :))

    Last edited Feb 28, 2015 by MCTylerPVP

    MC Client Link-EODSteven.org- WebPage http://MCTyler.Enjin.com

  • Avatar of MCTylerPVP MCTylerPVP Feb 28, 2015 at 11:29 UTC - 0 likes

    @lishid: Go

    Cool, very nice explanation. That is probably why MultInv Plugin doesn't work.

  • Avatar of lishid lishid Feb 23, 2015 at 20:50 UTC - 0 likes

    @raum: Go

    I believe Essentials uses the CB provided inventory API, whereas OpenInv uses the native minecraft inventory. The advantage in doing so was that the inventory points to the exact same inventory (rather than a full copy of it), so that changes are synchronized instantaneously and modifications are done on the player's inventory directly.

    Since the problem occurred when a player switch world, I'm guessing a new inventory for the player is created/loaded, so the old inventory is no longer used. I can probably make a fix for it sometimes soon.

  • Avatar of Chris_GSPvP Chris_GSPvP Feb 22, 2015 at 18:16 UTC - 0 likes

    Yep, I got the same issue Raum

  • Avatar of raum raum Feb 20, 2015 at 16:16 UTC - 1 like

    We've run into an issue since the name changes came into play. Not sure if it's BECAUSE of that, but that's when we noticed the issue.

    Openinv doesn't seem to be updating inventories when people change worlds anymore (if the world's inv is separate, obviously). At first I thought it was a Spigot bug, but I noticed that Essential's built in invsee DOES update correctly and as intended, so I can only assume the problem lies with Openinv - just unsure where, or why.

    I don't want to make an actual ticket yet, because I don't have any real info to report, other than "it's not working right." :P

    Anyone else having this issue? I prefer OpenInv over the other alternatives for a number of reasons, and would have to have to give it up.

    Last edited Feb 20, 2015 by raum

    BFAK:91007154,92e4b917081a2a8d6581e2ed8fa6b92293e7f5164a522cb9ced0b28249791359

  • Avatar of qaisjp qaisjp Feb 14, 2015 at 12:42 UTC - 0 likes

    @ChillerKraft: Go

    Features: "Use the command without argument opens the last accessed person's inventory."

  • Avatar of ChillerKraft ChillerKraft Feb 06, 2015 at 09:47 UTC - 0 likes

    i'm noticing what i think is some sort of bug
    /openender
    sometimes opens commandusers enderchest
    and sometimes opens a player enderchest
    and i have no way of knowing whos it is,
    i think it try's opening another players enderchest if
    i had previously used a command to open another users enderchest.
    so if i did
    /openender username1
    and then did
    /openender
    it would open username1 enderchest again

  • Avatar of Maxetto Maxetto Jan 31, 2015 at 22:48 UTC - 0 likes

    @TheaffectedSON: Go

    OpenInv.*

  • 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

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,161,144
Recent files

Authors