Skip to main content

Disabling explosion damage

Method Comparison

MethodScopeAffects Vanilla MobsAffects EliteMobsRecommendation
/gamerule mobGriefing falseGlobalYesPossibly not*Use for vanilla mobs only
WorldGuard elitemobs-explosion-block-damagePer-regionNoYesBest for selective protection
Disable power filesGlobalNoYesBest for completely disabling fireball powers
doExplosionRegen: falseGlobalNoYes (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.

Disabling EliteMobs fireballs

  1. Go to the plugins/EliteMobs/powers/ folder (Linux/Mac) or plugins\EliteMobs\powers\ folder (Windows).
  2. Go to attack_fireball.yml and set isEnabled to false.
  3. Go to tracking_fireball.yml and set isEnabled to false.

Configuring EliteMobs Explosion Regeneration

EliteMobs explosions automatically regenerate blocks after 2 minutes. You can control this behavior in the config.yml file:

  1. Open plugins/EliteMobs/config.yml
  2. Find the following settings:
    • doExplosionRegen: Set to false to prevent block regeneration (blocks stay destroyed)
    • doRegenerateContainers: Set to false to prevent chest/container regeneration
    • preventCreeperDamageToPassiveMobs: Set to false to allow elite explosions to damage passive mobs

Note: If doExplosionRegen is true (default), blocks will automatically repair themselves, making explosion damage temporary rather than permanent.

Disabling Other Explosion/Fire Powers

EliteMobs has additional powers that cause explosions or fire damage. Each can be disabled individually in the powers folder:

Ender Dragon Powers:

  • ender_dragon_aimed_fireball.yml
  • ender_dragon_disco_fireballs.yml
  • ender_dragon_fireball_bombardment.yml
  • ender_dragon_ender_fireball_bombardment.yml

Other Explosion Powers:

  • gold_explosion.yml
  • arrow_fireworks.yml
  • fireworks_barrage.yml

Fire-based Powers:

  • firestorm.yml
  • flame_pyre.yml
  • flamethrower.yml
  • attack_fire.yml

Set isEnabled to false in each file to disable that power.

Regional Explosion Control (WorldGuard Required)

If you want to disable explosions only in specific areas:

  1. Install WorldGuard plugin
  2. Create or select a WorldGuard region
  3. 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 explosions are still occurring after changes:

  1. Restart the server (not just reload) - Power changes require a full restart
  2. Verify the file names are exactly: attack_fireball.yml and tracking_fireball.yml
  3. Check that isEnabled: false is properly formatted (YAML syntax: 'isEnabled: false')
  4. Ensure no spaces before 'isEnabled' in the yml file
  5. Check server logs for EliteMobs configuration errors

If blocks are being destroyed:

  1. Check if doExplosionRegen is enabled - blocks will regenerate after 2 minutes
  2. Disabling powers prevents explosions entirely; explosion regen only controls cleanup
  3. For permanent block protection, set doExplosionRegen: false in config.yml