Disabling explosion damage
Method Comparison
| Method | Scope | Affects Vanilla Mobs | Affects EliteMobs | Recommendation |
|---|---|---|---|---|
| /gamerule mobGriefing false | Global | Yes | Possibly not* | Use for vanilla mobs only |
| WorldGuard elitemobs-explosion-block-damage | Per-region | No | Yes | Best for selective protection |
| doExplosionRegen: false | Global | No | Yes (prevents regeneration) | Use if you want permanent damage |
*mobGriefing effectiveness against EliteMobs is not confirmed due to custom explosion handling
Disabling block damage
Using gamerule
Run the command /gamerule mobGriefing false. This prevents block damage from vanilla mob explosions.
WARNING: This may not affect EliteMobs explosions due to custom explosion handling. EliteMobs explosions have their own regeneration system. Use the EliteMobs-specific methods below for guaranteed results.
Using WorldGuard
Set the custom EliteMobs WorldGuard flag elitemobs-explosion-block-damage to deny in your WorldGuard region. This prevents EliteMobs explosions from damaging blocks.
Note: This requires both EliteMobs and WorldGuard to be installed. This is a custom flag registered by EliteMobs, not a standard WorldGuard flag. It only affects explosions from EliteMobs, not vanilla mobs.
Stopping EliteMobs fireballs from damaging blocks
EliteMobs' fireball powers (such as attack_fireball and tracking_fireball) are Lua scripts in the plugins/EliteMobs/powers/ folder. There is no per-power isEnabled toggle for these built-in Lua powers — the recommended way to stop their block damage is one of the supported block-damage controls below:
- Per region: set the WorldGuard flag
elitemobs-explosion-block-damagetodeny(see the WorldGuard section above). This stops EliteMobs explosions from breaking blocks in that region while still allowing the rest of the power's effects (knockback, entity damage). - Server-wide cleanup: leave
doExplosionRegen: true(the default) so any blocks that are broken automatically regenerate about a minute later, making the damage temporary.
Configuring EliteMobs Explosion Regeneration
EliteMobs explosions automatically begin regenerating blocks about 1 minute after the explosion. You can control this behavior in the config.yml file:
- Open
plugins/EliteMobs/config.yml - Find the following settings:
doExplosionRegen: Set tofalseto prevent block regeneration (blocks stay destroyed)doRegenerateContainers: Set tofalseto prevent chest/container regeneration
Note: If doExplosionRegen is true (default), blocks will automatically repair themselves, making explosion damage temporary rather than permanent.
Other Explosion/Fire Powers
EliteMobs ships several other powers that cause explosions or fire. These are Lua scripts in the plugins/EliteMobs/powers/ folder:
Ender Dragon Powers:
ender_dragon_aimed_fireball.luaender_dragon_disco_fireballs.luaender_dragon_fireball_bombardment.luaender_dragon_ender_fireball_bombardment.lua
Other Explosion Powers:
gold_explosion.luaarrow_fireworks.luafireworks_barrage.lua
Fire-based Powers:
firestorm.luaflame_pyre.luaflamethrower.luaattack_fire.lua
As with the fireball powers, these built-in Lua powers do not have a per-power isEnabled toggle. To stop the block damage they cause, use the WorldGuard elitemobs-explosion-block-damage flag or the explosion regeneration settings described above.
Regional Explosion Control (WorldGuard Required)
If you want to disable explosions only in specific areas:
- Install WorldGuard plugin
- Create or select a WorldGuard region
- Set the EliteMobs custom flag:
/region flag <region-name> elitemobs-explosion-block-damage deny
This prevents EliteMobs explosions from damaging blocks only within that region, while allowing explosions elsewhere.
Troubleshooting
If blocks are still being damaged after setting the WorldGuard flag:
- Confirm the region actually covers the area where the explosions happen (check with
/region info) - Verify the flag is set to
deny:/region flag <region-name> elitemobs-explosion-block-damage deny - Make sure both EliteMobs and WorldGuard are installed and loaded (check the startup log)
- Check server logs for EliteMobs or WorldGuard errors
If blocks are being destroyed and not coming back:
- Check if
doExplosionRegenis enabled - blocks will start regenerating about 1 minute after the explosion - The WorldGuard flag prevents block damage entirely within a region; explosion regen only controls cleanup of damage that did occur
- For permanent block protection across the whole server, set
doExplosionRegen: falsein config.yml