Most of this plugin was completely rewrote and some changes were made to the config.yml. If you are updating from 1.4.1 or previous versions to this version, I recommend you move the old config.yml & generate a fresh new config.yml.
Completely rewrote the block regen phase.
Fixed particles playing for destroyed blocks that does not regen during regen process.
Fixed an issue where if shulker boxes were set to regenerate, items in it would not be regenerated.
Changed the priority of the plugin to hopefully cooperate with other plugins if need be.
Blocks will now typically regenerate from bottom to top from west to east.
Introduces "blocks.yml" file.
Generates a file with a list of every block material types available on the server with options available for those blocks.
If new blocks and/or new options are available in updates, the blocks.yml file will automatically update to include the new blocks/options.
Values changed will automatically take into affect. No need to reload.
Use the "Find text" if available to easily find the block you want.
Added new values for blocks
doPreventDamage
If true, prevent that block from taking damage.
Ignores regen & chance values
regen
If true, prevent items from dropping from that block & regenerate it during the regen phase.
Ignores the chance value.
chance (Still the same)
If doPreventDamage & regen are set to false, then set the item drop percentage value for that block.
saveIterms (Available for container blocks such as chests & furnaces)
If saveItems is true, and if regen is true, then when a container block is destroyed, items will not drop from them & will still appear in the container block when regenerated.
Removed the "worlds" list option for the config.yml
Updated the options for explosion types options from the config.yml
This plugin will now support entity explosions even if not originally on the config. If a new entity that can explode were to exist in a future MC version and if the plugin has not been update, if that entity explode, options will be added to config.yml to configure values for that entity, allowing blocks to now be able to regenerate from that new entity's explosion.
Minor update to the triggers option.
Instead of configurable values being under the triggers section, they will now be under the world's name, which will be under the triggers section. Can still add as many worlds under the triggers section as needed.
Example format in config:
triggers:
world:
minY: 0.0
maxY: 256.0
world_nether
minY: 0.0
maxY: 0.0
If you encounter any issues or have something to share, let me know here or on discord (Username: Jackalantern29 (NA)#2165)