BetterLeads
BetterLeads adds better leash functionality for survival and roleplay servers.
The primary functionality this Plugin adds is the ability to create large caravans by using leads to rope together multiple creatures. We accomplish this by allowing the players to attach leash ends to mobs instead of just fence posts. The Plugin also allows players to leash hostile mobs like Creepers, Spiders, and Skeletons!
The secondary functionality of this plugin is the ability to protect leashes and pets from players who don't have access! This means you no longer need to worry about that pesky neighbor stealing your horses when you're offline, or that bothersome griefer killing all of your pets when you've worked so hard to attain them all.
Special thanks to IngrownPenguin for featuring my plugin!
If you've never used a lead before, all you have to do is right click on your target entity with a lead in your hand, and to attach it to another entity or fence post with yet another right click.
That's all there is to it!
-
"global.allowed_mobs" defines what mobs are affected by this plugin, by default all mobs are affected.
-
"ownership.enabled" defines whether or not ownership of tameable mobs is required to be able to place a leash on them, by default this is false.
-
"ownership.prevent-damage.entity" defines whether or not a tamed mob can be damaged by players who are not the owner, by default this is false.
-
"ownership.prevent-damage.block" defines whether or not Fencepost can be damaged by players who are not the owner of the mob tied to it, by default this is false.
Notice: When upgrading to V0.0.5 and forward, please delete your old config! I've refactored the configuration file to be more expandable in the future.
- "betterleads.admin" allows a user to interact with and override other users Buddylists
-
"/addbuddy <player> (<player>)" adds a user to your / a users Buddylist
-
"/removebuddy <player> (<player>)" removes a user to your / a users Buddylist
-
"/buddylist (<player>)" lists users in your / a users Buddylist
Notice: Buddylist commands are disabled if ownership is set to false in the config.
- Support for other Plugins (Factions, PetCreeper and etc.)
@BB0YKA0S
Is this occuring on startup? If so, is your version of Bukkit modified in anyway?
doesn't works for me :(
Could not pass event PlayerInteractEntityEvent to BetterLeads v0.0.4 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1087) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NoClassDefFoundError: org/bukkit/entity/LeashHitch at com.sk83rsplace.betterleads.BetterLeads.hasPermission(BetterLeads.java:61) at com.sk83rsplace.betterleads.LeadListener.onPlayerInteractEntity(LeadListener.java:28) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
@Kloporte @Zeinh
These are both things that may come after I finish implementing a buddy system :)
@xpopy
I just happen to have the tab pinned haha
@SK83RJOSH
Are you like always online? Haha Keep up the good work :)
@xpopy
You're welcome, please note that it still only works with Tameable mobs! ^^
@SK83RJOSH
Oh wow, that was a fast update. Love it, thanks!
Would it be Possible to Attach Prisoners?
Hi, would it be possible to attach boats (to fence post and maybe later to other boats) ?
@xpopy
Though that's not currently the case, I believe it'd be the best route to take with the idea.
If I pursue protection to such an extent I'll need to devise a system to keep track of ownership on mobs that aren't normally tameable. Which might be somewhat difficult so I'll need to look into it so I don't come up with something half-baked. :)
This is a really good idea, and the idea of ownership will probably save loads of people from griefers. Though I wonder, are the animals protected from damage when leashed as well? And I suppose the fence block is locked too?
@ravand
This was something I was thinking about, it should be possible since a leash-hitch can be attached to fenceposts. Though I can't promise it'll be very pretty, I'll do some experimentation.
@FlOppythp
Currently Players have the ability to be leashed, but it doesn't take effect. It doesn't mention why in the Javadoc, but I believe there should be a way. Similar to how PetCreeper makes untameable mobs tameable, it's likely I can do the same for unleashable mobs.
@fuzyfeet
This is planned, and is currently implemented if you enable it in the config. Though it only works with Horses, Wolves and Ocelots for the time being, I'll try to have it working on all mobs by the next release :)
Would it be possible to make it so that only the person that put the lead on an animal and fence could break it?
Can you please make it so that you can put leashes on blocks? I need this feature for decorative purposes for example to make ropes for bridges for example