Sueta

GuiLib

1.12.4

Yet Another Inventory Gui Library

·Plugin
  1. 1.12.4latestFuture proofing for Paper package refactor.Oct 14, 2023
    This update will make it so that GuiLib will continue to work as expected when Paper changes its package structure.
    2 downloads
  2. 1.12.3Performance updateJun 22, 2023
    This update makes checking whether an inventory is a gui more performant, especially when the gui contains a lot of items with lots of metadata (nbt tag). The issue that was fixed by this update is described here: https://www.spigotmc.org/threads/wh...ally-cause-lag-an-i…
    84 downloads
  3. 1.12.2Folia support bugfixMay 27, 2023
    If you were shading GuiLibs api in your plugin, it would already work on Folia. Now it also works when using GuiLib as a runtime dependency on Folia.
    50 downloads
  4. 1.12.1Folia supportMay 26, 2023
    This update makes GuiLib work on Folia. Cheers!
    13 downloads
  5. 1.12.0Shape bugfixesApr 18, 2023
    In this release the Shape class has seen several changes: New shapes have been added: · CHISELED_BOOKSHELF · COMPOSTER · ENCHANTING · SMITHING_NEW · VILLAGER Bugfixes: · Shape.SHULKER_BOX is now a grid shape of 9x3 instead of 3x3. · Fixed a bug in the Shape#determine(Inventory) method which caused it to return an incorrect shape for Villager inventories · Removed methods that returned instances of internal classes from the Shape interface.
    36 downloads
  6. 1.11.10Fix a long standing memory bugMar 31, 2023
    This update fixes a long standing bug that would cause GuiInventories to be unregistered automagically if 3 conditions were met: · GuiLib runs on CraftBukkit or Spigot (not on Paper). · The InventoryType of the gui is of a tile entity (not chest). · A garbage collection sweep happens while the gui was still in memory. These conditions were very rare, but still, this bug is fixed now.
    17 downloads
  7. 1.11.8More enhancements to Pattern and ScheduleNov 24, 2021
    Added: · Pattern#ofArray, Pattern#ofList Improved: · A few of the Schedule implementations have been optimized to not return new instances when not necessary.
    373 downloads
  8. 1.11.7More Schedule additionsJun 6, 2021
    Added: · Schedule#repeat() - makes a schedule loop. · Some more optimizations related to Schedules. · toString(), equals(Object) and hashCode() implementations for the built-in schedules.
    94 downloads
  9. 1.11.5Add animation Schedule apiJun 2, 2021
    Adds an api that makes it easier to customize the rate at which animation frames are shown in the inventory.
    25 downloads
  10. 1.11.3Add Animation#andThenJun 2, 2021
    You can now chain animations easily using Animation#andThen(animation).
    26 downloads
  11. 1.11.0Add Pattern, Mask and AnimationJun 2, 2021
    Added: · The ability to do bulk operations on Inventories / MenuHolders using Patterns and Masks. · Animation api with custom Frame implementation support.
    22 downloads
  12. 1.10.2Add a bunch of BungeeCord plugin message factory methodsAug 4, 2020
    PluginMessageButton#BungeeCord is now a thing! Happy coding!
    85 downloads
  13. 1.10.0PageMenu improvementsAug 1, 2020
    PageMenus have seen two new big improvements! · Going between pages that have the same size no longer require an inventory re-open. This behaviour can be used by subclasses too by overriding #needsRedirects(). · Clicking on redirect buttons inside a page will now keep the player inside a PageMenu.
    44 downloads
  14. 1.9.91.16 updateJun 26, 2020
    - Added the overload ItemBuilder#persistentData(NamespacedKey,PersistentDataContainer[]) - Updated dependencies
    55 downloads
  15. 1.9.8MenuHolder iterator improvementsJan 29, 2020
    - the Iterator returned by MenuHolder#iterator is now a ListIterator that support all methods except #add(MenuButton). - added a specialized Spliterator as well.
    66 downloads
  16. 1.9.5Support for inventory drag eventsJan 29, 2020
    - Updated several dependencies - Can now handle InventoryDragEvent from InventoryGuiHolder - Memory usage optimization for inventories that store their own InventyHolder in memory. - Other miscellanious cleanups
    50 downloads
  17. 1.9.2Allow GUIs to handle InventoryDragEventOct 12, 2019
    And some small fixes
    68 downloads
  18. 1.9.11.14.4 updateAug 18, 2019
    - Updates the ItemBuilder api to now include support for custom item models and PersistentDataHolder - Fixes a bug that caused PageMenu to handle inventory open/click/close events incorrectly - Allow menus to handle InventoryDragEvent (cancelled by default)
    54 downloads
  19. 1.8.6Add ClaimButton functionalityMar 25, 2019
    * Added the ability to let ClaimButton leave a copy of itself in the top inventory. * Fixed ClaimButton documentation * Upgraded to Java 12's class file format
    68 downloads
  20. 1.8.4The plugin is called GuiLibJan 15, 2019
    Rename the plugin from GuiLib-Plugin back to GuiLib
    78 downloads
  21. 1.8.3Add ItemBuilder methods to specify attributes and custom tags, add YesNoMenuJan 5, 2019
    Title says it all
    65 downloads
  22. 1.8.2Better support for extending redirect buttonsJan 4, 2019
    - Redirect buttons don't try to open the new inventory when redirected to null. - Made RedirectItemButton#onClick non-final so that the button can take more action than just redirecting. Subclasses should always call super.onClick(menuHolder, event). if they override that method.
    54 downloads
  23. 1.8.1Split the project up in maven modulesNov 17, 2018
    Refactored some classes to split the project up into two maven modules: GuiLib-Plugin and GuiLib-API.
    55 downloads
  24. 1.7.5Add SequenceButtonNov 10, 2018
    - Adds a button that composes two buttons sequentially
    53 downloads
  25. 1.7.3Added the ability to hook onto button changesSep 26, 2018
    - Added the ability to hook collbacks onto button changes. - Added icon setter to ItemButton. - Bumped Java version to 11. - Improved documentation.
    63 downloads
  26. 1.7.1More built-in buttonsSep 12, 2018
    The following buttons where added: · ChatButton · CommandButton · TeleportButton · PluginMessageButton Enjoy!
    50 downloads
  27. 1.6.3Add ItemStack consturctor to CloseButtonSep 4, 2018
    Title explains it all
    53 downloads
  28. 1.6.2GuiListener#registerGui BugfixSep 3, 2018
    Fix so that GuiListener#registerGui now returns the right value.
    48 downloads
  29. 1.6.1Fix a memory leakSep 3, 2018
    This update fixes a bug that caused inventory gui holders to always be strongly referenced by the gui listener, preventing them from being garbage collected.
    48 downloads
  30. 1.6.0Work around a 1.13 bug that causes 1.13 inventory holders not to work anymore.Sep 2, 2018
    While testing this plugin, I encountered this bug: https://hub.spigotmc.org/jira/browse/SPIGOT-4274. This update works around the issue and prepares for the future bukkit updates where custom inventory holders will likely be deprecated. Sadly, this update is a small breaking change for plugins that shade GuiLib. The GuiListener now uses the singleton pattern so that GuiInventoryHolders without a specified listener default to the single instance listener.
    51 downloads
  31. 1.5.1We are now a modular jar!Aug 15, 2018
    Yep that's right. GuiLib now provides a Java 9 module. Example usage: Code (Java): module my. domain. myplugin { requires org. bukkit ; //Bukkit's module requires xyz. janboerman. guilib ; //GuiLib's module opens my. domain. rootpackage ; //so that bukkit's pluginloader can create an instance of your main class } This means that the CachedSupplier in the util package is no longer accessible as it was not part of the api. Additionally some deprecrated APIs that were marked for removal in version 1.4.x have been removed.
    50 downloads
  32. 1.4.4Now loads on STARTUPAug 7, 2018
    Fixes a dependency issue that occured when plugins that depend on GuiLib load on STARTUP, while GuiLib itself loaded on POST_WORLD.
    52 downloads
  33. 1.4.2Add PredicateButtonJul 24, 2018
    Generalizes PermissionButton.
    51 downloads
  34. 1.4.0Jul 24, 2018
    47 downloads

Similar projects

Plugin →