CraftVentory is a Java / Spigot library that facilitates the development of Minecraft inventories. It enables developers to define fully configurable inventories in configuration files and provide them with Java code in their plugins.
This library was developed to facilitate the development of in-game inventories. Indeed, making them fully configurable is an important feature for server administrators but this process is very tedious without an appropriate tool. CraftVentory solves this problem by providing a lot of built-in features to help developers implement fully customizable inventories very easily.
CraftVentory comes with the following features:
- Fully customizable inventories / items / paginations from configuration files (YAML support).
- Fully customizable actions when clicking on items like sending messages / sounds, executing commands, inventory navigation, etc.
- Paginations to paginate a large list of results in an inventory.
- Placeholders to display custom values in texts (inventory title, item name / lore, etc.).
- Inventory history to enable players to easily navigate between inventories (home, backward, forward).
- I18n support.
- Enhancements to dynamically modify inventory properties with Java code.
- Hooks to execute custom Java code for an inventory when specific events happen.
To use CraftVentory, you can directly include the JAR file as a dependency of your plugin. This JAR file can be downloaded on the Releases page of the GitHub repository of the project.
The library can also be included in your project by using a dependency manager like Maven or Gradle.
Maven
Code (Text):
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Syr0ws</groupId>
<artifactId>CraftVentory</artifactId>
<version>{VERSION}</version>
<scope>compile</scope>
</dependency>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Syr0ws</groupId>
<artifactId>CraftVentory</artifactId>
<version>{VERSION}</version>
<scope>compile</scope>
</dependency>
Code (Text):
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Syr0ws:CraftVentory:{VERSION}'
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Syr0ws:CraftVentory:{VERSION}'
}
After being added as a dependency, you must initialize the library by following this tutorial.
The documentation of the library is available on its wiki.
- Item variants
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.17, 1.18, 1.19
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CraftVentory | Create configurable inventories! [1.17+] is a free Minecraft Java mod. Compatible with Minecraft 1.17, 1.18, 1.19, 1.20 and newer. Downloaded 543 times (via Spigot). Download it and open it directly in the game.