AnimalProtect
AnimalProtect
Created by Damo1995
As you may or may not have seen down in the comments below, World Guard is looking at implementing the function of this plugin into theres. Please click here to see what is going to happen and the way forward for this plugin
== What is AnimalProtect: ==
AnimalProtect is a simple but effective worldguard addon to block players killing animals inside regions they cannot build in.
The plugin will block any form of damage to the mob/animal including bow and arrows.
The plugin will also allow you to configure if you would like to protect hostile mobs inside regions too, this is disabled by default.
== How does it work? ==
AnimalProtect works by checking if the player has permissions to build in the area, either via region addmember or if they have the
bypass region protection built in op flag.
== Config file: ==
# Default Config for AnimalProtect notify: true notify-interval: 10 notify-player: true notify-outdated: true update-check: true shear-protect: true debug: false protect-from-player: - CHICKEN - COW - MUSHROOM_COW - OCELOT - PIG - SHEEP - WOLF - IRON_GOLEM - SNOWMAN - HORSE protect-from-monsters: - VILLAGER FailMessage: You cannot attack mobs here! RideMessage: You cant ride this Horse/Donkey! CommandFail: You lack the necessary permissions to perform this action. AdminNotification: Attempted to kill protected animals
for mobs that can be used in the config click here
== Commands: ==
/animalprotect - Public command to show plugin info.
/apreload - Reloads config.
/apupdate - Checks for updates - If enabled in config.
/aplist <type> - Types: Mobs, Players - List the protected animals.
/apunclaim- Allow players to unclaim horses.
/specialcommand <type> - No the command isent called specialcommand its called something else and it is for horses, But can you find it??
== Permissions: ==
animalprotect.admin - Everything
animalprotect.notify - Notify this player when player attempts to kill animal in protected regions.
animalprotect.bypass - Bypass protections
animalprotect.list - Allows aplist commands
animalprotect.update - Allows apupdate command
animalprotect.unclaim - Needed for the /apunclaim command.
== ToDo: ==
- Add support for use flag.
== Download ==
Source
Version 1.4.1: Download
Like my plugin? Would you consider donating a small amount to keep me encouraged?
No updates to protect villagers from zombies yet? I love this plugin, but it would be nice if we could configure which animals are protected!
Residence support please.
Thank you for separate bypass! I really needed it!
5/5 <3 (I'm loving it)
@Mayhem777
I've just updated it to the latest snapshot of bukkit its awaiting approval but shouldn't be long. I've fully tested this version and know it works for definite no problems at all.
The latest version implements its own permission node to bypass checks animalprotect.bypass OR animalprotect.admin
Thanks Damo1995
Working on 1.3.1? :D
You can shoot the protected animals with bows. ;( I play fight with my dad I'm a bad ass
@weja93
Give them the default worldguard one?
- 'worldguard.region.*'
I will add in a animalprotect permission node in the next build.
Permission to override this protection?
I have event world. The world is one super big region called Event.
There are tamed wolves that need to get killed due to the Event game, and I get notification every time they try to kill them. Can you make override node?
Thanks!
@allix8
Appologies for this.
My web hosting went down and I dident realise I hadent added a exception catcher for that.
All should be back to normal now.
@Meveda
Thanks alot for the clarification!
@damo1995: i have make a test. I have Vault, Chunkown and your AnimalProtect (worldguard too) cant find some trouble with the plugins
testet in region whos nothing own, and in owned regions
@EdictServer How exactly would this work because a zombie cannot own a region? Would you like it to be global if the config says true? or would you like to me to check for a flag on the region?
@Meveda As for making the plugin compatible with ChunkOwn I would have to go look at the source of that plugin and see how it works and if it has a API ect.
Also can anybody tell me if this plugin has problems on your server and you are running vault?
Thanks.
can you make this plugin compatible to ChunkOwn? ( http://dev.bukkit.org/server-mods/chunkown/ ) thanks!
Villagers are protected from players but could we get an option to also protect them from zombies?
@rythar
Your welcome.
For the people who have not yet updated I would recommend doing so.
The latest version is 1.3.1 and this contains new features such as shear protection and iron golem protection.
Thanks for your continued support of this plugin.
Thank you
will this protect golems?
like-like-like))) thx!
Thanks for update :) Like the new shear protection.