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?
If he doesn't want to update it anymore, I would gladly update it.
Please update to 1.6.1 and add horses!
THANKS! :)
@juli99
i need the same information :D
Is it work with Mo-Creatures Mod?
it was great to protect all the animals from this mod with this plugin. (for a safari-park)
is there an simple option to add that animals to the plugin-cfg?
cheers :)
Working for 1.5.2? Will they be able to kill mobs in the global protected region?
Can I deactivate the plugin for a world?
Just wanted to mention this works fine in 1.4.7, 1.4, 1.5.1 and 1.5.2, for anyone curious.
1.4.2 seems to still be working fine for me :)
@CatsyLady @CatsyLady
The project is not abandoned. Its just hard at the moment to juggle work and personal project as so much is going on.
I shall attempt to update this to the latest version of CB and at the moment no it dose not prevent from Kiting, Although I shall look into this too :)
Thanks. Damo.
to bad its abandoned ... ._.
another good plugin what die
Is this plugins also protection from animal kiting?
Will this updated to CB 1.5.1 ?
@damo1995
Hey, you made an mistake in the config.yml: You wrote "- IRON_GOLOM", but it has to be "- IRON_GOLEM"!
Good Plugin, very useful, great!
@cuddyier
Wild guess but you may have configured a plugin wrongly. YAMLs do not like being formatted wrong. Try quickly going over the config - if you can't see what's wrong, delete the config and try again.
Version 1.4.2 is giving me these errors constantly and locking my server up: http://pastebin.com/CNU03KBq
Hi there. Your plugin is a great help and has saved us a lot of admin work.
I've got a feature request: can you make a config option that disables zombie-villager damage only when all owner(s) of a region are offline? We've currently got zombie-villager damage disabled because people who live close to someone else's village might cause the village's demise by dint of having the chunks loaded. The downside of this is that the owners don't get to experience protecting the villagers from zombie sieges. If you could disable the damage only when the owners are offline, you get to have the protection you want together with the gameplay you want to experience.
Hope that's not too complicated, though it probably is.
@Plyskeen
At the moment in time I am unable to say when this will be implemented because of WorldGuard not having an API for custom flags i think i may end up adding a soft-depend on the "WorldGuard Custom Flags" plugin ("http://dev.bukkit.org/server-mods/worldguard-custom-flags/")
@tackleza
If your using the latest version this error should nolonger appear as i disabled the update checker
@mal67
This is a good idea, I may implement this in a future update.
@aciregirl
This will hopefully be fixed in the next update im trying to get as many things as possible fixed before i publish the next update, Please feel free to email me any bugs at [email protected]
@vcelka957 Again this is a good idea, Unfortunatley at the moment in time i would like to fix all the current bugs before adding new features, as soon as I have completed that i will look into this maybe its possible to have some kind of prefix in the region name :)
In regards to localization its low on my priority list right now as i have more important things to worry about.
I am also working on a website for this project on its own where the plugin can pull the version number updates ect from.
I am also sorry for the lack of communication between myself and the bukkit community. Life at this moment in time is tough and I am struggling to keep my projects up and running as good as previously.
Thanks Damo1995
- Add support for use flag.
Any idea when it will be implemented ?
Thanks.
@patalkok
i use it in 1.4.7 it's work fine but it's will error at first start it's ok that is a update checker
not compatible with 1.4.6r0.3 ?