ExplosionRegen [Jack29] icon

ExplosionRegen [Jack29] -----

Regenerate blocks damaged from explosives from all sources




  • Fix fire preventing blocks from regenerating in its place.
----------, May 16, 2021

  • Fix some blocks from dropping items and still regenerating.
  • Fix blocks from not regenerating and dropping as items instead of water/lava was in its place.
----------, May 12, 2021

  • Fixed Player heads, mob skulls, & piston blocks dropping itself and still regenerating when destroyed.
----------, May 3, 2021

If you encounter any issues, bugs, or are in need of support, join my Discord server where I can quickly make a response! http://discord.gg/ucyZdQU

  • Fixed Shulker Box & Beacon blocks dropping itself and still regenerating when destroyed.
  • Fixed /rsettings server inventory not updating when making changes that requires text input.
  • Fixed /rsettings edit <explosion-setting> block add <block> not adding target block to the block setting.
----------, May 3, 2021

Brand new update built from the ground up with new features and improved performance, with one of the new changes is renaming TnTRegen to ExplosionRegen! If you encounter any issues, bugs, or are in need of support, join my Discord server where I can quickly make a response and get notified! http://discord.gg/ucyZdQU

One of the biggest changes made compared to TnTRegen is making all explosions use just a single configuration, making it easier to configure values. The same applies to blocks as well, as the main settings it will use is the 'default' file. In addition, if you would like to configure values in-game, or setup which conditions should be met in order for blocks to regenerate, or overrides to switch to a new settings if conditions are met, you can use the new /rsettings command.

The main goal of this update is to make things simple to install, improve performance, and add more ways to customize how the plugin should work.

Changelog
  • Removed particles & sounds - They are now part of the addon plugin called ERSpecialEffects. If you have the addon installed, you can continue to have particles & sounds, and profiles can also continue to use them as well.
    • Removed /rparticle & /rsound
    • You can get the addon here.
  • Removed command /rconfig
  • Added new command /rsettings
    • Permission: explosionregen.command.rsettings
    • Sub commands:
    • create - Create a new Explosion Settings which can be used if an override is configured under the default explosion setting.
    • edit - Add/Remove configured blocks, or setup/configure conditions/overrides for explosions
    • reload - Reloads the plugin and configuration
    • server - Open a inventory gui used to configure all settings in-game
  • Blocks can now regenerate in specified directions
  • Made improvements to how blocks are regenerated, including blocks that needs additional block support
  • Fixed some bugs that had existed in the previous builds
  • Improved performance
  • API available for other developers to make addons
----------, Apr 30, 2021

Check out my discord channel, dedicated to my projects, where you can submit bugs, share ideas, or get access to early builds. http://discord.gg/ucyZdQU

  • Updated blocks check & regen process for explosions.
    • If a block that requires a support block was set to regenerate, & there was not a support block, it will instead skip that block & will regenerate later once there is a support block.
  • Added a new option for the config.yml: 'other.showDiscordLink'
    • Default: true
    • If set to false, the message shown to players that are op or have access to '/rregen', '/rconfig', & '/rexplode' when they join will not show.
  • Fixed an issue where explosion types would not copy any available worlds set in the 'default' section of the explosion type.
  • Fixed an issue causing an error relating to 'CoreProtect'
----------, Apr 25, 2020

Join my discord server for as an alternative way to submit bugs, share ideas, or to get in contact with me. http://discord.gg/ucyZdQU
  • New command added: /rexplode
    • /rexplode [power]
      • <power> - Accepts a float value; The explosion's power will use this value. Default power is 4.
    • Permission: tntregen.command.rexplode
    • Use this command to create an explosion at the location the user executed it. Explosions caused from this command will use the "block.default" settings.
  • Fixed an issue where if an explosion was because of another plugin, it should now regenerate using the settings from "block.default"
  • Fixed "instantRegen" when enabled causes explosions to not regenerate at all.
  • Fixed the 'default' explosions for both "entity" & "block" triggers not adding available worlds that are loaded.
