Skip to content
forked from Jikoo/OpenInv

Open anyone's inventory as a chest, real-time!

License

Notifications You must be signed in to change notification settings

ILikePtatoes/OpenInv

 
 

Repository files navigation

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! Don't grant edit permission.
    • Cross-world support! Allow access only from the same world.
    • No duplicate slots! Only armor is accessible when opening self (if allowed at all)!
    • Drop items as the player! Place items in the dropper slot in the bottom right. Can be disabled via permission!
    • Allow any item in armor slots! Configurable via permission.
  • OpenEnder: Open anyone's ender chest, even if they're offline.
    • Allow access only to own ender chest! Don't grant permission to open others.
    • Read-only mode! Don't grant edit permission.
    • Cross-world support! Allow access only from the same world.
  • SilentContainer: Open containers without displaying an animation or making sound.
  • AnyContainer: Open containers, even if blocked by ocelots or blocks.

Commands

See the wiki.

Permissions

See the wiki

For Developers

As a Dependency

The OpenInv API is available via JitPack.

  <repositories>
    <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>com.github.Jikoo</groupId>
      <artifactId>OpenInv</artifactId>
      <version>${openinv.version}</version>
    </dependency>
  </dependencies>

Note that since JitPack only builds the API now, the "full" OpenInv jar on JitPack is actually the openinvapi artifact. This is a change from previous dependency declaration that I hope to revert.

Compilation

To compile, the relevant Spigot jar must be installed in the local repository. As OpenInv is compiled against Mojang's mappings, you must run BuildTools with the --remapped argument:
java -jar BuildTools.jar --remapped --rev $serverVersion
$serverVersion is the version of the server, i.e. 1.21.4

Once Spigot is installed, execute the gradle wrapper:
./gradlew build

About

Open anyone's inventory as a chest, real-time!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.0%
  • Shell 1.2%
  • Kotlin 0.8%