Skip to content

Releases: MinusKube/SmartInvs

SmartInvs 1.2.7 - 1.7 is back

14 Mar 19:49
Compare
Choose a tag to compare

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 the init() 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

24 Dec 21:44
Compare
Choose a tag to compare

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 the init() 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

20 Sep 18:35
Compare
Choose a tag to compare

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 the init() 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

08 Sep 20:52
Compare
Choose a tag to compare

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 the init() 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

14 Aug 23:16
Compare
Choose a tag to compare

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 the init() 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

26 Jul 20:49
Compare
Choose a tag to compare

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 the init() 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

08 Jul 15:41
Compare
Choose a tag to compare

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() or previous() 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 the init() 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

17 Jun 22:20
Compare
Choose a tag to compare

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 the init() 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

21 Oct 14:49
Compare
Choose a tag to compare

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

30 Sep 16:43
Compare
Choose a tag to compare

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.