Block Manager

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!
-
View User Profile
-
Send Message
Posted Oct 1, 2015Whether this is dead or no I do not know, if it is not an update to use item ids would add be very useful
-
View User Profile
-
Send Message
Posted May 15, 2015@o0ower0o
Can I use this plugin to replace the air blocks after some time, which put the player?
-
View User Profile
-
Send Message
Posted Dec 1, 2014For goodness sake, why doesn't this have Id or data support... It's pretty much must for EVERY plugin that deals with items or blocks!
-
View User Profile
-
Send Message
Posted Nov 30, 2014Just wondering could you add option to config that would make replace block invulnerable? It would allow using more than just bedrock and comamndblocks as a replace materials that players wouldn't be able to break. And if possible I would LOVE worldguard region support so in worldguard region blocks would respawn and outside them they wouldn't, that may be too much to ask but I'm just suggesting things here..
-
View User Profile
-
Send Message
Posted Oct 6, 2014Yes, i need to use this on my server so i'll port il to sponge.
-
View User Profile
-
Send Message
Posted Oct 5, 2014Do you plan rewriting plugin to Sponge Engine?
-
View User Profile
-
Send Message
Posted Aug 29, 2014Yeah, if you restart the server all the blocks will have the exact cooldown as before.
I will add a way to regen all the block (for example using ALL instead of the material's name).
At the moment it works only when a player breaks a block and you can use air as replace material without any problem :)
-
View User Profile
-
Send Message
Posted Aug 28, 2014That's an awesome and really usefull plugin!
But I have some questions... Is there a way to replace ALL blocks destroyed ? Or do I need to type the name of every material in the game ?
Can we replace the block destroyed by air ? Or does it cause problems ?
Does it work when an other thing than a player break a or some block(s), for example a creeper ?
Keep up the good work!
EDIT: One more question sorry :3. Does it work even if the server restarts when the blocks have been destroyed and aren't still regenerated ? Sorry for this type of questions but I'm not home so I can't try it myself...
-
View User Profile
-
Send Message
Posted Jul 28, 2014wow very fast update! thanks fellow cow :) looking forward for the data values
-
View User Profile
-
Send Message
Posted Jul 27, 2014@hazzinco
Fixed for adventure mode. I'll try to add support for data values and i'll upload the file.
EDIT: New version uploaded! Waiting approval
-
View User Profile
-
Send Message
Posted Jul 26, 2014automatic replacement doesn't happen during ADVENTURE mode :(
-
View User Profile
-
Send Message
Posted Jul 26, 2014nice plugin :) can u add blocks with ids 160 to 175 and blocks with hex values?
-
View User Profile
-
Send Message
Posted Jul 23, 2014Ok, new version is approved. This should work ^^
-
View User Profile
-
Send Message
Posted Jul 19, 2014@AzureBlure
Woah, I made an huge error! I just fixed it. I just uploaded the fixed file, hope it will be approved soon! :)
-
View User Profile
-
Send Message
Posted Jul 19, 2014Very nice plugin! I look very long time After a plugin like this!
BUT: It doesn't work :(
The commands doesn't work (I get the message: "Uknown Command. Type '/help' for help." and the Blocks doesn't were restored...