NoEntityGrief
NoEntityGrief (formerly known as NoEnderGrief) is an ultra-lightweight plugin designed to simply stop mobs and entities from messing around with your world.
NoEntityGrief prevents: (Entirely multiworld configurable)
- Enderman block interaction.
- Sheep block changing. (They still regrow wool.)
- Explosions. Mobs and/or TNT.
- Snowman snow spread.
- Silverfish breaking regular stone bricks. (They still spawn from the special blocks.)
Code was written from scratch by me. One class file and 46 lines in total. (A mere 2.54kb in size!)
BukkitDev's 1000th accepted server mod!
Confirmed: Good old NoEntityGrief (2.0+!) blocks Wither (block) damage. Have fun boss-fighting!
Edit: It probably also blocks enderdragon (block) damage, but untested.
@laacis2
Enderdragon damage won't be removed. If you are spawning additional ones, that is your issue.
Zombies breaking doors will also not be prevented. If you don't like it, reduce your difficulty.
I hadn't thought about the wither. The wither skulls should already be blocked under the explosion setting. I'll check the initial wither blast though.
It will not be complete entity grief prevention without blocking enderdragon block damage and wither block damage=(
@Fran55on
Nope. This plugin will stay minimalistic and will always try to have less than 50 lines of code.
I suggest WorldGuard, if it is still the plugin it used to be.
Hi,
Thank you very much Fishrock123 for your quick response! And...
Sorry Provinceman. I just had not yet experienced that there was a problem when I answered your question.
This is a great plugin! It does what it aims at and nothing less or anything more. I especially like that the creepers are not cropped (like in some area protection plugins). That leads me to my next question.
Can you do a collaboration with, or hook to, an area protection plugin?
I would like to be able to protect certain areas (like villages or buildings and such) from mob vandalism. While letting “nature take its course” outside the area, making the game more dynamic and interesting.
Right now I lean towards using EpicZones as my area protection plugin. But they "crop" creepers of their explosions.
Best regards Magnus Fransson.
@Fran55on
You are right. It appears that MobExplosions also still count TNT.
Edit 2: Fix uploaded. 2.1.1 pending review.
Edit: This was introduced in v2.1
Hi Fishrock123,
I have now double checked my settings and tried to blow a big hole in the desert with TNT. And the conclusion is that there is a bug in your plugin. I have multiple times verified that grass do disappear when sheeps eat it. I have also verified that snowmen do leave a trail of snow. But there are no hole in the desert.
Here are my settings:
Best regards Magnus Fransson.
@Provinceman
Hi,
The configuration file should look something like this:
Beware that the .yml file is very syntax sensitive. I recommend that you use "Notepad + +" to edit the file.
Best regards Magnus Fransson.
How do you set the config so that you can still use TNT, but creepers can't blow your stuff up?
I've tried every conceivable combination of everyone belows examples and can't make it work properly, can you please put a clear and concise config?
Thanks much!
Hi Fish Rock,
Not that I doubt that it will work this time, (it always has). But could you confirm that it works with the latest RB, please? It would look better in the description.
Best regards Magnus Fransson.
@Fran55on
That is my bad. Sorry. Updating the OP now.
The config is for worlds that you want to have entity block destruction set to on. By default it blocks all non-player block interaction that bukkit allows for.
According to the changelog, version 2.0.4 separates the handling of TNT explosions from mob explosions. Which is not indicated in the main post.
The main post simply states "•Explosions. Period."
Best regards Magnus Fransson.
My mistake. :-(
I should have read the main post before I answered. The plugin has obviously updated with new functions since I installed it. :-)
The Silverfish protection sounds intresting.
Best regards Magnus Fransson.
@ToniHalme
It seems you misunderstood what the intention of the plugin is.
The plug in is intended to protect blocks from being altered by Entities (a.k.a. other mobs than players).
And for what I knew it only protect blocks from four things:
The only settings you can do is to add worlds that you don't whish to protect, under each "group" (a.k.a. Endermen:, Sheep:, Explosion: and Snowman:)
Best regards Magnus Fransson.
@ToniHalme
Is your config being overwitten each time the server loads?
@ToniHalme
I am doing everything as per regular bukkit standards. Nothing is funny. I cannot fix this. I have no way of debugging it. It is something on your end. :(
Here is the source code for anyone interested in helping.
Great plugin indeed BUT! it doesn't seem to be working properly for me and bunch of other people.. And yes I've had other plugins alike running perfectly but just not this one.
My world's name is "Nutcase" and so here this is what I did:
# ExemptedWorlds
Endermen:
- exempted_worldname
Sheep:
- exempted_worldname
- Nutcase
MobExplosion:
- exempted_worldname
TNT:
- exempted_worldname
- Nutcase
Snowman:
- exempted_worldname
- Nutcase
Silverfish:
- exempted_worldname
- Nutcase
But it won't work, this is just one of the many ways I tried to do it. I took of the capital "N" but that didn't change a thing and I tried to replace "- exempted_worldname" with the name of my world like this:
Silverfish:
- Nutcase
..and like this..
Silverfish:
- exempted_nutcase
..But that didn't work either as I assumed it wouldn't. I left the config file untouched but the result was same as edited ones. I changed my world's name to "world" and this made it all work but weirdly just for a couple seconds. Trust me, I've tried it all without any luck.
I have the plugin running perfectly on my server and have had so some time. I recently upgraded my Java to version 7 x64. To be extra sure I just checked, and it still works perfectly. Grass dissepares and snow emerges just as it should.
Here is a copy of my config:
Best regards Magnus Fransson
nice it worked thx :)
I tried to do as you said, it keeps to be not working.