
Ever wanted to restore a block after a player destroyed it? Now you can! This plugin allows you to regen blocks a player destroyed after a certain amount of time. You can decide the worlds where your settings will be effective and you can regen as many blocks as you want!
Install
Drop this plugin into your plugins list and start the server, your config will be generated. Now you can edit your config and then reload it!
Usage
When you break the block specified in the config, it will be replaced with the replace block, after a certain amount of time (you decide) it will be regenerated!
Commands
- /blockmanager reload - Reload config
- /blockmanager regen - Regen all blocks immediately

Config
version: 0.01 #this is the version, you don't need to modify this metrics: true #enbale or disable hidendra metrics blocks: #don't touch this world: #the world where the settings will be effective STONE: #the material, you can get a list here: http://jd.bukkit.org/dev/apidocs/org/bukkit/Material.html data: -1 #data value of the block, if set to -1 it will be active for all the data values, DIRT with data set to -1 will be active for Dirt and Pozdol. If unset it will be active only for data value equals to 0. Optional replace: BEDROCK #the placeholder time: 5 #time in seconds for the regen to be effective degradation: 0.0 #destroy chance, 0.1 means it has 10% chance of not respawning, optional onlyNatural: false #only natural blocks, optional maxUse: 5 #the number of times this block will be regenerated, optional world2: #like before
OnlyNatural and maxUse are saved as metadata so every time you restart your server all the blocks are considered natural and the times a block has been destroyed won't be memorized. This is usefull to prevent an abuse and it has low impact on the server memory.
At the moment you can only set a data value and you can't use the same material with different data values (you can't have two Dirt section with different data values). I will change this in the next version.
Permissions
- BlockManager.admin - gives acces to reload and regen commands.
Compatibility
This plugin works for 1.7.9, it should work on 1.7.2/1.7.5 since it doesn't need UUIDs to work.
Metrics
I'll use metrics to see where this plugin will be used. You can find these stats on mcstats.org!

