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. :)
@Dolphin263
See the ticket 36 for a config-based work-around. New patched version about to be released, just needs more testing.
@filbert66
Yes, players catching on fire is what is missing. It almost acts as if the player has a fire resistance potion, but they don't. Blaze fireballs still catch the ground on fire if players run into that block-on-fire they still ignite. However, the fireballs themselves never catch the player on fire so blazes are super easy without the need for fire resistance potion. By "anymore" I mean that I'm a new user to AntiCreeper. Before I started using the plugin, blaze fireballs behaved normally.
I'll upload my config in a bit, and link to it here.
Edit1: Here you go: http://pastebin.com/0heTLyBL
Edit2: I also just verified that if I remove AntiCreeper, blazes fireballs revert to correct behavior. I wanted to double check because I did make a couple other server changes around the time I added AntiCreeper, and wanted to make sure it wasn't caused by one of those.
Also, I forgot on my previous response to say: Thanks so much for looking into this!!!!!
Edit3: Oh, and I am using craftbukkit-1.7.2-R0.2.jar and AntiCreeper-4.13.1.jar
@Dolphin263
FYI, blaze fireballs (SmallFireballs in general) don't explode at all. They catch things on fire. Is that the damage you are expecting and isn't happening?
@Dolphin263
Please send your config or the result of the "/acp fireball" command. And what Bukkit version and Anticreeper version you are using. You say "…anymore". Is there something you changed that maybe triggered the change in behavior?
I actually experimented with small fireballs (what blazes throw) so there may be some latent code doing something. Yes, it should be ruled by nerf_fireball section.
This is an awesome mod! Thanks so much!
One small problem I have is that it does not appear to me that blaze fireballs damage players anymore. I think I have a default config except wrt creepers. I had thought this would be affected by the nerf_fireball section, and that clearly has entitydamage:toplayer set to true. Is it controlled elsewhere in the config for blazes?
Tested on the 1.7 beta with 4.13 and my old config, where creepers do damage but don't destroy the terrain. It works.
@general656
Assume you are referring to the mobGriefing game rule. Yes, it's almost the same as the default Anticreeper config, but not the same. See my earlier reply to this for an equivalent Anticreeper config.
Of course Anticreeper allows you to do much more, including fine-tune what/who gets damaged from explosions, 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!
You know guys ... this is why /gamerule command exists ... -_-
Is it working on 1.7?
@filbert66
Ah, thank you for clearing that up :D
@bounce_raff
Hold on. There are new APis in 1.6.4. I only meant to say that AntiCreeper has no dependencies on 1.6.4. Having said that, other plugins can and do have dependencies, such as last two versions of my own AntiFire.
@filbert66
Sweet! Thank you for the quick reply, too :D
So, if there aren't any new dependencies, ANY plugin that worked with 1.6.2 should work with 1.6.4 as well?
@bounce_raff
Yes, it works with 1.6.4. There are (at present) no new Bukkit nor Minecraft dependencies in AntiCreeper. But I am waiting for some new Bukkit APIs so that some pending features can be implemented.
Does this work in 1.6.4?
@filbert66
Thank you very much! :D
@aklp4
Done. Look on the Config page here.
Hi! can you please upload which is the default config for minecraft so I can only change the things I need? like only changing the yield for creepers but keeping everything else default! Thanks! Great job!
This dosen't work for me with voxelsniper 09:17:36 [SEVERE] Error occurred while enabling AntiCreeper3 v4.12 (Is it up to date?) java.lang.NoSuchMethodError: org.mcstats.Metrics.addCustomData(Lorg/mcstats/Metr ics$Plotter;)V at net.anticreeper.Anticreeper.triggerStats(Anticreeper.java:436) at net.anticreeper.Anticreeper.onEnable(Anticreeper.java:394) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:381) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.jav a:282) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer. java:264) at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:3 13) at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:2 90) at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:2 50) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.jav a:151) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :391) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82)
Just posted version 4.11 with NEW optional separate TNT minecart and wither skull controls. This version was compiled against Bukkit Release 1.5.2 but should work against 1.6.2 development builds as well.
Ender crystal explosions are now in 4.12. This compiled against 1.6.2 beta build but should work with 1.5 or more
@jeremy123321
Working on some new features, but existing version 4.10 should work for 1.6.1 Bukkit development builds.