ExplosionRegen
ExplosionRegen is currently NOT maintained
If you want to continue it, send me a PM and I'll create a MIT-like license for the source.
ExplosionRegen introduces the ability to raid any "base" with TNT or Creepers, but limits the amount of possible griefing to stealing chests and diamond/emerald/gold blocks. It goes hand in hand with the Factions plugin.
ExplosionRegen regenerates explosions that have damaged faction territories.
Behaviour
- Explosions that have damaged anything inside a faction claim regenerate after a set time (default 60m)
- If Factions plugin is not installed, all explosions will be regenerated
- If another plugin cancels the explosion (technical: with event priority higher than LOW), nothing will be done
- Block that have been blasted that will be regenerated do not drop (to avoid duplication)
- Regeneration excludes inventory holders like chests; thos drop their contents
- Regeneration also excludes diamond-, emerald- and gold-ores and -blocks; those drop their corresponding item
- Explosions break obsidian in a 3x3 box around explosion center
- Clears liquid during explosion, so that water does not block explosions at all - this also means that vanilla cannons break and since do not behave as expected - aid of another cannon plugin is suggested.
Configuration
Commands
/er regen to regenerate all pending explosions, only available to OPs.
On server stop or /reload all explosions are regenerated in the same manner.
Blocks that regenerate correctly
Some blocks might not be correctly restored. List of blocks or entities that restore or should restore correctly (effort has been put into it):
- All blocks with no special properties
- Paintings
- Item frames
- Flower pots
- Ladders and vines
- Signs
- Player heads only if PlayerHeads plugin is installed!
Blocks that do not regenerate correctly
- Mob heads (maybe PlayerHeads plugin has something - in any case sets orientation wrong)
- Redstone and any other block that cannot "survive" with a block of air below (order*)
- Wheat and any other "plant" that needs farmland below (order*)
- Note blocks (pitch is not restored correctly)
(*order): depends on the order of regeneration - maybe reorder the regenration-blocks from top to bottom would solve this problem.
Blocks with untested regeneration
- Portals
- Pistons
- ???
Changelog
Source code
This plugin performs a heavy and bug-prone task. I intend to keep it lightweight.
I will most likely accept any PRs concerning bug fixes. But if you want me to accept a feature adding PR, please consider sending me a message first or opening a github ticket about it. Source at github
-
View User Profile
-
Send Message
Posted Jan 29, 2013wither explosions doesnt regenerate :(
-
View User Profile
-
Send Message
Posted Nov 21, 2012@PyroGodz
http:dev.bukkit.org/server-mods/explosionregen/#w-configuration
-
View User Profile
-
Send Message
Posted Nov 20, 2012Is it possible to add a config to disable these features?
- Explosions break obsidian in a 3x3 box around explosion center - Clears liquid during explosion
-
View User Profile
-
Send Message
Posted Nov 19, 2012@DeWilX
CreeperHeal is more feature rich and battletested, while ExplosionRegen is small and maintanable.
-
View User Profile
-
Send Message
Posted Nov 18, 2012Thanks for the update, everything seems to work fine. :)
-
View User Profile
-
Send Message
Posted Nov 18, 2012What is difference between this http://dev.bukkit.org/server-mods/creeperheal-nitnelave/ ?
-
View User Profile
-
Send Message
Posted Nov 17, 2012I checked the regen time and it seems to be allright. I tested with 1 minute, anything longer should work equally. Please test with something like 5 minutes or lower - I got some reports of it not working, but it probably was because people didn't stay long enough. It should also always regenerate on server stop.
I added an option to ignore-wilderness, set to false by default. Set to true to always regenerate no matter if factions territory or not. The download is waiting approval (v0.2). This affects the water and obsidian feature.
I will NOT make the regeneration occur slowly/step by step, since that would complicate the plugin way too much. You might want to check CreeperHeal for that, said plugin is more feature rich.
-
View User Profile
-
Send Message
Posted Nov 17, 2012Can you make it regen the rest of the world also, and make the blocks regen slowly so that do not get trapped in blocks and die. This plugin is very good but make the water/obsidian have the same effects outside a Faction too.
-
View User Profile
-
Send Message
Posted Nov 15, 2012@ElGipsy
I looked into the problem. I solved it by adding a zero in front. So if you put 01 it will see it as 1 minute. That seemed to work fine. Also, when do you think you might be able to add the world regen option?
-
View User Profile
-
Send Message
Posted Nov 15, 2012@HammerfeIl
I have reports of that issue, I think I might not be setting the time correctly, I´ll look into that first. You can test the command /er regen.
The obsidian and water options are definitely working.
-
View User Profile
-
Send Message
Posted Nov 15, 2012@ElGipsy
Thanks for the reply and it would be great to still have the option. Also, I set the regen time to 1 minute and it didn't seem to regen the land. I'll try one more idea and report back. thanks
Also do you have the obsidian and water options working at this time?
-
View User Profile
-
Send Message
Posted Nov 14, 2012@HammerfeIl
If you don't have the factions plugin installed, all explosions are regenerated. Do you still need that option?
Also, testing is very welcome :) It would be best to report errors on the github tickets page.
-
View User Profile
-
Send Message
Posted Nov 14, 2012Yes now I get to test your plugin!
-
View User Profile
-
Send Message
Posted Nov 14, 2012Can you add an option that will regen explosions for the entire world after a set amount of time. Aslo, may I help with testing? I have some other ideas that you might like as well. So, just let me know if you would like to hear them.
-
View User Profile
-
Send Message
Posted Nov 14, 2012Sweet, just what I was looking for!