----------, Apr 22, 2020

  • Fixed an issue where block's information stored in the "blocks.yml" file could get cleared.
  • Fixed an issue where the error "Could not add missing block" would show up for air, or blocks similar to air.

TnTRegen 2.6.2.3 Update
  • Fixed an issue where if "other.enablePlayerSettings" was set to false, it could cause the "/rconfig" command to not work.
  • Fixed an issue where in certain cases, players could modify the inventories in the "/rparticle" & "/rsound" inventories.

TnTRegen 2.6.2.2 Update
  • New "default" block added for the blocks.yml file
  • 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.
  • Removed the "tntregen.bypass" permission.
----------, Apr 16, 2020

  • Fixed an issue where if "other.enablePlayerSettings" was set to false, it could cause the "/rconfig" command to not work.
  • Fixed an issue where in certain cases, players could modify the inventories in the "/rparticle" & "/rsound" inventories.

TnTRegen 2.6.2.2 Update
  • New "default" block added for the blocks.yml file
  • 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.
  • Removed the "tntregen.bypass" permission.
----------, Apr 15, 2020

  • New "default" block added for the blocks.yml file
  • 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.
  • Removed the "tntregen.bypass" permission.
----------, Apr 14, 2020

  • 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.
  • Removed the "tntregen.bypass" permission.
----------, Apr 13, 2020

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.
  • Removed the "tntregen.bypass" permission.
----------, Apr 12, 2020

  • Fixed an issue the players' files would incorrectly generate the particle's name and would instead either be 'vanilla' or 'preset'
    • This also should also fixes the issue where errors would show up on the console when either using /rconfig, a player joined the server and the particle's name is incorrect, or the plugin is reloaded.
    • This update will automatically fix all player files where the particles' names were incorrectly generated.
    • If you are still having errors on the console, I would recommend you remove all of the players' files and let fresh new files generate for players
  • Fixed a bug where beacon blocks would drop from an explosion & still regenerate.
----------, Mar 7, 2020

User Settings
  • New configuration option "other.enablePlayerSettings"
    • With this setting enabled, players can customize the particles they see or the sound that is played using either /rparticle or /rsound
    • When this option is enabled, players will have their own files which is used for their own preference.
  • Players will be required to have the permission "tntregen.command.<command> to open the GUI Inventory, where <command> is either rparticle or rsound.
    • Along with that permission, players will also be required to have this permission format:

      Particles: tntregen.command.rparticle.<explosionType>.<subType>.particle.<particle> (<particle> can also be used for any preset particles available).

      Sounds: tntregen.command.rsound.<explosionType>.<subType>.sound.<sound>
  • If the player does not have a permission for an explosion subType, they will instead see the server's default particles and/or hear the sound.
Preset Particles
  • Using the new particles.yml, you can create and/or edit an existing preset of particles.
  • These presets can be used just like how you would with the regular vanilla particles.
  • Using a preset will give more control on what particles are played, where is it played, and other options such as the amounts & offsets.
  • These can be available for both the server default & an option for a player when using /rparticle.
  • Players will be required to have the permission "tntregen.command.rparticle.<explosionType>.<subType>.presets" to have access to them in the /rparticle inventory.
  • There will be 2 examples included in the particles.yml which can be used, edited, or removed.
  • Below is a format structure used in the particles.yml for a preset.
    Code (YAML):
    <name> :
      # The name to display when viewing the /rparticle inventory.
      displayName
    : displayName
      # The blockRegen section & blockToBeRegen are optional to have in. Can use both.
      blockRegen (or blockToBeRegen)
    :
        particles
    :
          # These options for a particle is not required. If one of the options is not used, a default value is used instead (the values below are the default values).
          <vanilla_particle>
    :
            # The amount of this particle to show up.
            amount
    : 1
            # The amount of times this particle will play.
            count
    : 1
            # Configure the offset values for this particle.
            offset
    :
              x
    : 0.0
              y
    : 0.0
              z
    : 0.0
            # 'extra' is the additional value for this particle (usually speed)
            extra
    : 1
            # The location for the particles to spawn on. Accepted values: 'explosions' = the location of the explosion source, 'blocks' = Random location of a block that has yet to be regenerated, 'next' = The location of the next block set to be regenerated.
            spawnOn
    : blocks
            # Options under 'option' are used for additional settings. At the moment, it is used for a dust particle (Which as of 1.15.2, only applies to Redstone.
            option
    :
              # Available only for a dust particle. Sets the color of the dust. Accepts these formats: a name of the color (example: black, red, purple), 0,0,0 (RGB format)
              color
    : black
              # Available only for a dust particle'. Sets the size of the dust.
              size
    : 1
