Note: This pull request changes a lot of stuff about how the plugin is compiled, so I don't known if these changes will be accepted.
I primarily forked the plugin because my server started using it, so in order to keep up with continuous development I changed a few things.
Additions
Permission to exclude enchantments: xprison.enchant.exclude.<rawName>.
Exclusion format configuration for excluded enchantments in lore.
Command /xprison reload [module] to reload plugin via command.
Item NBT migrator to make old item data compatible with the new NBT format.
Enchantment level formatter to format levels as NUMBER, ROMAN or FIXED.
Durability information to pickaxe lore using %Durability% placeholder.
Permission to make your pickaxe unbreakable: xprison.pickaxe.unbreakable.
Option on enchants.yml to enable unbreakable permission (false by default).
Event based operations for multi-block breaking enchantments, useEvents config on enchants.yml.
This make other plugins (like Quests) to detect that block break from players.
Changes
Compile plugin with Java 11 (Still works with Minecraft 1.8, just use Java 11 to run the server).
Move NBT format to upc path.
Previously using paths like ultra-prison-pickaxe-level or ultra-prison-ench-<id>.
Now tree-like paths are used as upc.level or upc.enchants.<id>.
So NBT library was changed to Rtag.
Use XSeries library to send actionbar.
Bug Fixes
Compatibility problems with other plugins due Block type was replaced with AIR on block break listener.
Event priority on mines listener causing tokens duplication.
Gems give thread issues.
Removed
NMS submodules (methods replaced with Block#setType() and Player#spigot()#sendMessage() with XSeries library).
Note: This pull request changes a lot of stuff about how the plugin is compiled, so I don't known if these changes will be accepted. I primarily forked the plugin because my server started using it, so in order to keep up with continuous development I changed a few things.
Additions
xprison.enchant.exclude.<rawName>
./xprison reload [module]
to reload plugin via command.NUMBER
,ROMAN
orFIXED
.%Durability%
placeholder.xprison.pickaxe.unbreakable
.enchants.yml
to enable unbreakable permission (false by default).useEvents
config onenchants.yml
. This make other plugins (like Quests) to detect that block break from players.Changes
upc
path. Previously using paths likeultra-prison-pickaxe-level
orultra-prison-ench-<id>
. Now tree-like paths are used asupc.level
orupc.enchants.<id>
. So NBT library was changed to Rtag.Bug Fixes
Removed
Block#setType()
andPlayer#spigot()#sendMessage()
with XSeries library).