HomeJavaModsElementalRegen | Regenerate, create, and customize blocks [FREE] ✨
ElementalRegen | Regenerate, create, and customize blocks [FREE] ✨
ModsJava

ElementalRegen | Regenerate, create, and customize blocks [FREE] ✨

⬇ Download on Spigot
[​IMG]
[​IMG]

[​IMG]
ElementalRegen is a plugin that provides a customizable way to manage the regeneration of mined blocks. With this plugin, administrators can easily configure which blocks will automatically regenerate after being mined, set regeneration delays, required mining tools, sounds, effects, custom commands, custom drops and more. Regions are created using the WorldEdit axe, with support for WorldGuard.

Features:
value: (custom heads)
Now you can regenerate into custom heads - Premium.
replace-block: Block that replaces the broken block.
regen-delay: Time in seconds for the block to regenerate to its original type.
money: Amount of money given to the player when the block is broken.
job-need: Job required to break the block - Premium.
commands: Commands executed by the console when the block is broken.
player-commands: Commands executed by the player when the block is broken.
custom-item: Create your own items for drops and events- Premium.
tool-required: Tools required to break the block.
enchant-required: Enchantments required to break the block.
particles: Particle effects displayed when the block is broken - Premium.
sound: Sound played when the block is broken.
natural-break: Defines if the block drops items or not (true/false).
drop-naturally: Defines if items are placed in the player's inventory or dropped on the ground.
drop-item: Configuration for the items that are dropped, including:
exp: Configuration for experience given when breaking the block.
event: Configuration for special events related to the block, including: - Premium
regenerate-into: Type of block the broken block regenerates into (can be defined with probabilities).
regeneration-particles: Particle effect when the block regenerates.

Premium Version: [Click]

[​IMG]

[​IMG]

[​IMG]

Spoiler: Soft-Depend
Multiverse-Core
Vault
WorldEdit
GriefPrevention
PlaceholderAPI
WorldGuard

[​IMG]

Spoiler: Settings.yml
Code (Java):

# /////////////////////////////////////////////////////#
# ElementalRegen                                      #
# author - CinturonCris                               #
# for All !                                            #
# /////////////////////////////////////////////////////#

# ////////////////////////////////////////////////////////////////////////////////////////////////
## Enable if you want to see more information about the plugins functions. ///
Debug -Enabled : false
# ////////////////////////////////////////////////////////////////////////////////////////////////
## If you have WorldEdit installed and wish to make and use regions then set this to true. ///
Use -Regions : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
## Set this to true if you dont want blocks to be regenerated in Towny towns. ///
Towny -Support : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
## Set this to true if you have issues with GriefPrevention. ///
GriefPrevention -Support : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
## Set this to true if you want to tolerate WorldGuard protection. ///
WorldGuard -Support : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
## If you wish to cancel all other blocks broken besides the blocks in Blocklist. yml set this to true. ///
Disable -Other - Break : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
## If you wish to cancel all other blocks broken in the region then set this to true. ///
Disable -Other -Break -Region : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
## Automatically bypass regeneration and protection when in Creative. ///
Bypass -In -Creative : true
# ////////////////////////////////////////////////////////////////////////////////////////////////
# Add the worlds you wish to use ElementalRegen in to this list. ///
Worlds -Enabled :
  - world
  - world_nether
# ////////////////////////////////////////////////////////////////////////////////////////////////
## Automatic saving for regeneration process cache. ///
Auto -Save :
  Enabled : true
  # Interval in seconds. ///
  Interval : 600
 
Spoiler: Messages.yml
Code (Java):
# /////////////////////////////////////////////////////#
# ElementalRegen                                      #
# author - CinturonCris                               #
# for All !                                            #
# /////////////////////////////////////////////////////#

