WorldGuard Explosion Flags
Description
WorldGuard Explosion Flags allows you to block certain explosion types in WorldGuard regions, depending on their source. It also blocks the destruction of blocks inside the region if there was an explosion next to the region.
Click here for a list of the supported explosion types.
It adds two new flags:
- deny-explosions: deny explosions of the given explosion types
- allow-explosions: allow explosions that have been forbidden in a parent region
Example:
/region flag no-tnt deny-explosions tnt
You can also use the any flag to block any kind of explosion:
/region flag no-explosion deny-explosions any
You can also use both together to provide a whitelist of explosion types:
/region flag creeper deny-explosions any
/region flag creeper allow-explosions creeper
As you see the flags are used as any other WorldGuard flag.
The plugin requires WorldGuard Custom Flags.
Click here for some other plugins using WorldGuard Custom Flags.
Problems ?
If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.
Itemframes are getting destroyed by ANY explosion in a protected area
I have set all "entity-item-frame-destroy" to deny but NOTHING worked..........
this does not work....
tried this out because I wanted to put in endercrystals but not allow them to be destroyed. it seems to stop the block damage (or is that part of a normal world guard region?) but the crystal still blows up, killing the person and destroying the crystal...this due to a needed update for 1.7?
@jhs232
You can just go into the config (%appdata%/config/weaponmod.cfg) and all the way at the bottom there are options for that:
B:cannon-block-damage=false B:dynamite-block-damage=false
If you're running a server you need to make sure the client and server configs match so do the same on the client.
Works perfectly! don't forget "The plugin requires WorldGuard Custom Flags."
Anyways this is very useful please keep making extensions for world guard!
Confirmed working on 1.6.2!
<3
Hey dude I was wondering can you tell me? Does this protect spawn from withers and can you tell me how to go the flag command my region is 'spawn' of you could help i would be so grateful :)
This doesn't work on 1.5.2!
Does this work on 1.5.2? thanks
Update?
There is no protect painting and item frame.
The event is HangingBreakEvent at event.getCause() == RemoveCause.EXPLOSION
@jhs232
I don't know, try older versions, but these should work with 1.2.5. (Explosion Flags 1.1 is only for 1.4.2, but 1.0 should work with 1.2.5 too.
@der_mewin
Ok, will this work on 1.2.5? (Tekkit is 1.2.5) Thanks a lot for your help.
@jhs232
Technically you should be abled to block these explosions by using "other" as value, but you can't differentiate between the different explosion types of Tekkit.
would this be able to block tekkit explosions? Like would it be able to block Balkon Weapons Mod explosions? (Cannons, dynamite)