Other Changes
  • Made some adjustment to the /rparticle & /rsound command.
    • Removed the [page] sub command & added [server] sub command.
    • New format: <command> [server] [explosionType] [subType]
    • Now supports Tab Completion.
  • Made texts for items in both /rparticle & /rsound inventory more user friendly.
  • Fixed an issue where errors could show in the console if the slot clicked was empty or was an item from the bottom inventory.
  • Fixed a bug where the music discs would incorrectly replace the previous changed sound in the /rsound inventory.
Note: If you have any issues, suggestions, or want to share your feedback, you join my discord server specifically for my plugins. Alternatively you can also added me on discord as well to get in contact.
Server: https://discord.gg/ckehrXA
Discord: Jackalantern29 (NA)#2165
----------, Mar 2, 2020

  • Fixed a duplication bug which involves placing a chest down in an area which will be regenerating, followed by filling it with items.
  • Updated /rparticle & /rsound
    • Both commands now supports configuring blocks.
    • New optional sub commands for both commands:
      • /<command> [entity|block] [type] [page]
      • This will open the gui inventory of the commands to a specific page based on the sub commands used.
    • Fixed an issue where if multiple players were trying to use the /rparticle or /rsound gui inventory at the same time, it would get buggy.
----------, Feb 18, 2020

  • Fixes an issue where some explosions would start causing errors.
  • Fixed an issue where if sections and/or values were deleted from the config.yml, /rconfig would not generate them.
  • Fixed an issue where if an entity type or block type was removed and was then later generated, it would not use the values the default section has.
----------, Feb 14, 2020

  • Added new command /rregen - Regenerates Explosions that are currently regenerating or will be regenerating.
    • Permission: tntregen.command.regen
    • Sub Commands:
      • all - Regenerates all explosions.
      • near - Regenerates nearest explosion.
      • recent - Regenerates most recent explosion.
      • first - Regenerates the first explosion that is being regenerated.
    • Flags:
      • Use -f[entityTypes...] to filter only those entities
        • Example: "/rregen all -f[primed_tnt,creeper]" will regenerate all explosions caused by tnts & creepers, but will ignore any other explosions caused.
      • Use -r[number] for filter explosions within a radius starting at the location of either -l or the executor's location.
        • Example: "/rregen all -r[50] will regenerate all explosions within a radius of 50 blocks.
      • Use -l[worldName,x,y,z] or -l[onlinePlayer] to set location.
        • Can be used with the flags -r and/or with the sub commands.
        • Example: "/rregen all -[r50] -l[world,064,0]" will regenerate all explosions within a radius of 50 blocks with the location set to x0, y,64, z0, at World world.
      • Use -c[number] to execute the process X amount of times, where X is number.
        • Example: "/rregen recent -c[10] will regenerate 10 recent explosions.
      • Use -i to get information on explosion(s) & regeneration process.
        • Using this flag will not cause any regeneration, instead will send information to the executor.
  • Added a description & a usage for commands from the plugin.
  • Plugin now supports Bed explosions within both the Nether environment & The End environment.
  • Fixed an issue where Shulker Boxes would drop from explosions & still regenerate.
  • Fixed an issue where Wall Signs could possible still drop & regenerate.
----------, Feb 13, 2020

  • Fixed an issue where if options were missing in the config.yml, it would fail to import them and would cause an error and disable the plugin.
  • Fixed an issue where when the plugin is disabling, it would sometimes cause an error.
