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!
  • NEW: Drop item as another player (by putting it in the 5 unused slots in openinv)
  • Self-opening protection.

Auto-Updater

This plugin uses an Auto-updater to fetch the latest version from BukkitDev automatically. It can be disabled in the configuration file.

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 Pocketkid2 Pocketkid2 Jul 24, 2014 at 17:00 UTC - 0 likes

    I have a bug report: When you open a chest, and it is blocked but you can still open it, it leaves it witht he open animation state. I think this may have to do with that fact that im OP and have both openinv.silent and openinv.anychest?

  • Avatar of MCTylerPVP MCTylerPVP Jul 21, 2014 at 19:44 UTC - 0 likes

    @JeffMeikle: Go

    I have a worldguard plugin that is 3 months old, whats your logic? Your the same guy that was harrasing people on offline player plugin forum. Lead follow or get out of the way and quit dogging people that are just trying to make their servers work.

    Last edited Jul 21, 2014 by MCTylerPVP

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

  • Avatar of MCTylerPVP MCTylerPVP Jul 21, 2014 at 19:43 UTC - 0 likes

    Actually its not the same...

    http://pastebin.com/Whkh9PSk

  • Avatar of MCTylerPVP MCTylerPVP Jul 21, 2014 at 19:28 UTC - 0 likes

    @Blacksmithkazuma: Go

    I'm getting same message is this a bug, and is it going to be fixed?

  • Avatar of Blacksmithkazuma Blacksmithkazuma Jul 19, 2014 at 16:04 UTC - 0 likes

    When players are off line and you use the command you get this

    http://pastie.org/9405337

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Jul 19, 2014 at 11:32 UTC - 0 likes

    Hmm, 2.1.8 is 2.1.9 or 2.1.9 is 2.1.8? =P

    Too bad that offline player inventories still don't work ;-(

  • Avatar of CloudeLecaw CloudeLecaw Jul 18, 2014 at 12:18 UTC - 1 like

    <<reply 2272468>>

    Hm..Congratz..You recogniced that Bukkit is a Modifikationpacket from vanillasource to enable plugins ;) *jokeing*
    Ok now to the fakts...
    What you mean im ussing a mod? This is the normal Craftbukkit 1.7.10 that you can Download.

    There is no other version for 1.7.10 of Craftbukkit currently
    Look at the changelog of 2.1.8 (that is shown as 2.1.9) in the console...
    OpenInv 2.1.8

    Change log

        Updated to MC1.7.10
        Removed metrics as the service is no longer available

    So i thought the programmer has testet it with Craftbukkit 1.7.10

    Between. its normal that the 1-10 first Devbuild of a new bukkitversion stil have old code inside, but the programmers of the plugins also just have this versions for testing thier plugins.

    Last edited Jul 18, 2014 by CloudeLecaw
  • Avatar of JeffMeikle JeffMeikle Jul 18, 2014 at 05:44 UTC - 0 likes

    @CloudeLecaw: Go

    your using 1.7.10 for a mod that was made for 1.7.9 that is why your getting errors

  • Avatar of dotapurex1 dotapurex1 Jul 18, 2014 at 03:33 UTC - 0 likes

    @CloudeLecaw: Go

    Please use pastebin to link your errors next time. But yes, i'm also getting this error. We are unable to open inventories of offline players.

  • Avatar of CloudeLecaw CloudeLecaw Jul 17, 2014 at 17:24 UTC - 0 likes

    @XSilverSlayerX: Go

    Openinv 2.1.9 (Console said it 2.1.9)
    gave me an error with the commands on offlineplayers

    19:19:35 INFO]: Cloude_Lecaw issued server command: /openinv _Sebi_
    [19:19:35 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'openinv' in plugin OpenInv v2.1.9
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:740) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:957) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:818) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:157) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:258) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    Caused by: java.lang.NullPointerException
    at com.lishid.openinv.commands.OpenInvPluginCommand.onCommand(OpenInvPluginCommand.java:84) [?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    ... 13 more
    [19:19:41 INFO]: Cloude_Lecaw issued server command: /openender _Sebi_
    [19:19:41 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'openender' in plugin OpenInv v2.1.9
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:740) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:957) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:818) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:157) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:258) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    Caused by: java.lang.NullPointerException
    at com.lishid.openinv.commands.OpenEnderPluginCommand.onCommand(OpenEnderPluginCommand.java:90) [?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit-1.7.10-R0.1-20140716.024944-5.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    ... 13 more

    Last edited Jul 17, 2014 by CloudeLecaw

Facts

Date created
Aug 27, 2011
Categories
Last update
Jul 12, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
OpenInv
Downloads
1,484,712
Recent files

Authors