Added new Location system using SQLite instead of saving locations in a big yaml file. The first time you start the plugin, it'll check if you have the locations yaml file and if it exists, the plugin will migrate it to SQLite. That will take some time depending on the stored locations.
Improved update checker: Now it checks if a new version is available asynchronously
Implemented async OutcomePack loading
Now config is cached in LuckyBlockDropper rather than loading it every time
Added player texture caching to impove opening speed of GiveMenu in offline mode servers
Added support for Minecraft 1.21.8, 1.21.9, 1.21.10 and 1.21.11
Added option to disable saving LuckyBlock locations (Thaks to Renzotom for the suggestion)
Removed warning "Sound is not supported in this version" when selecting entity.wolf.howl. Now if that sound is selected and Minecraft 1.21.5 or above is used, the sound entity.wolf.ambient will be used instead
Added filters to the ItemStealer to prevent some items from being stolen (Thanks to Renzotom for the suggestion)
Added filters to the ItemStealer to protect some entities from being stolen (Thanks to Renzotom for the suggestion)
Added support for decimal probability values in enabled blocks of DropOnBlockBreak mode (Thanks to Renzotom for the suggestion)
Added location filtering option to prevent players from using macros to get LuckyBlocks automatically. This could happen if the DropOnBlockBreak mode was enabled and one or more players used macros like Place block --> break block --> Wait time --> Repeat (Thanks to Renzotom for reporting it)
Added drop cooldown to avoid players getting lots of LuckyBlocks by breaking blocks too fast. This could happen if the DropOnBlockBreak mode was enabled and one or more players used a tool with efficiency enchantments or while they have the haste potion effect (Thanks to Renzotom for reporting it)
Now all RandomBlocks tasks are stopped when plugin is disabled or reloaded
Added fallback when message is missing in selected lang file
=== BUG FIXES ===
Fixed spelling issues in lang files and config.yml
Fixed bug when setting durability in certain items in Minecraft 1.13+. The NBT tag "minecraft:damage" was being added when durability value was changed, even if it was 0 (Thanks to Renzotom for reporting it)
Fixed duplication glitch with ItemStealer in Minecraft 1.9+. In Minecraft 1.9+ the items of a player's equipment were being duplicated when they were stolen with the ItemStealer (Thanks to Renzotom for reporting it)
Fixed GiveMenu not showing players' heads in some cases
Fixed bug when getting unbreakable status of items in Minecraft 1.8, 1.9 and 1.10 in ItemMenu
Fixed bug when loading some potion effects of a potion item in certain cases
Fixed bug when setting durability in Minecraft legacy versions
Fixed null pointer exception when logging null objects
Fixed bug with AutoBow and MultiBow in Minecraft 1.21.11
Fixed blocks placed by RandomBlocks command not having texture in some cases
Fixed bug with HookBow in Minecraft 1.21.11
Fixed LuckyBlock water protection bug. If you used a bucket of any liquid in the location of a textured LuckyBlock, it was broken (Thanks to Renzotom for reporting it)
Fixed LuckyBlock piston protection bug. If you used a piston at the location of a textured LuckyBlock, it was broken (Thanks to Renzotom for reporting it)
Fixed LuckyBlock dispenser protection bug. If you used a dispenser with a bucket at the location of a textured LuckyBlock, it was broken
Fixed placeholder %bx% was being replaced by block Z rather than block X in LuckyBlockDropper
Fixed bug when setting unkown player textures in offline servers