BlastRepair
Description
This plugin will regenerate TNT and Creeper explosion holes in a natural way. You can set which worlds are enabled, how long before explosions starts regenerating, and how large a gap in time between each block regeneration. BlastRepair is unlike most other Plugins which perform this task in that it can repair multiple holes even in large areas of sand with minimal deformation, and instead of disabling chests being destroyed, it saves their contents and replaces the chest along with other blocks.
How it works
BlastRepair works by saving all blocks in an explosion event, randomly mixing them to get the natural generation feel, and then sorting them by height, or block Y value. It then splits this list into two lists, one for non-dependant materials, and one for dependant materials. This is so that blocks that depend on other blocks to exist can be regenerated after non-dependant blocks so they have a base to attach to.
There are a lot more technical details for situations like sand, falling blocks, chests, and signs, but I wont explain them in depth right now.
How to install
Simply drag and drop into your Plugins folder, reload or start your server and it will create the necessary config file. This plugin has no dependencies.
Customisation
This plugin has a few levels of customisation. Inside the config file is a list of worlds, and whether BlastProtection is enabled on each of them. Default setting is disabled.
REMEMBER TO CHANGE EACH WORLD YOU WANT TO BE PROTECTED TO "AutoFix: true" IN THE CONFIG FILE
This brings me on to commands.
Commands & Permissions
This plugin currently only has one command:
brenable: usage: /brenable
description: This command enables or disables BlastProtection in the world you are currently in. This is so users who do not have to have access to the config file can enable and disable protection on each world, with the right permissions.
permission node: blastrepair.enable
Updates
This plugin does not currently auto update, nor get information about new updates. You'll just have to do that yourself for now, although I will try and list accurately the versions of Bukkit which each version of this plugin works with.
Statistics
This plugin does not collect any statistics, although I would like to collect info on how many servers are currently using it. If this does happen it will not be implemented for some time.
Current Bugs
- Signs will not regenerate original text.
- Very large explosions may not fully reform - One or two blocks may be missing.
- In sand explosions, the above may happen more often.
- Paintings and Item frames do not regenerate.
- Beacon effects do not regenerate.
Todo
- Try and get Beacon effects to save and restore.
- Restore potion stand, cauldron, dispenser, jukebox and dropper inventories.
- Figure out why sign text doesn't update.
FootNote
This plugin has not been fully tested although I have done as much as I can. If any of you come across any problems, notify me and I will try to fix them as soon as possible.
As always, if any of you have any suggestions, or wish to see anything added or changed in this plugin, ask and I will do what I can.
Hello, my friend, this plugin is really great, it worked very well for me but I would like you to update it to the newer versions including MC1.8.9, because if it works but it throws some incompatibility errors, I have not found a better plugin than yours, greetings ...
Awesome
@ItsRodrick
All inventories of Hoppers, Dispensers, Droppers and Furnaces will now all regenerate inventories in the latest version (which has yet to be accepted). The burning furnace "glitch" is still there, but if it was a burning furnace before the explosion it obviously had something in it cooking, which will regenerate and continue cooking, thus removing the burning furnace state when finished.
Beacons are fine, very small problem (Custs 1 iron/emerald/diamond/gold :P)
Just signs don't update (I know it's a known issue, but...) Also, Furnaces don't keep anything (and drop anything) and when it regenerates it keeps as a "Burning Furnace" until you cook something Dispensers, Droppers and Hoppers also doesn't regenerate
I don't think these things are ultra necessary but it would be cool to have support to these things :)
@penne12 @vggaming
Latest build has now been accepted on here, download link is in the usual place. Have fun using this Plugin!
@ItsRodrick
I'm not sure I will be able to fix this bug currently, It's not possible to get the selected Beacon effect, nor set it back to what it was originally.
@templay3lf Could I get a direct download link (pm)?
@vggaming
Sorry, I have submitted a few builds but none have been accepted yet. I did link an external site below, but that was removed, you'll just have to wait until a version is accepted by an admin. :P
uhh....may i know where is the download button? this site changed a lot...wheres the download button? lol
@umegonta
Added section in config "KeepInventory", set it to false and it wont regenerate items in any blocks. Default is true.
@umegonta
It does restore all items in chests including their metadata, although I can add in an option to disable this if you so wish. Just reply here, confirming you would like this feature, and I will do it as soon as possible.
@ItsRodrick
Just Beacons, or are there any other problems you are having? I'll look into it. :)
bolehlah tahan
Awesome, works nicely :) Just a tinh bug: Beacons don't regenerate with the selected effect
Hey Templar3lf, I don't know if this is advertising (I hope it's not, I'm not trying to), but here goes: I really like your plugin, especially that it also restores the items in chests :)
I would like to donate, but I unfortunately can't. I saw a bunch of other plugin devs having donate buttons for bitcoins, so I thought you might accept them too. Anyway, I can't send you bitcoins but you can sign up at qoinpro to get free daily bitcoins just for registering. That's the best I can do to support your great work, I'm sorry I can't donate :/
I think they might sell your e-mail address to advertising companies for money, so try to use a spam/junk email that you don't care about when you sign up :)
Anyway, here's the link you can use to sign up: [affiliate link removed]
Does this also save items inside chests? I do NOT want to be though, personally.
@Jimfutsu
Setting sign text and updating signs does not seem to work fully in the latest craftbukkit, not sure why, but I'll update in the changelog when it works.
Does this work with signs? As far as Im aware, this mechanic dosn't repair the text on signs.
@TempusVulpi
As far as I can tell from the video, creeperHeal doesn't react very well to multiple explosions at once. Plus, this is more customisable in that I can edit it any way I want. I will also work on what other people want. Yes, features from this overlap with creeperHeal, but I am hoping to develop it into a different beast entirely.
@madtomic
I have this file on MediaFire: [removed] But I am supposed to warn users when posting links to other download sites, so consider this a warning.
I have a pending submission and am waiting for an Admin to accept it, so until then, you can use this link.
Staff edit: removed link to unapproved file
This is just a Remake of Creeperheal :/
very nice concept. can't wait to test it. do you have a dev for testing?
@PapiDimmi
It's more than a concept, I am attempting to release it. Just waiting for the first release to validate. :)