Insert -Prefix : true
Messages :
  Prefix : '&6ElementalRegen &r'
  Update : | 2 -

    &7A new update was found !
    &7Current version : &c %version %
    &7New version : &a %newVersion %
  Insufficient - Permission : '&cYou don' 't have the permissions to do this!'
  Console -Sender - Error : '&cI' 'm sorry but the console can not perform this command!'
  Invalid -Command : '&cThis is not a valid command!'
  Too -Many -Arguments : |-
    &cToo many arguments.
    &7Use : &f %help %
  Not -Enough -Arguments : |-
    &cNot enough arguments.
    &7Use : &f %help %
  Reload : '&aSuccessfully reloaded Settings.yml, Messages.yml, Blocklist.yml & re-filled
    the events!'

  Tools : '&7Gave you the tools.'
  Unknown -Argument : '&cUnknown argument.'
  Bypass -On : '&aBypass toggled on!'
  Bypass -Off : '&cBypass toggled off!'
  Debug -On : '&aYou are now listening to debug messages.'
  Debug -Off : '&cYou are no longer listening to debug messages.'
  Data -Check : '&eThe correct name to enter in the config is: &d%block%'
  Data -Check -On : '&aEntered Data-Check mode!'
  Data -Check -Off : '&cLeft Data-Check mode!'
  No -Region -Selected : '&cSelect a region with WorldEdit first.'
  Duplicated -Region : '&cThere is already a region with that name!'
  Set -Region : '&7Region &f%region% &7successfully saved!'
  Remove -Region : '&aRegion successfully deleted!'
  Unknown -Region : '&cThere is no region with that name!'
  Could -Not -Create -Region : '&cCould not created a region.'
  Select -First : '&7Set first position to &f%x%, %y%, %z%.'
  Select -Second : '&7Set second position to &f%x%, %y%, %z%.'
  Set -All : '&7Region set to %s &7presets.'
  Invalid -Preset : '&cPreset %preset% does not exist.'
  Has -Preset -Already : '&7Region &f%region% &7has preset &f%preset% &7already.'
  Does -Not -Have -Preset : '&7Region &f%region% &7does not have preset &f%preset%.'
  Preset -Added : '&7Added preset &f%preset% &7to region &f%region%.'
  Preset -Removed : '&7Removed preset &f%preset% &7from region &f%region%.'
  Presets -Cleared : '&7Presets cleared from region &f%region%.'
  Presets -Copied : '&7Copied presets from &f%regionFrom% &7to &f%regionTo%.'
  Regenerated -Processes : '&7Regenerated &f%count% &7process(es).'
  Activate - Event : '&aYou activated the event: &2%event%'
  De -Activate - Event : '&cYou de-activated the event: &4%event%'
  Event -Not -Found : '&cThis event is not found in the system. Reminder: event names
    are case sensitive!'

  Event -Already -Active : '&cThis event is already active!'
  Event -Not -Active : '&cThis event is currently not active!'
  Tool -Required - Error : '&cYou can only break this block with the following tool(s):
    &b%tool%&c.'

  Enchant -Required - Error : '&cYour tool has to have at least one of the following enchantment(s):
    &b%enchant%&c.'

  Jobs - Error : '&cYou need to reach following job levels in order to break this block:
    &b%job%'

  Permission - Error : '&cYou don' 't have the permission to break this block.'
 
Spoiler: Blocks.yml
Code (Java):

# /////////////////////////////////////////////////////#
# ElementalRegen                                      #
# author - CinturonCris                               #
# for All !                                            #
# /////////////////////////////////////////////////////#

# Note : You can remove a part of the section to ignore its function.
# Note no.2 : Most Strings (commands, names, lores ) allow PlaceholderAPI placeholders.
# Note no.3 : Most Amounts (money, regen -delay, amount ) support dynamic amounts (random ) with a low and high.

