LivestockLock
LivestockLock
Livestock Lock lets players 'claim' animals so that no other players may damage or otherwise interact with them. Players can keep a list of other trusted players that are allowed to use their animals, and limits can be placed on how many animals a player can claim based on group memberships.
Features
- protect animals from theft, and damage
- configurable costs in money, XP or items for each type of animal
- any living entity can be configured as a claimable type.
- Players can 'trust' other players with their animals
Commands
All commands are under the main /livestocklock
or /lsl
command
/lsl claim [<player>]
- enter this comand and right click on an animal to claim it. players with livestocklock.claimforothers can use the option player argument to claim an animal for another player./lsl abandon
enter this command and right click an animal to un-claim or abandon it. the animal will lose all protection and can then be claimed by another player./lsl addplayer <player>
- trust <player> to interact with your animals./lsl removeplayer <player>
- stop trusting <player> to interact with your animals./lsl list
- list your animals and trusted friends./lsl ignoreclaims
- override claim permissions (for staff use)
Permissions
- livestocklock.use - this permission is required to make use of any of the
/livestocklock
commands. - livestocklock.commands.* - allows access to ALL
/livestocklock
commands. - livestocklock.commands.claim - allows usage of
/lsl claim
- livestocklock.commands.abandon - allows usage of
/lsl abandon
- livestocklock.commands.addplayer - allows usage of
/lsl addplayer
- livestocklock.commands.removeplayer - allows usage of
/lsl removeplayer
- livestocklock.commands.list - allows usage of
/lsl list
- livestocklock.commands.ignoreclaims - allows usage of
/lsl ignoreclaims
- livestocklock.claimforothers - allows a player to claim an animal for another player using
/lsl claim <player>
- livestocklock.claim.<entityId> - allows claiming of the specified entity type by its numeric id.
Source Code & Development Builds
Source code is available on Github
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
@xpopy
Will do! :)
@nicktehbrick
Thanks for the feedback, I'll add help in the next version. will definitely be putting more work into this plugin now that 1.6 is out.
Hi guys, /lsl abandon all - works as expected, thanks! Any chance you're planning on adding a /lsl help ?
@metalhedd
Also, please make it able to 'abandon all' for a specific player, and some sort of permission to abandon others pets with the normal abandon.
Would be really usefull :)
@nicktehbrick
I really thought there was an 'abandon all' command but I guess I forgot to write it :) I will add it today.
Its in the latest development build, I'll include it in the next release.
@metalhedd
Permissions work now! :)
Is there any way to do like an /lsl abandon all to abandon all current claimed animals for yourself?
@nicktehbrick
Jenkins issue, got it fixed, click the link under "Module Builds" from the Last Successful Build page. you should see the jar file listed on the next page.
edit: alternately you can try this direct link but the moderators may delete it.
@metalhedd
Thanks, but how do I find the exact file on there I need to download?
@shades161
You can set a max # of claimed animals, and you can have a different max for different permission group, but there is no "per-animal-type" limits. so you can't limit it specifically to 2 cows, 2 chickens, etc.. this is something I'll definitely take into consideration for a future release.
@nicktehbrick
You found a real bug! There was a typo in the permission node required for commands, that would only affect non-op users. I uploaded a fix as 0.0.5 and you can get the development build now at the link above. thanks for catching it, let me know if the dev build fixed all your problems.
(You should be able to remove all permission assigments now, the defaults really should be fine)
So I tried this again with the updated version.
The group I am testing with has not only what I believe is needed:
- livestocklock.use
- livestocklock.commands.claim
- livestocklock.commands.abandon
- livestocklock.commands.addplayer
- livestocklock.commands.removeplayer
- livestocklock.commands.list
- livestocklock.claim.*
But also:
- livestocklock.*
for testing.
In the config file, this group has an entry: DonatorIV: 20
is this all that is needed? I am still getting "You don't have permission for that."
im thinking about getting this plugin but if it possible to configure a mas amount of animals claimed E.G. 2 of each animal other than an unlimited amount because it could but used as a form of grieving
@anotherfahlman
Should work on 1.5.2 or higher
Are your dev builds 1.6.1 only, or do they also work on 1.5.2?
@xpopy
Good idea, I added it to the latest dev build.
@anotherfahlman
No, it's not automatically claimed. I might make this an option though
What happens if two animals I've claimed are breed? Do I automagically claim the offspring too?
Could you make animals such as dogs, horses and cats to automaticaly get claimed when begin tamed by one person?
@nicktehbrick
group-limits uses your own group names (from group manager), so you should replace them with your own.
for the permission nodes, you actually need to add
livestocklock.claim.*
, then you can remove all other livestocklock permission nodes, they're given to normal players automatically. leaving out this one .* was an accident, so you'll have to give it to whatever group should have access, I'll fix it and release a new build tonight.Hi guys,
I seem to be having a permissions issue. While I have given the test group I am in the below permissions I still get, "You don't have permission for that".
- livestocklock.use - livestocklock.commands.* - livestocklock.commands.claim - livestocklock.commands.abandon - livestocklock.commands.addplayer - livestocklock.commands.removeplayer - livestocklock.commands.list
I know in the config there also exists: group-limits: member: 10 vip: 20
But I am not sure how to use this? As a perm, ie livestocklock.member? or add my groups here like, Donator: 10 and it will auto talk to groupmanager? Thanks!
nice
Can you please update to 1.6? Really need this for my server :)