----------, Feb 10, 2020

  • Fixed an issue where if there are no worlds loaded during server load, it would cause an error.
  • Fixed an issue where if options under an entitytype was removed, it would not regenerate the option.
  • Fixed Pistons still having the chance to drop.
  • Removed some block types from the blocks.yml
    • air, cave_air, void_air, tnt, piston_head
  • Added support for blocks that requires to be attached to another block so they will no longer have a chance to randomly drop an item & will be included in explosions if it wasn't.
    • Added support for the following blocks that requires to be attached:
    • Redstone Wire, Redstone Repeater, Redstone Comparator, Pressure Plates, Saplings, Carpets, Rails, Flowers, Grass, Sea Pickles, Coral Plants, Tripwire Strings, Standing Sign, Mushrooms, Snow (Ignored if the Snow has Gravity), Cacti, Sugar Canes, Melon & Pumpkin Stems, Torches, Buttons, Crops, Levers, Nether Warts, Ladders, Vines, Cocoas
      • If the block supporting either a Cactus or a Sugar Cane was destroyed first, & the Cactus or Sugar Cane was not included in the explosion, they will be added to the explosion & will regenerate the original blocks going up, up to the 'maxRegenHeight' which can be configured under it's respective block in the blocks.yml
    • With the previous changes made to the pre-regen in the 2.4, if a supporting block that was destroyed first had a block that was attached to it (such as signs or torches), they would not be included in the explosions and would just pop off since the block supporting it was destroyed first. If there are any blocks that still drop from explosions, feel free to let me know as more than likely I did not add support to the block.
  • Fixed an issue where errors would be spamming the console.
If you have any issues, or want to share your feedback with me, feel free to add me on discord: Jackalantern29 (NA)#2165
----------, Feb 9, 2020

  • Updated the Config
    • Config will now generate entities that can explode.
    • More options available for each entity types that can explode
      • Now support sounds & particles for each entity.
      • Triggers now also included for each entity.
  • blocks.yml file
    • Blocks that are containers (such as chests) will now properly generate the 'saveItems' option.
    • Blocks that can have the same data will now carry over the same properties when replaced (example: corner cobblestone stairs -> corner oak stairs) as opposed to before when sometimes it couldn't
  • Updated /rparticles & /rsounds to support configuration of each entity types.
  • Added new command /rconfig
    • This will reload the config.yml & blocks.yml
    • Any changes made to the config.yml or blocks.yml will no longer automatically take into effect. Use /rconfig to mke any changes made effective.
  • Fixed an issue where when the plugin enables, there would be a chance for errors to occur.
  • Fixed an issue where it would be possible for the console to spam errors when certain blocks has exploded/regenerated.
  • Fixed blocks that were 2 blocks tall that had a chance to still drop & regenerate incorrectly.
  • Fixed beds that had a chance to still drop & regenerate incorrectly.
  • Fixed pistons that had a chance to still drop.
  • Removed support for the lightning particle.

If you have any issues, or want to share your feedback with me, feel free to add me on discord: Jackalantern29 (NA)#2165
----------, Feb 5, 2020

2.3.1 Update:
  • Fixed an issue where "NoPermMsg" setting would not generated in the config, causing an error to occur if the player doesn't have permission to use /rparticle or /rsound.
2.3 Update:
  • Updated Particles
    • "blockRegen" particles for blocks when regenerated
    • NEW "blockToBeRegen" particles for blocks waiting to be regenerated
  • Added 2 new commands
    • /rparticle - Opens Inventory menu to configure both particles & toggle
      • Permission: tntregen.command.rparticle
    • /rsound - Opens Inventory menu to configure sound, pitch, volume, & toggle
      • Permission: tntregen.command.rsound
  • Tested & Working on SpigotMC 1.15 & Paper 1.15