Blocks :
  ## The block that gets broken ///
  GOLD_ORE :
    ## The block to replace it with. ///
    replace -block : STONE
    ## The delay in which this block regenerates to its original block type in seconds.
    ## Should be kept above 1 ///
    regen -delay : 7
    ## Vault money given to player when he breaks the block.
    ## Requires Vault and an Economy plugin installed. ///
    money : 1000
    ## If "value:" is activated.
    value : (your texture here )
    ## Command (s ) executed by console once the block is broken. ///
    console -commands :
      - 'say Look the ElementalRegen plugin works!'
    ## Command (s ) executed by the player. ///
    player -commands :
      - 'me I, %player%, executed this command'
    ## Tools required to break this block.
    ## If they don 't have this tool they get an error message (Messages.yml)///
    tool-required: DIAMOND_PICKAXE, IRON_PICKAXE
    ## Enchants required to break the block.
    ## You can, but don'
t have to, specify a minimum level required .
    ## If they don 't have this enchant they get an error message (Messages.yml)///
    enchant-required: FORTUNE;2, MENDING
    ## On break there can be particles displayed, Example custom particles:
    # critic_wave
    # fireworks
    # flame_crown
    # glimmer_dust
    # mystic_glare
    # sparkle_burst
    # witch_spell
    # twinkle_stars
    particles: twinkle_stars
    ## Sound to play on location when the block is broken.
    ## Pay attention to the id according to your version!.///
    sound: ENTITY_EXPERIENCE_ORB_PICKUP
    ## WARN!
    ## Give drops, exp and amount as it would be in vanilla.
    ## Set this to false to use custom drops.///
    natural-break: false
    ## Affects all item drops, except for events.
    ## false == places the item in players inventory, if it'
s full, drops it on the ground.
    ## true == drops it on the ground. ///
    drop -naturally : false
    ## Only works when natural - break is set to false. ///
    drop -item :
      ## The material of the dropped item. ///
      material : GOLD_INGOT
      ## The name that is given to the dropped item. ///
      name : "&e&lSUPERIOR GOLD INGOT"
      ## Lore applied to dropped item. ///
      lores :
        - ' '
        - '&7Super gold ingot'
        - '&7mined by &f%player%'
        - ' '
        - '&a&lRARE'
      exp :
        ## false == exp is added directly to players exp bar. ///
        ## true == drops it on the ground. ///
        drop -naturally : true
        ## Amount of exp dropped. ///
        amount : 100
      ## Enchantments and their corresponding levels you want to add to the dropped item.
      ## Note that these enchants are relative to your server version. The plugin will display a warning if any of the are invalid. ///
      enchants :
        - 'FORTUNE:2'
      ## ItemFlags that you want added to the item.
      ## Valid options : HIDE_ATTRIBUTES, HIDE_DESTROYS, HIDE_DYE, HIDE_ENCHANTS, HIDE_PLACED_ONE, HIDE_POTION_EFFECTS, HIDE_UNBREAKABLE. ///
      flags :
        - 'HIDE_ENCHANTS'
      ## How many should the player get ?.
      ## This generates a random number between, in this case, 0 and 5.
      ## Can be used everywhere where a number is needed. for ex. regen -delay, money, amount. ///
      amount : 0 - 5
    ## It can double drops on specific ores, give double exp or make ores have a chance of dropping custom equips.
    ## Not wish to use this ? You can completely remove it without getting null errors.
    ## Below is an example. Read more info on the spigot updates page. ///
    event :
      ## Event display name, the preset (block ) name is used in commands. ///
      event -name : '&3Double Diamonds'
      ## Display a boss bar for all players when the event is active. ///
      bossbar :
        ## Text to be displayed. ///
        name : "&cJoe&b, there's diamond everywhere!"
        ## Color of the boss bar.
        ## Options : BLUE, GREEN, PINK, WHITE, YELLOW, RED, PURPLE, ALL COLORS MAN !... ///
        color : BLUE
        ## Style of the boss bar.
        ## Options : SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20. ///
        style : SOLID
      ## Should we double the drops or exp ?. ///
      double -drops : true
      double -exp : false
      ## You can also use rewards from the root section (console -commands (aka commands ), player -commands, drop -item, etc. ). ///
      commands :
        - 'say Hello, Im Cris testing the event.'
      custom -item :
        amount : 1
        material : LEATHER_BOOTS
        name : "&6Fancy shoes"
        lores :
          - "&fCris, look at these shoes!"
          - "&e&oBling bling bling haha"
        drop -naturally : false
        ## How rare it is to get the item. In this case a 1 in 50 chance of getting it.
        ## Can 't use a random (low & high) number here.///
        rarity: 50
 
  #####                         #####
  ##### Blocks chaining example #####
  #####                         #####

  ## Coal regenerates into Iron, Iron into Gold, Gold back to Coal.///
  COAL_ORE:
    replace-block: STONE
    regenerate-into: IRON_ORE
    regen-delay: 3
    drop-naturally: true
  IRON_ORE:
    replace-block: STONE
    regenerate-into: GOLD_ORE
    regen-delay: 5
    drop-naturally: true
  HAY_BLOCK: ## HI BLOCK! XD
    replace-block: STONE
    regenerate-into: COAL_ORE
    regen-delay: 10
    drop-naturally: true

  #####                                                 #####
  ##### Block chance example with simple block chaining #####
  #####                                                 #####

  ## When you mine a stone, there'
