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?
Hello, i use your plugin and saw that player can hurt animals by using bow with enchant "Flame".
@DeluxeCraft
Can you ensure you are using the latest version 1.6.2 and not 1.6.0 as the stack trace you have given me shows version 1.6.0.
@DeluxeCraft
This is due to a change in methods in bukkitlib. I will try and re-compile this with the latest and update it ASAP. Sorry for your wait in a response back.
@TNTUP
I'll look and see if i can add this at the same time as the above.
Doesn't prevent players stealing animals with fishing rod(s).
@damo1995 nice to see you back working on this awesome plugin.
just tested it on my 1.10.2 spigot server, but I get this errors:
http://pastebin.com/GpDgzUAY
It's a miracle! You're back. Thanks for the update.
So its been a while since a last update. This is due to lack of interested in minecraft, and not enough time. I have submitted a file for 1.9.4/1.10 which should be available soon. If you have any bugs please feel free to pm me them so i can look into them.
Thanks guys.
Abandoned Plugin. Last updated June 2014. Don't install, will not work with Spigot 1.9. Works fine with 1.8.8. Sad really. This was a good resource.
Throws a ton of these errors with Spigot 1.9: http://pastebin.com/Quy6ugZ4
The horse not claim now in 1.8.3, can you update your plugin please ?
It could be nice if you vould do so people can ride on the animals, just not kill them? :)
This plugin doesn't block out leashable animals...
Hey there.
Thanks for the cool plugin.
Is there a possibility to allow users to kill/ride animals outside their region, where there is a global flag with build deny?
I only want to protect the animals and mobs on a normal WG region.
@Ironic8b49
Works fine on 1.8 for me.
This plugin don't seem to run correctly in Spigot 1.8. I get no errors at boot-up and all commands seem to work, just it don't protect animals. I'm also running Worldguard 6.0
@drew5494
Add this to the protect-from-player list. protect-from-player: - RABBIT - ...
@SuddenWolf
This is AnimalProtect not WorldGuard.
Can you add support for EnderCrystals? Please.
huhu,
there is a possibility to disable this for certain worlds?
Greeting Michl
Please update to support rabbits in 1.8