If you run into any issues or have any suggestions you would like to contribute, feel free to add me on discord: Jackalantern29 (NA)#2165
----------, Jan 20, 2020

  • Updated Particles
    • "blockRegen" particles for blocks when regenerated
    • NEW "blockToBeRegen" particles for blocks waiting to be regenerated
  • Added 2 new commands
    • /rparticle - Opens Inventory menu to configure both particles & toggle
      • Permission: tntregen.command.rparticle
    • /rsound - Opens Inventory menu to configure sound, pitch, volume, & toggle
      • Permission: tntregen.command.rsound
  • Tested & Working on SpigotMC 1.15 & Paper 1.15
If you run into any issues or have any suggestions you would like to contribute, feel free to add me on discord: Jackalantern29 (NA)#2165
----------, Jan 20, 2020

  • Fixed the 'Block at' error that would spam the console when loading or reloading the plugin.
----------, Dec 8, 2019

Added support for the GriefPrevention plugin.
  • Added new config option: griefPreventionPluginAllowExplosionRegen (Default: false)
    • If set to true, and if explosions are allowed in a claimed area, any blocks damaged from explosions will regenerate.
----------, Aug 30, 2019

  • Added new config option: forceBlockToRegen (Default: false)
    • If set to true, blocks will be forced to regenerate regardless if there is already a block in its place. If there is a block in its place during the regen phase, it will drop that block as an item so that the block can regenerate (If the block that would be dropped as an item is a container block such as a chest, and has items inside, it will also drop the items inside of the container block as well).
    • If set to false, if there is a block in its place during the regen phase, it will not drop as an item and the block that would have been regenerated will instead drop as an item.
----------, Aug 29, 2019

  • Added permission "tntregen.bypass"
    • If a player has this permission, and ignites a TnT, the explosion will occur as normal.
----------, Aug 27, 2019

  • Fixes an where most blocks would not replace if configured and would instead cause a normal explosion.
----------, Aug 10, 2019

  • Fixes an issue where when using the replace blocks option, the new block would not copy the original data if available (such as stairs would not copy it's original facing).
    • This means if configured can have stone stairs be replaced with cobblestone stairs while keeping its original information.
  • Fixed an issue where Pistons may not regenerate properly.
  • Fixed an issue where blocks (such as grass, redstone, torch, lever, etc.) that requires a support block below would usually drop.
----------, Aug 5, 2019

  • Fixed an issue where when using CoreProtect, only explosions would be logged as "#tnt" regardless of what the explosion is.
  • Fixed an issue where if a block could not be regenerated due to another block being in that place, it would forever be lost.
    • If the block could not be regenerated, it will instead drop as an item as if it was natural.
  • Fixed an issue where on server/plugin reload, the config.yml file would save every time (even if no changes were made).
  • New options available for blocks: replace.doReplace & replace.replaceWith
    • replace.doReplace - If true, that block when regenerated will instead be replaced.
    • replace.replaceWith - If replace.doReplace is true, replace that block with the block that this value has.
    • Works with doPreventDamage being set to either true or false.
      • If false, the block regen process will continue to be normal, & blocks will still replace if "doReplace" is true
      • If true, blocks will not be destroyed like usually, however if "doReplace" is true, it will still replace those blocks.
    • These options will automatically be options to blocks that can use these options.
----------, Jul 31, 2019

  • Fixed an issue where setting "enable*Regen (* is the type of explosion) to false would not apply.
  • Now supports CoreProtect (TnTRegen will work with or without the CoreProtect)
  • Updated the instantRegen method.
  • Made improvements to the block regen phase for blocks that has gravity.
  • New configurable options.
    • shiftGravityUp
      • If true, during block regen phase, if blocks such as sand & gravel are in the way (possible if example those blocks fell into a crater caused by an explosion), they will be shifted upwards to place down the original block.
    • maxShiftGravityUp
      • If shiftGravityUp is true, this is the maximum amount the stack of sand (or other blocks that has gravity) can move up.
        • Example: If this value is set to 5, only a maximum of 5 sands can be shifted up. If there are 6 or more sands stacked up, they cannot be shifted up.
----------, Jul 27, 2019

  • Fixes an issue where water, lava, & falling blocks would not respond correctly after an explosion.
----------, Jul 24, 2019

  • Blocks will now regenerate starting from the bottom layers going up
  • Added new particle effect: lightning
  • Added support for sounds
    • Configure what sound, volume, and pitch of sound in the config
    • The sound configured in the config will play when a block is regenerated
    • The settings for this will automatically be generate when updating.
  • Fixed an issue where after a server reload or restart, if blocks that were regenerated were modified shortly after, they would revert back to the original blocks that was saved to be regenerated
  • Fixed an issue where certain blocks like doors, tall grass, extended pistons (Takes up 2 block space) could still drop items even when the regen option is set to true.
----------, Jul 24, 2019

  • Fixed an issue where the blocks.yml file would not properly generate or update.
----------, Jul 23, 2019

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)
----------, Jul 20, 2019

