AntiCreeper
AntiCreeper
- Tired of rebuilding every building in your server, because those green things ruin them all the time?
- Tired of filling in all the explosion-created holes? Wish you could tell people to do it themselves?
- And also you hate the mods which make the creepers just walk around without doing anything to the players?
- Do you have a nether paradise? Do you hate the fireball spitting ghasts or players exploding beds?
- Too much grief with TNT?
- Those missing or randomly placed blocks from endermen triggering your OCD?
- Having fun with fireballs but don't like the fire? Or want creepers to burn stuff too?
- That huge hole left by Wither boss got you down?
- AntiCreeper config.yml too confusing for you?
- Want to spawn an Enderdragon but don't like the wholesale destruction?
If You say yes to just one of the questions, then this plugin is for You!
This plugin by Filbert66, though its roots come from @Rothens.
Features
- Cancels creeper environment-destroying behavior.
- or optionally allows it but can leave 100% of destroyed blocks, allowing easy rebuilding.
- and/or configure a height below which it is allowed, or alternatively above which it is allowed.
- and/or define a list of blocks that are (the only/NOT) affected
- and optionally disable sound & smoke or player damage, if you really want to
- and selectively configure which entities receive damage or not.
- Cancels TNT, Fireballs, Wither explosions, ender crystal, unknown explosions (from other plugins) with all of same options as for creepers, above
- optional different configuration for wither skulls and TNT minecarts.
- But can damage the players in all cases! (you can now control this, too)
- Cancel various enderman behaviors, including block pickups, or just put-downs.
- with configurable white/blacklist!
- cancel damage caused by lightning (for you spell-makers out there).
- disable Wither & Ender Dragon moving through and damaging blocks
- both support configurable blocklists
- Detailed configuration now available!
- Multi-world support; [In 4.17] you can now turn off Anticreeper's behavior for certain explosions in certain worlds.
- In-game commands to query, set, and save configuration items
- allows testing config changes without making them permanent
- save configs to disk without every manually editing config.yml.
- disable exploding beds in the nether
- Override explosion power to strengthen/weaken each explosion type
- Option to throw destroyed blocks a distance based on proximity to explosion center; or, throw whole blocks and they get placed around [n 4.18].
- Supports multiple languages on all player messages
- See Languages and Translations page for details.
mobGriefing rule not the same
I hope you see that this does much more than the mobGriefing game rule. Yes, it's almost the same as the default Anticreeper config, but not the same. In fact, this plugin started because it seemed incorrect that creepers can't blow up blocks when in the deep dark, mining. See my comment on this for an equivalent Anticreeper config.
Anticreeper allows you to do more, including fine-tune what/who gets damaged from explosions, at what height/depth you need to be to cause block damage, create protected block types, allow damage from one mob explosion but not another, and lastly but perhaps most significantly, nerf TNT damage which mobGriefing does nothing about!
Configuration Description & Hints
Please READ THIS LINKED PAGE FIRST before you post here with problems.
Still Not Working for you?
Most common error is misspelling your world name. Log into your world and execute these commands in game:
ac world ac world on ac save
First tells you if you had it on in that world. Second activates it, just to make sure. Third saves it so it sticks.
Commands and Permissions
Details about in-game commands and associated permissions are found here.
Statistics
Since 4.8 the plugin now sends statistics to mcstats.org. These are completely anonymous and help me as a plugin developer know how the plugin is being used. You can view the same data by clicking below. If you want to turn it off, simply edit plugins/PluginMetrics/config.yml and change opt-out: false to true
Planned Features
Click here to have input into what I should do next.
Any donations are welcome and will inspire more features. :)
@filbert66
oh yeah never mind i think it does happen straight away
EDIT it takes 3 - 4 ticks to detonate i think
@RossGosling
Would you like to be able to set the delay? Right now it's hard-coded at 1 tick, since I thought it's supposed to happen right away normally. No?
@filbert66
ok they now set off the TNT but its instant there is no white flashing then explosion
@RossGosling
Ross, thanks for your report. Have fixed your bug. Please download 3.3.1. If you want it before it's published here, try this link.
@RossGosling
Hmm.. you are right, not behaving as expected. I may need to specifically trigger affected TNT. Started ticket 12
How would I set my config up so all explosions can do it start TNT chains but not damage land etc.
This is my current config, it can only destroy TNT but I want it to set off TNT but the TNT just disappears.
@filbert66
This bug in Bukkit now been fixed and released in 1.2.4. But when I tested Anticreeper 3.3.1 with Bukkit 1.2.5, the bug is worse! All damage is still imparted even when you cancel the explosion.
@EduwHS
Yes, no issues using 3.3.0 with CB 1.2.4-R1
Does 3.3.0 works fine on CB 1.2.4-R1.0?
BTW, if you've downloaded 3.2.0 or later and have tried to turn off player damage (setting entitydamage to false), but still see players getting 0.5-3 hearts (or even death when hugging a creeper/TNT), this is a bug in Bukkit. I have reported it and it's reported to be fixed in 1.1.-R.8 but not yet in the mainline of code.
@RossGosling @MachetePanda
Ross and Machete, since you both asked, I went ahead and integrated nerfing endermen into this plugin, now in version 3.3.0. It seems to go along best with the idea of avoiding mob "griefing".
Hey, everyone, sorry for the frequent updates, but just found a problem with the default values while coding a new feature. You can skip 3.2.1 and go straight to 3.2.2. 3.2.1 fixed an annoying bug, so do recommend that you update.
@SoulKeepz
Yes, that's right. Note that I made release yesterday of 3.2.0 that updates the config format, so now there are two config pages:
New jar is backward-compatible with the old format, if you prefer to still use that.
For one reason or another, I'm unable to view the config description and hints. As long as I change the "nerfed worlds: -world" to whatever my world is, should work right?
@RossGosling Ross, OK, that's the second request for nerfing endermen. Is it really easier to have that in this plugin than to also use AntiEnderman? See the link to it on my Planned Features page.
On your second request, Just posted this to the Configuration page:
Allow TNT to damage only other TNT, anywhere, except another TNT block. Still will damage players and other living entities.
Another thing, how would i set my config up so that it allows TNT to detonate each other but not damage any other block
Could you add an option to stop ender pickups?
@ramsydk
Ramsydk- see my reply to @keitarosk who complained about the same thing.
@keitarosky
Sorry, guys. I will come up with a new version very soon to turn off the annoying messages. I saw that myself but once I added world_the_end to nerfed_worlds, I forgot about it.
In fact, that's the workaround. Add the following to your config.yml, and it will stop
It will also have the affect of applying all your settings to the listed worlds, but since the plugin only affects creepers, TNT, and fireballs, there will be few affects to The End. And if you haven't enabled nerf_ghasts, then I don't think even enderdragon fireballs will be affected.
This looks awesome. Been wanting better controllable creeper damage a LONG time... Trying it right away!