SmartInvs is an advanced Inventory API for your Minecraft Bukkit plugins.
- Inventories of any type (workbench, chest, furnace, ...)
- Customizable size when possible (chest, ...)
- Custom titles
- Allows to prevent the player from closing its inventory
- Custom listeners for the event related to the inventory
- Iterator for inventory slots
- Page system
- Util methods to fill an inventory's row/column/borders/...
- Actions when player clicks on an item
- Update methods to edit the content of the inventory every tick
The source code of this API is available here!
Click here to read the docs on Gitbooks
To use the SmartInvs API, either:
- Put it in the plugins folder of your server, add it to your dependencies in your plugin.yml (e.g. depend: [SmartInvs]) and add it to the dependencies in your IDE.
- Put it inside your plugin jar, initialize an InventoryManager in your plugin (don't forget to call the init() method), and add a .manager(invManager) to your SmartInventory Builders.
You can download the latest version on the Releases page on Github.
It is also recommended to use a build system:
Gradle
Code (Text):
repositories {
mavenCentral()
}
dependencies {
compile 'fr.minuskube.inv:smart-invs:1.2.7'
}
mavenCentral()
}
dependencies {
compile 'fr.minuskube.inv:smart-invs:1.2.7'
}
Maven
Code (Text):
<dependency>
<groupId>fr.minuskube.inv</groupId>
<artifactId>smart-invs</artifactId>
<version>1.2.7</version>
</dependency>
<groupId>fr.minuskube.inv</groupId>
<artifactId>smart-invs</artifactId>
<version>1.2.7</version>
</dependency>
If you have a problem with the API, or you want to request a feature, make an issue here.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- 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.
SmartInvs - Advanced Inventory API is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 9,655 times (via Spigot). Download it and open it directly in the game.