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 Jun 10, 2015Does this plugin make the blocks instanly regenerate when the time comes, or does it regenerate block by block in order it was destroyed? that would be cool...
-
View User Profile
-
Send Message
Posted Mar 19, 2014Wont let me install this without Factions
[21:56:35] [Server thread/ERROR]: Could not load 'plugins/ExplosionRegen.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Factions at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:201) [craftbukkit.jar:git-Spigot-1322] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit.jar:git-Spigot-1322] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:135) [craftbukkit.jar:git-Spigot-1322] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:437) [craftbukkit.jar:git-Spigot-1322] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1322]
-
View User Profile
-
Send Message
Posted Mar 5, 2014I like this plugin, but I use it in conjunction with Onsidian Destroyer because I don't want all block types to be blown up with tnt. Currently the only block I have affected by tnt is Mossy Cobble.
Basically if a player blasts an area, they can mine the blocks that weren't blown up and the block will regenerate at the given time.
-
View User Profile
-
Send Message
Posted Feb 27, 2014@Nebula111
Would you consider adding an api?
-
View User Profile
-
Send Message
Posted Feb 23, 2014@Nebula111
Thanks for finding that, I will remove it.
I will check for door dupes too.
-
View User Profile
-
Send Message
Posted Feb 22, 2014@ElGipsy
I fixed it, the problem is you hard depend on factions in your plugin.yml. I got rid of that and it works just fine
I did notice doors duplicate though.
-
View User Profile
-
Send Message
Posted Feb 22, 2014@crackster9000
This plugin never blocks explosions, check factions flags or other plugins
@Nebula111
It should, I will look into it when the next update comes
-
View User Profile
-
Send Message
Posted Feb 21, 2014Doesn't seem to work without factions.
-
View User Profile
-
Send Message
Posted Jan 15, 2014its not working it saying that the plugins works but i cant explode my friend faction in the nether (i allowed it) i don't know about the normal world
-
View User Profile
-
Send Message
Posted Nov 25, 2013Wow, this is impressive. That plugin is definitely staying on my server. Thanks
-
View User Profile
-
Send Message
Posted Jul 27, 2013Can someone take over this plugin?
-
View User Profile
-
Send Message
Posted Jul 25, 2013@calushonator
Sorry, I'm not playing minecraft now, so this is abandonded. Feel free to fork it oon github.
-
View User Profile
-
Send Message
Posted Jul 24, 2013I'm running your latest verison (v0.3) on a 1.6.2 server, it works fine and throws no errors, but once I enable Factions (2.0.2) I get the error: 2:57:34 PM CONSOLE: [SEVERE] Error occurred while enabling ExplosionRegen v0.2 (Is it up to date?) Might this be a compatibility issue?
@Matt19901 Yes, as long as you don't have the 2.0.2 version of Factions, it seems to work fine.
-
View User Profile
-
Send Message
Posted Jul 2, 2013Does this work on 1.6
-
View User Profile
-
Send Message
Posted Mar 26, 2013Thank you for your feedback. I am running this on a server, with a bukkit dev snapshot, and I don't get those exceptions. I do have some problems with signs not getting regenerated properly etc.
So, I will fix the issues I experience, and once there is at least a beta build for 1.5, I will build ER against that.
-
View User Profile
-
Send Message
Posted Mar 25, 2013when an explosion happen it gave a massive console error: http://pastebin.com/WLQSs2tf
-
View User Profile
-
Send Message
Posted Mar 22, 2013I got this error in console when i tested it: http://pastebin.com/ZSysTmgY
-
View User Profile
-
Send Message
Posted Mar 22, 2013Does this work with 1.5.1?
This would be an amazing plugin!
-
View User Profile
-
Send Message
Posted Mar 19, 2013@KraZyDTC
set ignore-containers to false: this will stop chests from dropping, they will disappear but regenerate, effectively keeps them from breaking.
@midbifroid
Feel free to submit a pull request.
-
View User Profile
-
Send Message
Posted Mar 13, 2013Hi, I was wondering if this plugin could keep explosions from breaking chests in faction territory.
Thanks