s a 20 % chance it will regenerate back into emeralds, but 80 % that it will turn to stone.
  ## There 's also a 50-50 chance it will turn into cobblestone, or bedrock.///
  STONE:
    replace-block: COBBLESTONE:50;BEDROCK
    regenerate-into: EMERALD_ORE:20;STONE
    regen-delay: 3
    natural-break: false

  ## Then if you mine the emerald ore, it gives you your reward, has a 50% chance to replace with STONE of COBBLE when regenerating.
  ## Then it turns into emerald, or stone again.///
  EMERALD_ORE:
    replace-block: STONE:50;COBBLESTONE
    regen-delay: 2-10
    regenerate-into: EMERALD_ORE:10;STONE
    natural-break: false
    regeneration-particles: block_frame
    drop-item:
      material: emerald
      amount: 1
      name: '
&aA cute emerald '
      lores:
        - '
&7Mined with &dMysterious Weapon &7by &f %player % '

#End.

[​IMG]

Spoiler: Tutorial
Creating a Region with WorldEdit and Configuring Block Regeneration
Hey there! Ready to create a region and set up block regeneration with WorldEdit and ElementalRegen? Follow these simple steps to get started.

  1. Select Your Region with WorldEdit:
    • Use WorldEdit Tools: Grab your WorldEdit wand (usually a wooden axe) and select two opposite corners of your region. Left-click one corner and right-click the opposite corner to define the area.
    • Define the Region: Once you’ve got your area selected, use the WorldEdit command to define this area. You can do this by typing /region define <regionName>.
  2. Set Up the Region in ElementalRegen:
    • Create the Region: Use the ElementalRegen command to set up your newly defined region. Run /ElementalRegen region set <regionName>. Replace <regionName> with the name you used in WorldEdit.
    • Add Presets: Add specific presets to your region to control how blocks regenerate. Use /ElementalRegen region add <regionName> <presetName> . Replace "<presetName>-OPTIONAL" with the name of the preset you want to apply.
  3. Verify and Customize:
    • Check Your Setup: Ensure everything’s working by listing all regions with /ElementalRegen regions. This will show you your created region and associated presets.
    • Customize Further: Want to change something? Use /ElementalRegen region modify <regionName> <newPreset> to adjust the settings or /ElementalRegen region remove <regionName> <presetName> to remove a preset.
  4. Testing:
    • Break a Block: Go ahead and break a block within your region to see the regeneration in action. If you’ve set it up correctly, blocks should regenerate according to your presets.
  5. Troubleshooting:
    • Debug Mode: If something’s not working, activate debug mode with /ElementalRegen debug to get detailed messages in your chat that can help you troubleshoot issues.
That’s it! You’ve successfully created a region with WorldEdit and configured block regeneration. Enjoy your custom gameplay setup and happy mininggggg!


[​IMG]
soon!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ElementalRegen | Regenerate, create, and customize blocks [FREE] ✨ is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.20, 1.21. Downloaded 464 times (via Spigot). Download it and open it directly in the game.

Explore more