BlockRegenerate 1.2

Regenerate any block! Give it a temporary replacement. WorldGuard support!

  1. RandomUnknown
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.14
    Source Code:
    https://gitlab.com/RandomUnknown/blockregenerate/
    [​IMG]

    Configure any block to regenerate itself after a set amount of time! You can also disable drops, exp and set a temporary replacement block! Use this globally or to WorldGuard regions!

    Disclaimer:
    Depending on your configuration of this plugin, it may cause lag. For example, in a case where you define stone to regenerate after a long period of time globally. Each block with generate duration has to be recorded. Blocks in ungenerated chunks will have to load these chunks to generate. It is recommended with setups like these to disable saving and generating in unloaded chunks. In setups where you only regenerate blocks like ores, or use the plugin only in certain WorldGuard regions. You should not notice any performance impact as the plugin is quite simple and efficient. This plugin allows you to configure everything. Take into account what a certain configuration option may do before and you should not encounter any problems.

    Code (YAML):
    configVersion: 1

    settings
    :
      allowSilkTouch
    : false # Should blocks mined with silk touch be regenerated?
      saveData
    : true # This will save block data on server shutdown. If you have a huge amount of block data you should set this to false
      unloadedChunks
    : true # Should we generate blocks in unloaded chunks.

    blocks
    :
     # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
      BEDROCK
    : # Bedrock can't be broken, change to to another material to activate the plugin
        generateDelay
    : 5 # (seconds)  How long it will take for this block to regenerate back to normal
        denyDrop
    : true # This will stop the material dropping items
        denyEXP
    : true # This will stop the material dropping experience
        replace
    : STONE # This is what is set while waiting for the block to regenerate
        replaceDelay
    : 0 # (ticks) The delay in ticks for the temporary block to spawn
        region
    : "bedrock" # This will only allow this block to be regenerated in this WorldGuard region

      # This will replace stone bricks to cracked stone bricks, after 5 seconds regenertae the stone bricks
      #STONE_BRICKS:
      #  generateDelay: 5
      #  denyDrop: true
      #  denyEXP: true
      #  replace: CRACKED_STONE_BRICKS

    Commands:
    /blockregenerate - Plugin info
    /blockregenerate reload - Reload command (OP)

    Permissions:
    blockregenerate.use (Default)
    blockregenerate.reload (OP)

    Extra:
    This is a new plugin and may have some bugs, please report them in the discussion. You are also welcome to request features! :)
    vokz likes this.