- Improve | Now ignores localization keys set to “none”. To translate the plugin, use “/protect dumplocale”.
- Fix | Solved "Cannot convert null sender to FoundationPlayer" error in certain scans where there is no player (i.e. on item spawn in world).
- Fix | Solved "ProtectOperator.getIgnoreInventoryAmount() is null" when not having the operator "ignore inventory amount" set for some rules.
- Fix | Solved “NoSuchMethodError: JsonObject.keySet()” error on Minecraft 1.8.8 where other plugins or the server shade an outdated Gson library.
- New | Added the "ignore material <material1>|<material2>" rule to ignore the item if its material is one of https://mineacademy.org/materials. Use | to separate multiple materials. We evaluate each as equals.
- I recommend you update your rules/main.rs nbt-too-long rule like this: to prevent custom skullheads from being confiscated.
- Fix | Solved "IllegalStateException: Not scheduled yet".
- New | Added options to prevent scanning all items having custom metadata lore or display name. Not recmomended because hack clients can easily give items in creative mode having custom name or lore.
- New | Added “ignore enchantlevel <level>” operator to ignore the scan if the item has only enchants less or equal the given level. Useful if your custom plugin gives enchants higher than vanilla.
- Fix | Solved certain items not being taken when interacted with.
- Fix | Solved “/protect inspect” crash.
- Fix | Solved "Unable to download locale en_US" as well as other underlying library improvements and bugfixes.
- Major | Rewritten to support Adventure and MiniMessage. That means you can now use MiniMessage tagsalongside legacy & color codes in your localization file, see the next point.
- New | Localization is now cloud-based. Use "/protect dumplocale" to download or update your local file, which will be placed into lang/ folder.
- New | Added Ignore.Custom_Persistent_Tags key to settings.yml to ignore items having any custom persistent container tags, typically only added by third party plugins to prevent false catches.
- New | You can now use MiniMessage formats in the plugin, including in the “/protect edititem” command, creating RGB item names lores, see image 1.
- Improve | Now excludes items with custom persistent metadata tags or model data, greatly reducing the risk of custom plugin items being taken.
- Improve | Better Folia support in some cases where the plugin lacked API access.
- Improve | You can now use “/protect inspect” and look at non-containers, and we’ll print their NBT tags to the console.
- Improve | Now excludes color codes when comparing the length of an item name.
- Improve | Library loader now works in the official Spigot's library folder. You can remove unused folders such as the “lib” folder from your Protect folder. Here are all files that are needed now, see image 2.
- Fix | Solved using * such as in “ITEM_NAME” and “ITEM_NAME” in “on use” in settings.yml not working.
- Fix | Solved “/protect iteminfo” displaying null for custom enchants.
- Fix | Solved some potions being confiscated regardless of “require potion amplifier” operator being set.
Example 1: Using /protect edititem name <gradient:#5e4fa2:#f79459>Custom Item Name
Example 2: The default Protect folder with reduced unused folders. This is the new standard setup:
Developer note: We're finalizing a big underlying library update. However, this process takes longer than intended so we are releasing this update as a minor servicing update to ensure continued plugin functionality.
- Fix | Solved a dependency loading issue.
- Fix | Solved loading issues when using ItemsAdder 4.
