OpenInv is a Bukkit plugin which allows users to open and edit anyone's inventory or ender chest - online or not!
See the wiki.
See the wiki
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.OpenInv</groupId>
<artifactId>openinvapi</artifactId>
<version>${openinv.version}</version>
</dependency>
</dependencies>
To compile, the relevant Spigot jars 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.18.1
To compile just the API, execute Maven as usual:
mvn clean package
To compile the full plugin, use the provided profile with -P all
:
mvn clean package -am -P all
For more information, check out the official Maven guide.