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.
@metalhedd
Oh, ok :)
@nicktehbrick
Thats a bug thats fixed in the development builds but can also be worked around by changing 'cat' to 'OCELOT' in your config file.
@xpopy
Development builds are still going strong. they're 1.6.1 compatible now, but Horses still don't work due to a bug in current Craftbukkit builds.
@metalhedd
Can't see any updates :s
2013-07-03 00:04:35 [INFO] [LivestockLock] Enabling LivestockLock v0.0.1 2013-07-03 00:04:35 [SEVERE] Error occurred while enabling LivestockLock v0.0.1 (Is it up to date?) java.lang.IllegalArgumentException: No enum constant org.bukkit.entity.EntityType.CAT at java.lang.Enum.valueOf(Enum.java:236) at org.bukkit.entity.EntityType.valueOf(EntityType.java:16) at com.norcode.bukkit.livestocklock.LivestockLock.loadConfig(LivestockLock.java:100) at com.norcode.bukkit.livestocklock.LivestockLock.onEnable(LivestockLock.java:38) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:304) at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:283) at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:243) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:151) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
@Barnsey3017
Permission issues are fixed in the development builds, a new version will be uploaded here today
@nicktehbrick
If its not doing anything at all, there MUST be an error message during startup.
I installed the plugin and set permissions (I am OP as well).
When I try to run /lsl claim, I don't see any messages, nor does anything happen when I right click an animal afterwards. /lsl list doesn't do anything either.
permissions are broken ...
0.0.3 snapshot should work find without vault (if no money costs and no group-based limits is fine)
@xpopy
That's because you need Vault. I must have screwed up the optional part of it ;)
I have tried both 0.0.1 and 0.0.2, with the recommended, dev and beta bukkit builds. All of them giving me the same message:
EDIT: I should add that this was a clean install, with only this plugin installed.
@xpopy
there should be a large 'stack trace' to go along with that, either right before, or right after the message. are you using the 0.0.2 from jenkins? (official 0.0.2 file hasn't been approved here yet, but I tested the one I uploaded here and there are no errors. I'll try a new jenkins build)
Doesn't seem to work for me, getting "Error occurred while enabling LivestockLock v0.0.2 (Is it up to date?)
@Maxio1992
Download is still waiting to be approved by bukkitdev staff. in the mean time you can try the development builds.
@Mr_Wired
Sure thing, I'll include both features in the next release.
Where's the Download ? :/ Its sounds awesome, i thought about adding it to my server but i dont see any Download :(
Could you please make it so with a certain permission you can override the claim. And when a player hits the cow it'll warn the player who owns the cow that their cow is being hurt.