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?
works nicely. a flag to toggle it per region would be nice as i see it is already in your todo
as an idea, possible to allow players to shear but not kill? for public wool farm
Thanks guys, I'll look into the problems and try and fix them tonight when I get time, Also as for the auto update gotta wait 30 days before I can re-register my domain :/
@owenftw
@aciregirl
@JeterLP
@vcelka957
also how do you mean some protects ignore?
Also I am looking at adding language localization to the plugin, if anybody maybe would be interested in helping me translate please contact me.
Good to see this plugin is still alive :D
seem to be able to kill mobs with eggs and snowballs?
you had forgotten the pigs in the list of mobs
Hello, i would like to ask if it is possible make some of the protects ignore this plugin ?
1.4.5 should work fine on 1.4.6, As far as i am aware there is no RB of 1.4.6 as of yet.
Need dat 1.4.6 update XD
Damn. Thank you.
@Drakortha
No it does not unforunatley, Just WorldGuard.
Does this hook into factions?
Hi guys, Sorry for the long wait been busy with Christmas and stuff,
I've added into the config update-check which is set to false by default at the moment, I've also set notify-updated to false by default until I can get my webhosting sorted as long as you dont change this everything should be fine. This is only a small change. It is currentley being proccesed by bukkit so should be live by sometime later. I have tested and all is working.
Updated to CB RB1.4.5R1.0 aswell as worldguard build #756-d6939b7
Thanks and again I apologise for the delay.
I don't care about bukkit dev for that.. i only give you a link for version with baypass this error. If you don't want to don't use it. Only about the unapproved of trust my version you can see what i change on github ;)
Well, the updateCheck is done, regardless of the config option enabled or not. (which is a bit odd) Only the message is disabled.
But the plugin does NOT crash. It still works. So just ignore this message in the console until it's fixed. @sync667: I appreciate your help. But I don't think that Bukkit allows Links to unapproved versions of plugins. ;) Just be a bit patient. This is not a critical problem.
Guys i do it by own hande ;) I give you a link
@damo1995
Updating set to false still makes the plugin fail to start.
Really disappointed that you coded the plugin like that, but I still appreciate the work.
Please consider bringing out a quick build to remove this update check feature.
just updated to 1.4.6 r3 and receive alot of errors and this [SEVERE] Error occurred while enabling AnimalProtect v1.4.1 (Is it up to date?)
How to disable it ? i have all on false and nothing still crash ;/
Hi guys,
For the moment in time my own personal website is down due to renewal of the domain, For now I would advise you to disable Update Checking, that way it should prevent the stack trace, Could have swarn I had fixed that problem though :/
Thanks.
Yep. The updateCheck() fails because there is something wrong with the URL or the server where AP retrieves the newest version number is not reachable. This case is not properly error-handled. But AP should still work. Even when emitting this error.