AntiSplosion
Description
This is a ridiculously simple plugin that is capable of nullifying all block damage from:
- Creeper blasts
- Ghast fireballs
- Enderdragons coming into contact with non-ender blocks
- Withers and their skull projectiles
- Players trying to sleep on a bed in the nether or end
- and TNT (this includes TNT carts)
There's no permissions or commands.
Only a simple configuration that makes this plugin more flexible, and a fraction of a hair larger than if it didn't.
Hope you all enjoy!
Configuration
# Setting to true disables the block damage for the selected entity. # Setting to false causes the default behaviour, which destroys blocks. ghast: True creeper: True wither: False enderdragon: False #Recommended if you're spawning one in the overworld. tnt: False tntcart: False bed/other: False #Explosions from beds in the nether or end, as well as potentially other explosions that I've overlooked. # Set this to false if you don't want the extra console output. # This is potentially spammy if used with enderdragon or wither set to true. logging: True
ChangeLog
- v1.0 - Initial Release
- v1.1 - Updated for 1.4.5
- v1.4 - Updated for 1.4.7, added console logging.
- v1.6 - Updated for 1.5.2, added basic configuration.
- v1.6.6 - Updated for 1.6.2, fixed logging to show accurate coordinates.
- v1.7.2 - Updated for 1.6.4, will now prevent damage from TNT carts.
- v1.7.3 - Added metrics. (I would appreciate it if you updated to this version!)
- v1.8.0 - Updated for 1.7.9, fixed logging, beds, and withers.
Important Notes
- This only cancels the BLOCK damage. Not damage to any entities or players within the blast radius.
Updated for 1.7.9 and fixed things. File pending approval.
Edit: It's been 5 days, metrics shows it's been run and presumably tested. No approval, no PMs, and I'm clueless.
@server075
I haven't tested it.
dos it work for a bed in the nether?
@Xeron_Liberezi
I completely forgot that TNT carts were a thing. I'll have that fixed soon.
I'm glad you like my plugin. :)
Hi. Thanks for making this plugin as it really helps with the griefing problems I have had at my server.
I have a request for something you can add if you have the time for it. As stated in the plugin info Creepers, ghast, and tnt explosions are nullified+ enderDragon griefing and witherskulls. But there is one item that it doesn't Nullify the explosive damage of and that is TnT carts. they still explode, they still break blocks.