Releases: MinusKube/SmartInvs
SmartInvs 1.2.7 - 1.7 is back
Changelog
- #46 Remove dependency preventing the API from working in 1.7
- #47 Fixed
Pagination#isLast
method going one page too far in some cases
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.6 - Critical Fix
Changelog
- (Critical) Fixed inventory updated for every player instead of the current player when setting item
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.5 - Bug Fixes
Changelog
- Fixed ConcurrentModificationException when inventory closing in the update method
- Fixed SmartInventory#add and SmartInventory#firstEmpty not checking horizontally
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.4 - To close or not to close
Changelog
- Allowed to update the inventory's closeable property using
SmartInventory#setCloseable(boolean)
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.3 - Make it work
Changelog
- Changed the spigot dependency version to solve compatibility issues with some versions of the game
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.2 - Just Fixes
Changelog
- Remove contents when inventory closed to let the GC clear the inv
- (Potential breaking change) Make SlotIterator allowOverride default to true
- Fix Pagination#last() sending to the wrong page
- Fix SlotIterator#started() sometimes being wrong
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.1 - Fix it all
Changelog
- Fixed a bug which caused the ClickableItem consumer calling three times when double clicking
- Fixed a bug where the SlotIterator replaced slots it shouldn't replace
- (Potential breaking change) The SlotIterator now isn't started by default, you must call one of
next()
orprevious()
before using it, so it goes at the starting position
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.2.0 - Features & Fixes
Changelog
- Allowed to use the API without using it as a plugin
- Added override setting for the SlotIterator (and then the Pagination)
- Added
firstEmpty
method to the InventoryContents which gives the first empty slot - Added
add
method to the InventoryContents which adds an item to the first empty slot - Added
SlotPos
class, with overload to every method using rows and columns - Added some exceptions when the inventory sizes are wrong
- Fixed a graphical bug when using shortcut number keys when clicking on an item which closes the inventory
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 theinit()
method), and add a.manager(invManager)
to your SmartInventory Builders.
Issues
If you have a problem with the API, or you want to request a feature, make an issue here.
SmartInvs 1.1.3 - Inventory Fix
Changelog
- Fixed a bug allowing users to put items in an inventory using Shift + Click
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.
SmartInvs 1.1.2 - JavaF(i)X
Changelog
- Removed JavaFX Pair class and replaced it by Commons Lang3 one
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.