Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minuskube/smartinvs
Advanced Inventory API for your Minecraft Bukkit plugins.
https://github.com/minuskube/smartinvs
bukkit bukkit-api bukkit-plugin gui inventory minecraft
Last synced: 2 days ago
JSON representation
Advanced Inventory API for your Minecraft Bukkit plugins.
- Host: GitHub
- URL: https://github.com/minuskube/smartinvs
- Owner: MinusKube
- License: apache-2.0
- Created: 2017-06-20T18:50:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T09:07:03.000Z (7 months ago)
- Last Synced: 2024-12-21T04:09:38.125Z (2 days ago)
- Topics: bukkit, bukkit-api, bukkit-plugin, gui, inventory, minecraft
- Language: Java
- Homepage: https://minuskube.gitbook.io/smartinvs/
- Size: 271 KB
- Stars: 263
- Watchers: 13
- Forks: 65
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![SmartInvs Logo](http://minuskube.fr/img/smart-invs/smart_invs.png)
[![License](https://img.shields.io/github/license/minuskube/smartinvs.svg?style=flat-square)](https://github.com/MinusKube/SmartInvs/blob/master/LICENSE.md)
[![Javadocs](https://img.shields.io/maven-central/v/fr.minuskube.inv/smart-invs.svg?label=javadoc&style=flat-square)](https://javadoc.io/doc/fr.minuskube.inv/smart-invs)# SmartInvs
Advanced Inventory API for your Minecraft Bukkit plugins.*Tested Minecraft versions: 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14*
**You can use this as a Plugin, or use it as a library** (see [the docs](https://minuskube.gitbook.io/smartinvs/))## Features
* 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## Docs
[Click here to read the docs on Gitbook](https://minuskube.gitbook.io/smartinvs/)## Usage
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](https://github.com/MinusKube/SmartInvs/releases) on Github.
You can also use a build system:
### Gradle
```gradle
repositories {
mavenCentral()
}dependencies {
compile 'fr.minuskube.inv:smart-invs:1.2.7'
}
```### Maven
```xmlfr.minuskube.inv
smart-invs
1.2.7```
## TODO
* Add some Javadocs## Issues
If you have a problem with the API, or you want to request a feature, make an issue [here](https://github.com/MinusKube/SmartInvs/issues).