Animal Lock
Animal Lock
A large problem on my server since horses came out was players were taking each other's horses, and other animals. This plugin lets you "claim" or "lock" animals, which will prevent other players from interacting with them.
I wanted to get this beta version out as fast as I could so servers could prevent players from stealing horses. Due to this reason, there are a couple main features that have not been included yet. The ability to unlock horses, and to limit how many animals players can lock have not been implemented yet but are planned for the next update.
Note on Horse's Inventories
Animal Selector will deny you from shift right-clicking an animal. Most users have reported this however there is an easy way to overcome this. Instead of shift right-clicking the horse, simply ride the horse and then press your inventory key.
In the future I'll hopefully come up with a clever way to prevent this minor conflict, but for now just use the alternative method of opening a horse's inventory. ;)
Installation Instructions
- Download the latest version of Animal Lock and place it in your server's plugin folder.
- Also download the compatible version of Animal Selector and place it in your server's plugin folder.
- Restart or completely reload your server.
- Enjoy! (Adjust configuration options if necessary.)
Commands
/a - Shows the command help page.
/a lock [animallock.lock] - After selecting a living entity by holding sneak and right clicking, type this command to lock the animal only to you.
/a unlock [animallock.unlock] - After selecting a entity, type this command to unlock the animal.
In the future, I have plans to let animals have other owners, permissions support, and more.
Support the Development!
I put hours of work into Animal Lock as a learning experience and hobby. If you enjoy using Animal Lock, please consider supporting the development and donating to keep the plugin going. Thanks!
Verry interesting plugin! Is this plugin prevent also killing of a locked horse?
@kevsidney95
Yes, it looks like a bug. It has been fixed in AnimalLock v1.3 which is now awaiting approval. :) Thanks!
@nxtguy:
Sinds ive downloaded your plugin Monsters cant hurt players Is this a bug?
(I still love this plugin)
@Q2Lummox
Thanks! Yes, this is planned and will hopefully be implemented in the next update. Do you have any more suggestions?
@BaBzZZi
The permissions have been added to the main page. They are animallock.lock and animallock.unlock. If you have any more questions, feel free to ask. :)
I installed this plugin and when I do /a lock it tells me I don't have permission to do that? may someone please tell me what the permission I have to put in the config for this to work. thx :)
Great plugin!
Please, add the ability to have other owners :P
@nxtguy
Thanks! This will greatly benefit the server I play on!
@GabethePsycho
Animal Lock v1.2 has been submitted for approval which includes tpAnimals integration so players can't teleport your locked animals. Please watch the files page for when Bukkit approves the file. :)
@GabethePsycho
Alright, will do. :)
Could you please post in the comments when animallock is looped into tpanimals? My server doesnt want to get the plugin till that happens.
Thanks.
@Luckyy13
Permission nodes are planned. Also, for future suggestions could you create a ticket so I can track the progress of the feature? Many thanks. :)
@nxtguy
Works perfect now. 1 note for a update make a admin bypass to kill the animals that are locked.
Thanks for the link,And plz remove the wrong link
@Luckyy13
Whoops. Sorry, I accidently uploaded one of my other plugins. The download has been fixed. New link: http://dev.bukkit.org/media/files/722/729/AnimalLock.jar
@nxtguy
Its the wrong plugin its says animallock then i run de server and a folder called Afterlife appears,And that was bad all the users where invisible.
Take a look at your files
@Luckyy13
I fixed this in Animal Lock v1.0. The file is awaiting approval from the Bukkit staff.
Before they approve it, you can download it here: http://dev.bukkit.org/media/files/722/729/AnimalLock.jar
Hello.
Iam using your plugin only when i lock a animal its locked only other players can still hurt and kill the animals, In the config i have the settings default true.
i have 2 plugins thisone and animal selector
Is this a bug. plz Help.
@mattmcmullen1
Not currently, I'll look into adding this though.
Do you have any alternate commands than /a to bypass other plugins, because Towny has a /a command.
@saturnux
I'll probably be releasing a beta version just with the bare minimum features, then an update a couple of days later including features such as this. :) Thanks for the suggestion!
just if you can, limit a nuber of annimals in config. if that is possible. thks for all :)