Sueta
IN

Inventory Toolkit

1.2

Hassle-free Inventory management, pagination, and InventoryClickEvents

·Plugin
  1. 1.2latestFirst summer update!Jun 5, 2018
    First of a series of updates I hope to be doing over the summer! This update fixes a series of issues caused by some faulty logic found in version 1.1. Added: Some more documentation when using ItemBuilder (yay!) Fixed: Page numbers won't display correctly Fixed: Pagination isn't always calculated correctly, causing incorrect page amounts and item location Fixed: An issue with my Metrics namespacing
    3 downloads
  2. 1.1New ways of doing things!Mar 15, 2018
    With v1.1 comes a new way to open pages, options regarding denied access due to insufficient permissions on ItemBuilders, and a way to display page numbers on the inventory header! New way to open pages: Opening to a specific page should now be used through open(int page), rather than explicitly calling page(int page). You'll now notice that page() is tagged as deprecated, since the 1 less method call will theoretically improve performance Custom "insufficient permission" messages: With v1.1, you're now able to choose a custom message you'd like to display for insufficient permissions, and this works per item! Using ItemBuilder#addPermission(String permission, String message), you can set a customized, ChatColor-supported disallow message. And if custom messages don't suit your fancy, you can always just use the default addPermission(String permission). Page numbers on titles: That's right, you can now choose if you want to display the page numbers in the title of your inventory! Use setShowPageNumbers(boolean) or setShowPageNumbers(boolean, String format) if you'd like to set your own format for the display. The default format is (%c / %m), where %c is the current page and %m is the max pages. TL;DR: Added: more concise way of opening to a page Added: ability to change permission disallow message Added: ability to display page numbers in inventory title Added: easy grabbing of player skulls by using ItemBuilder.playerSkull(OfflinePlayer player) Fixed: InventoryClickEvent conflicts with other plugins
    26 downloads
  3. 1.0.2More math problems -- fixed!Mar 12, 2018
    This should make things work better: Added: ItemBuilder.customSkull(String url) can now be used to grab custom SkullItems (normal player heads to follow soon) Fixed: Pagination buttons not displaying correctly, due to math errors Fixed: addBorder() did nothing, cause I still can't math shrug Fixed: addBorder() used Glass blocks, not panes. Oops... Began working on an Example project that'll be uploaded to a GitHub page periodically, showing off some more advanced examples as I progress further and have more time on my hands. Stay tuned...
    10 downloads
  4. 1.0.1setPageRow() fixesMar 12, 2018
    Fixed: next page buttons not being set to the correct slots when using setPageRow() (apparently I can't do math!)
    10 downloads
  5. 1.0Mar 12, 2018
    3 downloads

Similar projects

Plugin →