CraftKit | Spigot icon

CraftKit | Spigot -----

Utility kit for Spigot and Bungeecord plugins | GUI, NPC, NBT, Skin and more



SL 1.8.6
I. Additions
- Configuration is now serializable in both Spigot and Bungeecord modules
- New methods:
+ ItemManager#hasEnchant(Enchantment enchant)
+ ItemManager#addFlags(ItemFlag... flags)
+ ItemManager#removeFlags(ItemFlag... flags)
- Updated javadoc comments

II. Changes
- Optimized MathUtils#eval(String jsCode)
- Optimized ItemManager
- ItemManager and its sub classes are serializable now
- Optimized BookManager
- Renamed methods:
+ ItemManager#addLore(String text) to ItemManager#appendLoreLine(String line)
+ ItemManager#addLores(List<String> texts) to ItemManager#addLoreLines(List<String> lines)
+ ItemManager#addLores(String... texts) to ItemManager#addLoreLines(String... lines)
+ ItemManager#setLores(List<String> texts) to ItemManager#setLore(List<String> lore)
+ ItemManager#setLores(String... texts) to ItemManager#setLore(String... lore)
+ ItemManager#getLores(String... texts) to ItemManager#getLore(String... lore)
+ BookGeneration#getID() to BookGeneration#getId()
+ BookGeneration#getByID(int generation) to BookGeneration#getById(int id)
+ InventoryManager#fill(ItemStack item) to InventoryManager#fillEmpty(ItemStack item)
- Removed method ItemManager#addLore(String line)

II. Fixes
- Executing commands like /XXX YYY threw NegativeArraySizeException
- Module Main was not included in Spigot and Bungeecord module
- Occurred errors with CachedSkin serialization in Bungeecord module
----------, Feb 6, 2019
Resource Information
Author:
----------
Total Downloads: 29,181
First Release: Apr 7, 2017
Last Update: Jun 19, 2021
Category: ---------------
All-Time Rating:
42 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings