BlockRegen icon

BlockRegen -----

Regenerative ore nodes for custom mines and farms.




Bugfixes
  • Ignore cancelled events (fixes compatibility with Denizen)
----------, Jan 30, 2025

Features
  • Add support for pink petal flower amount on versions 1.20 and above
----------, Jan 23, 2025

Features
  • Advanced conditions - it's now possible to supply complex conditions for block break and drops. These conditions can be composed into logical expressions.
    Code (Text):
    diamond:
      regen-delay: 3
      conditions:
        tool:
          # Will match either a diamond or a netherite pickaxe.
          material:
            - DIAMOND_PICKAXE
            - NETHERITE_PICKAXE
          enchants:
            - FORTUNE > 2
        # Check against a placeholder value.
        placeholder: "%player_y% > 100"
        # Random chance
        chance: 50.7
        # Job levels
        jobs/levels:
          - MINER > 10
    More about conditions on the wiki.
  • Conditions for tools from ItemsAdder (ia/tool), Oraxen (oraxen/tool), Nexo (nexo/tool) and MMOItems (mmoitems/tool) with more coming soon.
  • New particle fire_cube added by @gkhaavik
Bugfixes
  • Drops now drop in the middle of the broken block to prevent glitching, thanks to @gkhaavik
  • Retry loading regeneration processes if a preset fails to load
----------, Jan 20, 2025

Bugfixes
  • Fix drop item amounts with the format `low-high` not loading properly due to bad regex
----------, Jan 5, 2025

Features
  • Added drops from external plugins (Oraxen and ItemsAdder so far)
Code (Text):
drop-item:
  item: ia:myitems:red_block
  amount: 3
  drop-naturally: true
  chance: 10
  • Added support for multiple materials in target-material
Code (Text):
target-material: STONE;COBBLESTONE;COAL_ORE
  • Added a stats command /blockregen stats that shows the current count of running processes.
  • regen-delay: -1 now makes the block never regenerate. These blocks are meant to be regenerated manually through the /blockregen regen command.
Bugfixes
  • Fixed issues with materials from 1.21.4 not being recognized (aka fixed 1.21.4 support)
  • Fixed trampling interaction with worldguard and residence
  • Fixed farmland being placed under sugarcanes
  • Fixed sugarcanes not being handled properly as multiblock crops
  • Fixed presets not being correctly recognized in multiblock crop handling
----------, Jan 4, 2025

Bugfixes
  • Don't allow trampling when the interace event is cancelled (aka don't allow trampling when protection plugins deny it)
----------, Dec 31, 2024

Bugfixes
  • Fix ItemsAdder support (blocks not being replaced)
----------, Dec 31, 2024

Bugfixes
  • Blocks wouldn't get replaced after a block is broken
----------, Dec 29, 2024

Features
Bugfixes
  • Support 1.21.4 properly (some loose enums)
  • Farmland would be placed under netherwarts after regeneration
  • Having multiple presets with the same target-material would not work (only one of them would be checked)
  • Fix max age errors
----------, Dec 28, 2024

Changes
  • Added support for trampling - jumping on a crop now breaks it according to a configured preset
Bugfixes
  • Fix node data parsing (invalid values even when not) and add more descriptive warning messages
----------, Dec 5, 2024

Features
  • Add kelp and seagrass crop regeneration

Bugfixes
  • Fix sugarcane not being placed on top of eachother (part 2)
----------, Nov 24, 2024

Bugfixes
  • Fix sugarcane crops not regenerating properly on top of each other
----------, Nov 23, 2024

Bugfixes
  • Downgrade java to version 8 to support mc versions down to 1.8; this was unintentionally introduced two months back
  • Fix node data on 1.8 using material data that isn't available on that version
----------, Nov 22, 2024

Bugfixes
  • Fix probabilities being above one error due to built-up addition rounding
  • Add missing skull node data property to <1.13 versions
----------, Nov 21, 2024

Features
  • Add note block and mushroom properties to node data
    • This makes it now possible to use custom resource packs without plugins that provide them
    • Added properties: noteId, instrument, powered, note, octave, sharped, east, north, west, south, up, down
    • More about node data
----------, Nov 21, 2024

Features
  • Add handling for multiblock crops such as cactus, sugarcane and bamboo
    • All blocks of these crops now drop customised drops and regenerate
    • Configure with regenerate-whole, check-solid-ground and handle-crops more information here
  • Add handling for single crops
    • If a block is broken under a configured crop, it will regenerate as well
----------, Nov 19, 2024

Bugfixes
  • Fix regions not being detected correctly
  • Fix world regions not being loaded correctly
----------, Nov 13, 2024

Bugfixes
  • Fix Oraxen support not working properly
----------, Nov 10, 2024

Bugfixes
  • Fix regen-delay: 0 not placing the block
----------, Nov 4, 2024

Bugfixes
  • Fix processes not starting after plugin load due to async event calls
----------, Oct 31, 2024

Features
  • ItemsAdder support
    - Regenerate ItemsAdder custom blocks, use the prefix `ia`, for ex.: `ia:myitems:red_block` in materials, more on the wiki.

Bugfixes
  • Fix skull textures being placed over non-skull blocks
----------, Oct 25, 2024

Bugfixes
  • Fix blocks dropping 0 experience orbs
----------, Oct 24, 2024

Bugfixes
  • Fixed vanilla drops not being dropped with correct amount correct meta
----------, Oct 23, 2024

Bugfixes
- Fix regression where the plugin would create new tasks while disabled
----------, Oct 21, 2024

Features
  • Added skull textures to node data
    • Player heads can now be conveniently used for regeneration
    • More here
----------, Oct 21, 2024

Features
  • Added world regions - regions can now span whole worlds.
    • Use /blockregen region world <name> <worldName> to create one
  • Added region priorities - regions with higher priority get preference over those with low when overlapping.
    • Use /blockregen region priority <name> <priority> to configure
    • When a block is broken in overlapping regions of same priority, none knows what will happen
----------, Oct 20, 2024

Features
  • Add blockdata to support crop ages for all materials in Blocklist.yml - this allows crops to be broken at max age and planted back as seeds.
  • Add block position placeholders to all commands and drop strings - %block_x%, %block_y%, %block_z%, %block_world%
  • Add per-region and per-preset permissions - blockregen.region.<name>, blockregen.preset.<name>
Bugfixes
  • Material issues with crops on 1.12.2
  • Fix how permissions are calculated for block, preset and region permissions
Other
  • Tested compatibility with VeinMiner, AutoPickup and CubCustomDrops, more about that here
----------, Oct 14, 2024

Bugfixes
  • Fix synchronization issues with block placement causing blocks not to be immediately placed with regen-delay: 0
  • Fix drop-naturally on drops not overriding the preset setting
Other
  • Update Settings.yml with new comments, remove Disable-Other-Break-Region as it is useless, use Disable-Other-Break
----------, Oct 12, 2024

Hey everyone,
after a few years in silence and minor updates released only on discord I've decided to come back and revive this plugin to make it a viable choice compared to other similar resources. This page has also been transfered to me (Wertik1206) by the original developer, so I can release new updates here. You can expect updates and active support.

I've also started writing a wiki page: https://github.com/Wertik/BlockRegen/wiki

Changes since 3.10.5
  • Fix events
  • Check for destroy flag in Residence as well as build flag
  • 1.20 support
  • Add missing permissions for debug, tools commands
  • 1.21.1 support
  • CustomModelData support
    • Add custom-model-data option with a corresponding value to any drop item section
  • Oraxen & MMOItems support
    • Use prefix oraxen: or mmoitems: and the corresponding ID of a custom block of the plugin (ex.: oraxen:caveblock)
    • Available in target-material, regenerate-into, replace-material
  • Fixed custom model data not being applied on most versions
  • Fixed custom model data not being applied on most versionsEnchantment plugin support
  • Properly call BlockDropItemEvent to allow enchantment plugins to interact with the drops properly
  • Most enchantment plugins' features (autosmelt for ex.) should now work
  • Fix issues with thread spawning after the plugin is disabledFix dynamic materials (materials with chances) not working properly
  • Allow decimal values in dynamic material chances
  • When no chances are given in dynamic material, split the complement to 100% between the rest
  • Fix concurrency issues with regeneration causing processes to get lost
----------, Oct 12, 2024


Changes
  • Added chance to commands (format: - 80;say Hello world!, percentual chance)
  • Added chance to drops (simply add the chance property to the drop, percentual chance as well)
  • Added regeneration command (/blockregen regen (-p <preset>) (-r <region>) (-w <world>))
  • Added comands to manage presets configured for a region (/blockregen region add/remove/clear <region> (preset))
Bugfixes
  • The plugin wouldn't recognise console-commands & player-commands aliases (console-command, etc.)
----------, Aug 16, 2022

Bugfixes
  • Resolve hanging processes
----------, Jul 12, 2022

Changes
  • Keep the original rotation and age of replaced blocks
  • Correctly match materials on legacy versions (primarily wood types)
Bugfixes
  • More fixes regarding material matching on legacy versions (for ex. birch logs dropping oak)
  • Ignoring interact with the shovel
----------, Jul 10, 2022

Bugfixes
  • More fixes regarding material matching on legacy versions (for ex. birch logs dropping oak)
  • Ignoring interact with the shovel
----------, Jun 19, 2022

Per-region presets!
  • Use /blockregen tools to obtain a wooden axe & a wooden shovel
  • Use the axe to select two points, then create a region using /blockregen region set <name>
  • Use the shovel to add presets to the region (left click to add, right click to remove)
  • Use the command /blockregen region all <name> to switch the region from allowing all presets
Note: Works with any wooden axe/shovel as long as you have the blockregen.select and blockregen.region permissions

Changes
  • No need to have WorldEdit installed for regions
    (Simply use a Wooden Axe and select two points, like with WorldEdit)
Bugfixes
  • Resolve material issues on 1.12 and lower
  • Ignore interact events other than block clicks (block check would happen even when touching redstone ore etc.)
  • Improve version checking (no more update notifs for older versions)

To get updates sooner visit the Discord!
Updates will be released in the #releases channel.
https://discord.gg/ZCxMca5
----------, Jun 12, 2022

Changes
  • Fixed issue with materials on 1.8 (NoClassDef... org/bukkit/material/Wood)
  • Fixed issue with onDisable creating tasks. Thanks to @xiaozhangup.
  • Added enchant & flag examples to Blocklist.yml
  • Plugin should now reliably support 1.18
  • Redone some minor things around logging and the debug command.
----------, May 18, 2022

First of all. I would like to thank everyone for supporting me over the years of me developing BlockRegen. I am humble for all those download and great reviews.

Second of all, big big thanks to @Wertik1206 for keeping the plugin updated after I quit it.

All updates etc can be found on his fork of BlockRegen on Github
https://github.com/Wertik/BlockRegen

Stay safe and cheers!
----------, Apr 26, 2022

Changelog can be seen here.
----------, Sep 13, 2020

For full change log visit the releases channel in my discord:
https://discord.gg/ZCxMca5
----------, Sep 5, 2020

BlockRegen 3.5.5
- fixed plugin disabling itself without Jobs
- added chances for replace-block and regenerate-into. ( ex.: regenerate-into: GOLD_ORE:30;IRON_ORE:20;COAL_ORE // there always has to be a default to go to, if there's only one block provided, it will be a 100% chance, even if you configure the chance )
- updated default Blocklist.yml with a working example - fixed a few bugs, did more cleanup.

BlockRegen 3.5.4
- added the possibility to chain blocks ( for ex. coal -> stone (temp) -> iron -> stone (temp) -> coal )
- fixed language issues ( if it's not working for you, save your contents, delete the file and let it regenerate, everything should be in the "Messages" section )
- added Jobs support ( reward players for breaking blocks, enable by putting Jobs-Rewards: true into Settings.yml )
- added Residence support ( respect Residence protection, enable by putting Residence-Support: true into Settings.yml )
- redid default Blocklist.yml and added examples for block chaining
- minor bugfixes and code cleanup

As always big thanks to Wertik the developer of this plugin and for support visit the discord.
----------, Apr 21, 2020

- Added WorldGuard support
- Added 'WorldGuard-Support: true/false' to Settings.yml, -doesn't interfere when region has either BUILD = DENY, or BLOCK-BREAK = DENY
- Fixed bug where block wouldn't drop items on natural-break: true
- Made 'blockregen.block.*' a default permission
- Updated WorldEdit and WorldGuard dependencies to their latest versions (7.1.0, 7.0.2) - more bugfixes, recoded file system (no changes for users)
----------, Apr 3, 2020

3.5.2 Changes:
- updated to WE 7.1.0, Jobs 4.15.5
- added per-block permissions blockregen.block.*/blockregen.block.<TYPE> - bugfixes, code cleanup
- added random amounts everywhere

For more in detail changes visit the discord.
I do no longer develop this plugin but it;s still developed by a wonderful guy.

So yeah, wanna be up to date? Go the the discord server: https://discord.gg/ZCxMca5

Oh and stay safe y'all #Covid-19
----------, Mar 21, 2020

Fixed:
- I fixed a few little bugs people on discord reported. Can quit remember all of them. You still have a bug? Come to my discord for support.

Added:
- Added a Recovery option. If you enable this in the Settings then you need to restart the server to let the plugin generate a file called Recovery.yml.
All blocks will temporarily be stored there. If you have a crash all the block stuck in regen will be set back to there original block.
----------, May 9, 2019

Updating:
Backup your old files and let BlockRegen generate new ones.
The copy back your old stuff but watch carefully if you do not remove newly added lines!
Both Blocklist, Messages and Settings have new options.
Regions can be converted to this version with /blockregen convert (succes not garanteed).

Added:
- BlockRegen now has a particles on break option!
Check this page for the format.
- Added check for enchants. Just like required tool you can now check if the tool has the required enchant. I'm added a check for enchantment levels later.

Fixed:
- Updated the code to support WorldEdit 7 beta 4 (latest)
- Maybe fixed an issue with WorldGuards break-denied flag.
Not test that so report back to me on discord if you have trouble regarding WorldGuard.

And a happy 2019 to all! Thanks for the support and the 7000 downloads mark.

(PS. I'm streaming since this year. I'm also going to stream live development of BlockRegen and I'm giving away a steam code at 50 followers. Follow for some fun stream! https://www.twitch.tv/aurorionjp)
----------, Jan 6, 2019

Added:
- BlockRegen now persist through restarts.
- Added a update checker to notify you when there is a new update.
Add this line to Settings.yml to toggle it. Default is true.
Code (YAML):
# Get notified when there is a new version available
Update-Checker
: true
Cheers
~ Aurorion
----------, Nov 7, 2018

Fixes:
- There was no option to disable drops. You either had natural drop or the drop item. If you now remove both those option it will give you nothing.
This is usefull for people that give loot through a command.
Example:
Code (YAML):
   WHEAT:
        replace-block
: WHEAT
        regen-delay
: 5
That regens wheat to wheat and updates it in 5 seconds without doing ANYTHING else.
- Rewriten some code to keep things clean and for faster adding of option.
Little bugs can occure. Reporting them through discord is the fastest way of me fixing it.
- Removed the "Use-Economy" option in the Settings.yml. BlockRegen now checks if vault is installed and if money is not 0 or null.

Cheers!
~ Aurorion
----------, Nov 5, 2018

Added:
- Jobs support! You can now check a for a players job and level per block.
Add this line to the block in your Blocklist.yml:
Code (Text):
# You can check what job and what level a player needs to be.
# Format: Job;Level
jobs-check: Farmer;2
- Added a Region.yml converter for upgrading BlockRegen to version 3.0+.
Start your server and run this command ingame:
Code (YAML):
/blockregen convert
Fixes:
- Fixed an issue when if someone didn't have the required tool to break a block it would style go through all other code like checking for commands etc.
- Changed Metric to MetricLite.

Cheers!
~ Aurorion
----------, Nov 1, 2018

Removed:
- "tool-damage" was added back when BlockRegen cancelled out the BlockBreakEvent making tools not get any damage. Since BlockRegen isn't cancelling the event anymore this option should be removed.

If it should be brought back hit me up on Discord with a really good reason.

Cheers!
~Aurorion
----------, Oct 31, 2018

Added:
- "tool-required" now accepts multiple tools. Format this in the following way:
Code (YAML):
tool-required : DIAMOND_PICKAXE, IRON_PICKAXE
- Added a bone meal override function. This is actually pretty cool. When a player uses bone meal on f.e. wheat, but wheat is also configurated in the blocklist.yml (replacing it with wheat), the wheat will be removed from the regeneration progress so it can be broken again instantly after it is fully grown. So you don't have to wait for the regen time to be over. You can test this with the following settings:
Code (YAML):
Bone-Meal-Override : true
Code (YAML):
   WHEAT:
        replace-block
: WHEAT
        regen-delay
: 30
        tool-damage
: 1
        natural-break
: false
        drop-item
:
            material
: WHEAT
            drop-naturally
: false
            amount
:
                high
: 1
                low
: 1
Just test it with setting it to true and false to see the difference.

Fixed:
- Items with no durability (non-tools) now won't be deleted from the inventory anymore.

Wanna have you server added to the server list on the overview page?
Come join my Discord server and ask for it there. I will review your server and it will be: https://discord.gg/HBfZ6Mm

Cheers!
~Aurorion
----------, Oct 30, 2018

It has been a while!
I have been so busy but I found time again to work on BlockRegen.

First of all I want to thanks everyone for downloading this plugin so much. To see that so many people use this plugin keeps me motivated.

Now onto the update.
What changed:
Since 1.13 was released, Minecraft and therefor Spigot changed alot in terms of block and material related things.
BlockRegen now ONLY supports 1.13 and higher versions of spigot.
There is a poll on my Discord though where you can vote for a legacy version that will support older versions, but I recommend to just update your servers to 1.13+.

- Materials have been updated to 1.13 support. Link to a list of materials:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html.

- Particles has been disabled for the time. It will be back in a special update with lots of particle functions created by me.

- WorldEdit version 7 is now the propper version to use with BlockRegen for regions.

There might be some bugs left but I will be working more on it again to fixed those fearly soon.
If you want to be intouch with be fast then join my Discord server: https://discord.gg/HBfZ6Mm.

And thats all for now. Have a nice day!
~ Aurorion
----------, Oct 19, 2018

So some people told me they had problem with natural drop.
I am currently tweaking the new code in lots of ways.
I might have found a working version, atleast it does work correctly on my test server.
This version does not working with versions under 1.9.
2.5 will.
Let me know in a pm or in the discussion section if all works fine.

Greetz
~Aurorion
----------, Jan 16, 2018

Fixed
- Found a bug where natural drops where dropping together with custom ones. Fixed that and all works fine now.
----------, Jan 10, 2018

Fixed
- Re-did the regeneration methods.
BlockRegen no longer cancels the blockbreak event making it compatible with plugins like Jobs without needed side or API support.
Code is tested but might throw some errors. If that happens pm me or leave a reaction in the discussion area. Will reply asap!

Greetz
~Aurorion
----------, Jan 10, 2018

Added
- Added support for the Towny plugin.
This will regenerate blocks outside towns but will not do this inside towns.
I never worked with Towny before so if I missed something please inform me.

Fixed
- Cleaned up the code.

Upgrading
Add the following line to your Settings.yml or generate a new one.
Code (Text):
# Set this to true if you dont want blocks to be regenerated in Towny towns.
Towny-Support: false

Upcoming update will probably be support for factions aswell.
I still have some trouble with Jobs Reborn support.

Greetz
~ Aurorion
----------, Jan 9, 2018

Upgrading to this version (best way)
1. Backup your old version files.
2. Run 2.4 on a local or test server to test its new features.
3. Make everything as you wish for.
4. Make it public on your server.

Upgrading (my way)
1. Add the following line to Messages.yml:
Tool-Required-Error: "&cYou can only break this block with a &b%tool%&c."
2. Add tool-required to Blocklist.yml if you wish to do this.

Default Blocklist.yml: https://github.com/Aurorion/BlockRegen/blob/master/Blocklist.yml
Default Messages.yml: https://github.com/Aurorion/BlockRegen/blob/master/Messages.yml

Added

- Added a new option called " tool-required".
This option allows you to set a tool that people need to have to break the block.
- Intergrated Bstats.org (usefull for me, you can always opt-out but as this is a free resource I would like you to not do that)
- Added the full source-code to Github. I'm kinda new to Github as I never needed to add something to it. Sorry if I mess up.

Source-Code: https://github.com/Aurorion/BlockRegen

Have a nice day!
~ Aurorion
----------, Jan 6, 2018

Fixed
- mcMMO wasn't working with BlockRegen. Now it does again.

Someone also reported a issue with Jobs Reborn.
Its on my to-do list so should be fixed somewhere next week.

~Aurorion
----------, Jan 1, 2018

There was a problem when drops with data didn't dropped the right item.
Example: lapis lapzuli was dropped as ink sacks.

Fixed
- When natural-break is set to true for a block then the correct items will be dropped again.


~Aurorion
----------, Dec 30, 2017

A Little update to make the last days of this year a bit more fun!

Added
- Particle Effect test option.
You can now add " particle-effect" to a block.
Currently it only has the option "fireworks"
Not yet implemented in the default Blocklist as this is a test build for that part.

Make sure to add it like this: https://gyazo.com/6575b44cd8bdba1d2395ee27ba6a58de
And then it should work fine.

Have fun with it!

~Aurorion
----------, Dec 30, 2017

A not so interesting update.
I came to the conclusion that the Blocklist.yml became very long if you add a shit load of blocks.
This update allows you to remove unused parts

Fixed
- Added null checkers on every single part of the blocklist.yml to preven errors from happening
- Added hard-coded message (2 of them) when a critical error appears.
Player wont see what exactly is wrong but admins with blockregen.admin permission will see where it went wrong in the message.

Adding a block can be very detailed now or just be as short as:
LOG;2:
replace-block: DIRT;2

Also added the default config to pastebin: https://pastebin.com/mRwisuSX


Hope you all had a great christmas and a happy new year
~Aurorion
----------, Dec 27, 2017

The long awaited update is finally here!

After a long time I'm updating BlockRegen to 2.0
It took me a long time to make this update because I am in my final year of college and that takes a lot of my time.

But that at the side. Let me introduce this update to you guys (and girls :p)

Upgrading to this version (best way)
1. Backup your old version files.
2. Run 2.0 on a local or test server to test its new features.
3. Make everything as you wish for.
4. Make it public on your server.

New Functions
- Added command /blockregen region remove <name>
This way you can delete a region ingame.
- Added command /blockregen region list
This lists up all your regions you have made.

- Added events! A brand new thing.
- Added command /blockregen events
This lists up the events you have to be activated. Also shows if one is active or not
- Added command /blockregen events activate <event-name>
Activate an event that you made.
- Added command /blockregen events deactivate <event-name>
De-activate an active event.

- Added console-command option per block.
You can now run a command thru the console when a block is broken.
Place-holders: %player%
- Added player-command option per block.
You can now run a command as the player when a block is broken.
Place-holders: %player%

- Added a custom fortune algorithm compatible with double drop rates in events and both natural-break and direct to inventory.

How to make events
Events are cool and fun. It adds just that little touch to BlockRegen.
Making events is a piece of cake. In the default Blocklist.yml are already 2 examples.
If you add a events like the screenshot below that everything should be fine. NOTE that bossbar is a function for 1.9 and above only.
You can find the colors available for the bar here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
Example:
https://gyazo.com/b7a86a35bd40863841968790d06e3dc6

Fixed things
- Fixed multi-compatible. BlockRegen is now again compatible with 1.8 and 1.9 + versions.
Tested on 1.8 and 1.12.2
- Fixed some blocks with sub ID numbers not being recognised propperly.
Works again in all sections.
- Re-did a lot of code and other stuff to make everything better and more readable.


So thats about it. It doesn't seem to be much but after all I was busy.
This version is tested but I am sure that someone might encounter an error. If this happens just send me a private message or add me on discord if you want to be helped faster. Discord: [TM] Aurorion#1472

If you like this free plugin that please leave a good rating as that keeps me motivated. Leaving bad reviews before asking for help just makes you a c*nt.

And thats that. I wish all of you a very merry christmas and a wonderfull 2018!

~Aurorion

ps: I still would like to know if I should make a video about this plugin to explain everything.
Vote here: https://strawpoll.com/112eh6w5
----------, Dec 23, 2017

So some one told me tool-damage didn't work.

I compiled the latest spigot jar and tested fresh compiled blockregen on that.
Everything works fine. Atleast for me, but I only have 4 plugins on my local server so if there are any issues contact me!

BTW
I'm looking for some people to add me on discord. This way you can contact me super fast as I'm on discord almost every day.
My username atm is: [TM] Aurorion#1472
Add me if you have any problem or want to help testing BlockRegen.

Stay positive!
~Aurorion out
----------, Nov 11, 2017

Some people asked for damage on the tools.
So if you let the plugin generate a new blocklist.yml (back-up before doing that) you well see a new option.

[​IMG]

You can also add tool-damage: amount to you currenct blocklist.yml, that should be working aswell.

Got any errors? please PM me. I do not visit spigotmc.org that much because I have a lot of exams (PM gives me an email)

In January I will have more time to spent on BlockRegen.

~Aurorion

EDIT: haven't tested it that much btw.
----------, Oct 31, 2017

So I removed the support of making regions for a while.
But now I have fixed some parts of that and tested it a bit and decided to update the plugin with fresh new code.

The commands and permissions stay the same.
/blockregen region set <name> Permission: blockregen.admin

Please leave me feedback in the discussion section if it works great or not.

Suggestion to add things are still open!!

Greeetzzz
~Aurorion
----------, Jul 31, 2017

Already found an critical error with the replace-block data.

Thanks to my great great friend Mundakka who found this bug!
----------, Jul 30, 2017

--- THIS IS A PRE BUILD ---

It has been al long while since I updated this.
But finally there is this 2.0 pre build.

So first things first. I recoded to whole plugin to fix some issues and add handy stuff.

- Removed to region function for now (will be in the final 2.0 release)
- Added Blocklist.yml (explains itself)
- Added /blockregen check , you enter a stage in which you bypass blockregen and when you break a block you get a message with the correct value for in the config. Permissions: blockregen.datacheck

Most of the things are self explainable.
I will work towards a full 2.0 release with all kinds of new features.

Any problems or suggestions? PM me or leave a message in the discussion area!

Have a nice day!
~Aurorion
----------, Jul 30, 2017

Added
- Full data support
- Both the broken block, replacing block as the dropped item can now contain data values (for podzol, granite, diorite etc.)

Example: https://gyazo.com/576073e9d741eebcf7f1653a8d2a66f5

Thanks to @iKilledEveryone for asking to add this.
----------, Sep 12, 2016

Added:
- Dropped blocks can now contain data so granite, diorite etc can also be given.
Just add "drop-item-data: {data-number}" to the settings where you want it to apply: https://gyazo.com/8f9995a0c17bf99f36c8b78af2931543


I also made preparations for update 2.0!
This will be a complete rewrite to make handle the plugin in a better way and will also contain WorldGuard support, new Settings and new features!

Cheers,
~Aurorion
----------, Sep 12, 2016

So I have been away for a while.
In this update I fixed some errors.
I also added a new message and a check for invalid command use.
/Blockregen reload now reloads Settings.yml, Messages.yml and the Regions .yml!

I tested this on 1.10.2 and it al works fine.
Suggestions can be made and I will look into adding more stuff!

Greetings
~Aurorion
----------, Sep 3, 2016

Added
Added a new setting: Disable-other-break-region
This prevents breaking of other blocks in ONLY regions.
You can still disable other breaks for the whole world by setting Disable-other-break to false.
So this really just adds flexibility in disabling other breaks

Fixes
- none

Upgrade
- Make sure to backup your Files
- Delete your old Files and let the plugin regenerated the new FILES!
- Have fun with the new features!
----------, Oct 22, 2015

Added
You can now make regions using World-Edit! :D
See the overview page to see how this is done!
I also added 2 new files: Messages.yml and Regions.yml
The Messages are now configurable through the Messages.yml to keep the Settings.yml clean.
Regions.yml is only for saving of regions, so you don't need to touch it.

Fixes
- Fixed the problem with the default settings coming back after a reload/restart
- Cleaned up some code

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new FILES!
- Have fun with the new features!
----------, Oct 21, 2015

Added
Added 2 new options to customize the display name and the lores of the drop-item!
[​IMG]
If you like the resource please leave a review!
And ofcourse keep suggesting things, I really like to work on this plugin :)

Fixes
- none

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Oct 13, 2015

Added
Added 2 new options to the amount section.
[​IMG]
This generates a random number between 0 and 5 in that case but can be any given number.

Fixes
- none

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Oct 13, 2015

Added
- Disable-other-break:
This option will cancel all other blockbreaks if set to true. Can be overriden by the blockregen.bypass permission or by OP's

Fixes
- none

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Sep 22, 2015

Added
- Worlds-Enabled:
You can now add specific worlds in where this plugin does his work!
Requested by @ketchupcoke

Fixes
- Corrected the version strings

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Sep 21, 2015

Added
- Drop-on-ground: false
If you set this option to true, it will drop the item on the ground instead of adding it straight to the inventory.

Fixes
- Commands are now working properly

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Sep 4, 2015

Added
- Vault support! You can now give players money per block. (Vault and an Economy plugin required)
- Option in Settings.yml to disable Vault support even if you have Vault installed

Fixes
- Improved the code alot

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Sep 1, 2015

Added
- New settings options!
- You can now choose per block replacement
- You can also set the delay per block now

Fixes
- When amount was 0 this happend http://i.gyazo.com/b3ac5192638db9f7a9c894e76fe41e60.gif
It now checks if amount is greater then 0 before added stuff to the inventory

Upgrade
- Make sure to backup your Settings.yml
- Delete your old Settings.yml and let the plugin regenerated the new one
- Have fun with the new features!
----------, Jul 23, 2015

- Added /blockregen command (aliases: rb)
- Added /blockregen reload to reload the Settings.yml
- Added a permissions blockregen.admin for the commands
- Added the messages to the Settings.yml so you can modify it

If any one has a suggestion, please feel free to add to the discussion area!
----------, Jul 22, 2015

Resource Information
Author:
----------
Total Downloads: 39,811
First Release: Jul 22, 2015
Last Update: Jan 30, 2025
Category: ---------------
All-Time Rating:
116 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings