Fixed an issue where if a block that was damaged from an explosion was not registered on the blocks.yml file, it will attempt to generate that block into the file, with values from the "default" block.
If it fails to generate the block into the blocks.yml file, it will instead use the default values.
Fixed an issue where players could not configure the server's /rparticle & /rsound.
TnTRegen 2.6.2.1 Update
Fixed an issue when installing the plugin for the first time, it would fail to generate the config.yml file, causing the plugin to not work & fail to generate other files.
TnTRegen 2.6.2 Update
An update has been needed for quite a while now. This update should hopefully fix any problems & issues that were happening. If you have any issues, or would like for a better chance to get in contact with me, join my discord server: http://discord.gg/ucyZdQU (This server is for my projects, so categories & chat channels are related to a plugin/project I have made)
Fixed an issue where first time loading the plugin may not properly generate files or even fail to generate any files.
Fixed an issue where /rparticle & /rsound would not open the player's inventory.
If a sub explosion type regen is disabled in the config, the "doPreventDamage" will still work if enabled for a block.
If this setting is true, the replace block function will work as well.
Fixed an issue where if an option were deleted in the config, it would not regenerate after reloading the config.
Made some improvements so the plugin should not cause lag on the server overtime, & players joining a server with it installed should not have any problems logging in.
All explosion types can now damage blocks that normally could not be damaged, such as obsidian.
Blocks now have a durability. If a block's durability reaches 0, it will get destroyed & will perform actions depending on the configuration for the explosion type and/or the block's settings.
You can change a block's durability in the "blocks.yml" file.
Setting the value to -1 (or below) will cause the blocks to never get damaged.
You can change how much block damage an explosion can do in the config.yml under the corresponding explosion type.