Open anyone's inventory as a chest, real-time!
Find a file
Jikoo 8a6b98614f Added support for UUID-based player lookups in 1.7.5+
You could argue that ShadowRanger's conversion of everything to UUID is better, but that would result in us having to contact Mojang's servers simply to fetch a player by UUID for versions < 1.7.5. It seems excessive (not to mention that uncached contact can result in rate limiting) when the server itself will not remember who they are across name changes. If they can re-obtain everything in their inventory, they can re-run /ac.
2016-11-26 15:31:53 -05:00
1_4_5 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
1_4_6 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
assembly Add modules for 1.4.5 through 1.10, flesh out readme 2016-11-25 22:23:18 -05:00
internal Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
plugin Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_4_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_5_R2 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_5_R3 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_6_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_6_R2 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_6_R3 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_7_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_7_R2 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_7_R3 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_7_R4 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_8_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_8_R2 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_8_R3 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_9_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_9_R2 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_10_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
v1_11_R1 Added support for UUID-based player lookups in 1.7.5+ 2016-11-26 15:31:53 -05:00
.gitignore Convert to a multi-module Maven setup 2016-11-25 16:10:40 -05:00
LICENSE.txt Bug fix and changes 2015-06-23 13:31:26 +10:00
pom.xml Add modules for 1.4.5 through 1.10, flesh out readme 2016-11-25 22:23:18 -05:00
README.MD Add modules for 1.4.5 through 1.10, flesh out readme 2016-11-25 22:23:18 -05:00

About

OpenInv is a Bukkit plugin which allows users to open and edit anyone's inventory or ender chest - online or not!

Features

  • OpenInv: Open anyone's inventory, even if they're offline.
    • Read-only mode! No edits allowed! Don't grant the permission OpenInv.editinv
    • Cross-world support! Don't grant OpenInv.crossworld
    • No self-opening! Don't grant OpenInv.openself
    • Drop items as the player! Place items in the unused slots to the right of the armor to drop them
  • OpenEnder: Open anyone's inventory, even if they're offline.
    • Read-only mode! No edits allowed! Don't grant OpenInv.editender
    • Cross-world support! Don't grant OpenInv.crossworld
    • No self-opening! Don't grant OpenInv.openself
  • SilentChest: Open containers without displaying an animation or making sound.
  • AnyChest: Open containers, even if blocked by ocelots or blocks.

Commands

Command Aliases Description
/openinv [player] oi, inv, open Open a player's inventory. If unspecified, will select last player opened or own if none opened previously.
/openender [player] oe Open a player's ender chest. If unspecified, will select last player opened or own if none opened previously.
/searchinv <item> [minAmount] si Lists all online players that have a certain item in their inventory.
/searchender <item> [minAmount] se Lists all online players that have a certain item in their ender chest.
/anychest [check] ac Check or toggle the AnyChest function, allowing opening blocked containers.
/silentchest [check] sc Check or toggle the SilentChest function, allowing opening containers silently.

Permissions

Node Description
OpenInv.* Gives permission to use all of OpenInv.
OpenInv.openinv Required to use /openinv.
OpenInv.openself Required to open own inventory.
OpenInv.editinv Required to make changes to open inventories.
OpenInv.openender Required to use /openender.
OpenInv.editinv Required to make changes to open ender chests.
OpenInv.openenderall Allows users to open others' ender chests. Without it, users can only open their own.
OpenInv.exempt Prevents the player's inventory being opened by others.
OpenInv.override Allows bypassing of the exempt permission.
OpenInv.crossworld Allows cross-world usage of /openinv and /openender.
OpenInv.search Required to use /searchinv and /searchender.
OpenInv.anychest Required to use /anychest.
OpenInv.silent Required to use /silentchest.

For Developers

To compile, the relevant Craftbukkit/Spigot jars must be installed in your local repository using the install plugin.
Ex: mvn install:install-file -Dpackaging=jar -Dfile=spigot-1.11-R0.1-SNAPSHOT.jar -DgroupId=org.spigotmc -DartifactId=spigot -Dversion=1.11-R0.1-SNAPSHOT

Compiling OpenInv for a specific version is very easy - just compile the correct module.

Compiling for a set of versions is slightly more complex. You'll need to use a profile for the versions you want to compile. Provided profiles are latest, modern (versions 1.8+), and all. For more information, check out the official guide.

License

Copyright (C) 2011-2014 lishid.  All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation,  version 3.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.