Updated all libraries and dependencies to latest version
Added experimental (untested) support for GriefPrevention (16.x)
Added option to disable GriefPrevention support, in case you are using an older unsupported version, or in case the checks do not work as expected. After changing the option, you have to restart the server or reload the plugin with your plugin manager of choice (PlugManX et similia)
Added Slimefun Hook, which should hopefully protect LocketteX protected blocks and LocketteX signs from being exploded by Slimefun items (treated just like the normal break conditions). This has not been tested, so if you use Slimefun on your server please test it yourself (and let me know if it's all good) before deploying the plugin to production.
You can now set the 'owner' line to a different line of the sign (' sign-owner-line-number' setting, can only be 2, 3 or 4) . Beware, this is NOT backwards-compatible with previous settings, which means that if you already have signs with the owner line on the 3rd line, those won't be recognized anymore if you change the line to the 2nd or 4th. This option was made exclusively to make it easier to switch to LocketteX from another plugin previously installed, in order to match the same or at least a similar format in order to keep previously setup protect signs.
TL;DR If you are a new LocketteX user, it would be wise to edit the sign format to your liking BEFORE protecting any container, if you already use LocketteX, don't edit the owner line number.
ATTENTION: Since this update comes right after the UUID-Support update, remember that in order to enable UUID support on a previous install (fresh installs already come with uuid support enabled) you have to edit the sign format line of the owner placeholder to "%owner%#%uuid%"
LocketteX will now recognize and parse UUIDs in already existing signs and in new signs. In order to use this UUID support, in case you are on an older version of LocketteX and upgrading, you have to change the format of the 3rd line in the 'sign-formatted-lines' config option to '%owner%#%uuid%'
Added "PlayerProtectContainerEvent", a cancellable event that is called just before a player protects a container (after he passes all the checks successfully).
FIXES
Fix UnsupportedOperationExceptionin console for servers using custom inventory plugins which extend InventoryHolder improperly (Thanks to Slumzy#2002 on Discord for reporting)
Fix issue with right-click to protect and an exception with explosion protection.
ADDITIONS
Added support for any container
Added description in config about the hopper protection check (was called inventory move before, which could be misleading)
Added option to make protection expire after a configurable amount of days
Added basic compatibility with MassiveCore Factions, but since it's really old and should not be used, no further support will be provided to MCore users.
Added the "make-enabled-worlds-a-blacklist" option under the GeneralSettings section, which turns the enabled-worlds list from a whitelist to a blacklist. (Thanks to @AkiraTsubasa for the suggestion)
Added option shift-click-with-sign-to-protect which makes it possible to protect chests by shift-clicking with a sign in hand the chest to protect it. (Suggested by@asd851646427 )
Added option 'disable-protection-on-unclaimed-land' to disable protection if the protected chest is in an unclaimed chunk (like in Wilderness for example).
FIXES
Fixed an invalid material name for post-flattening versions.