This version updates to how destroyed blocks regenerates
  • When using this plugin on server version 1.14.x, there is an issue where blocks destroyed by TnTs would drop the block's items, making the availability to duplicate items an option as the block would still regenerate. This could have been due to an update on TnTs in Minecraft v1.14 where TNT explosions would now have a 100% drop rate. This issue is now fixed in this plugin update. This should in theory if there are other plugins that works with TnTs should also work with it.
  • Configure which blocks should not be able to regenerate by adding the block material name under "blocks" in the config.yml file. You can also configure the drop chance by setting the chance value between 0 - 100.
  • This method is setup so if I were to introduce new options for the blocks, it would all go under here. Currently however to prevent issues, to choose which blocks shouldn't be regenerated, you'll need to add these under "blocks" for example to ignore diamond blocks & stone from regenerating:
  • [​IMG]
----------, Jul 12, 2019

  • Added support for more different explosions that can now regenerate based on config.
    • Withers
    • Wither Skulls
    • Ghast
  • Fixed a typo relating to Creepers
----------, May 11, 2019

  • Fixed Worlds option in config not automatically getting fixed when the server is starting (also fixes error message on server startup)
  • Fixed some options not automatically being fixed/implemented into the config
  • Fixed an issue where block damaged from explosions would not regenerate
  • Added 'disableExplosionBlockDamage' option for the config
  • Added particles while blocks regenerates
    • Added 'enableParticles' & 'particle' option for the config
----------, Oct 2, 2018

  • Fixed First time using plugin generating a blank config file
  • Fixed config not automatically updating/fixing as intended on plugin load
  • Fixed Blocks regen's delay time & period time from Creepers using 'delayTnT' & 'periodTnT' values
  • Values changed in config will no longer require a reload to take affect (Excluding the 'enablePlugin' option)
  • Added Triggers (If TnTs' or Creeper's explosion meets in one or more of the requirement, block regen will be ignored)
    • Added Triggers minY & maxY - If an explosion is between the min Y coord and the max Y coord, block regen will be ignored.
    • Example: If minY is set to 64, and maxY is set to 128, blocks will only regenerate if an explosion occurred between Y 64 & Y 128, and will not regen below Y 64 or above Y 128.
  • Added Instant Regen (instantRegen) option in the config.
    • On plugin reload, any explosion damage currently in progress of regenerating will instantly regenerate.
----------, Oct 1, 2018

  • Fixed a bug where water & lava would prevent blocks from regenerating
  • Fixed a bug where blocks regenerated wouldn't have the same blockdata (This fixes leaves from a tree regenerated from decaying and regenerates original block face. Items in a storage content will still drop and will not appear in the storage content that was recently regenerated (This is currently intended)
  • Added a 'worlds' option in the config. This is essentially a whitelist which allows the plugin to work in listed worlds.
  • Automatically update/fixes config if an option does not exist.
----------, Sep 30, 2018

Resource Information
Author:
----------
Total Downloads: 4,910
First Release: Sep 29, 2018
Last Update: May 16, 2021
Category: ---------------
All-Time Rating:
21 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings