SmartInvs 1.0.0
First version of the SmartInvs API!
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
Usage
To use the SmartInvs API, 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.
Issues:
If you have a problem with the API, or you want to request a feature, make an issue here.