MobLeash
This simple plugin lets you leash aggressive mobs like zombies, creepers and spiders.
Mobs
The list of mobs that can be leashed with this plugin is:
- Creepers
- Zombies
- Spiders and Cave Spiders
- Pig Zombies
- Witches
- Silverfish
- Giants
- Villagers
Usage
To leash a mob, you will need a normal lead (leash) just like with other creatures. Simply right click on the mob, and the leash will appear. You can then attach the leash to a fence, for example, or just walk around spawn scaring people :).
Permissions
There is one permission node for each type of mob that can be leashed with this plugin. The permission lets you leash the corresponding mob. All permission nodes default to everyone.
- mobleash.leash.creeper - Allows you to leash creepers
- mobleash.leash.zombie - Allows you to leash zombies
- mobleash.leash.skeleton - Allows you to leash skeletons
- mobleash.leash.spider - Allows you to leash spiders
- mobleash.leash.pigzombie - Allows you to leash pig zombies
- mobleash.leash.villager - Allows you to leash villagers
- mobleash.leash.witch - Allows you to leash witches
- mobleash.leash.cavespider - Allows you to leash cave spiders
- mobleash.leash.silverfish - Allows you to leash silverfish
- mobleash.leash.giant - Allows you to leash giants
Hi i want this plugin but for my mine hut server and i would need the script for this plugin so i can put it as a new plugin in skript
Thank you
Also, is this only for PC? I have PC, but I need it on PE.
How do you download?
YOU FORGOT BATS!
@ravand
I don't think that is possible at the moment without a client mod.
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
@Felina_Lain
This mod only works with the latest version of bukkit.
Combined with pet-mob plugins this could become quickly a must to have! Having petcreeper myself I'm adding this as complement to it, though as suggestion I would say adding more mob to the list to be leashed would be awesome ( I see you put villagers, maybe adding bats too, ghast, blaze... every mob in short )
Edit: after install and tyring I can't leash any of the mob in the list, i get the following message: 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.Packet7UseEntity$$EnhancerByCGLIB$$b471cdf4.CGLIB$handle$0(<generated>) at net.minecraft.server.v1_6_R2.Packet7UseEntity$$EnhancerByCGLIB$$b471cdf4$$FastClassByCGLIB$$abf06a8c.invoke(<generated>) at com.comphenix.net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at com.comphenix.protocol.injector.packet.ReadPacketModifier.intercept(ReadPacketModifier.java:116) at net.minecraft.server.v1_6_R2.Packet7UseEntity$$EnhancerByCGLIB$$b471cdf4.handle(<generated>) 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.NoSuchMethodError: org.bukkit.entity.LivingEntity.setLeashHolder(Lorg/bukkit/entity/Entity;)Z at org.samson.bukkit.plugins.mobleash.MobLeashEventListener.onPlayerInteractEntityEvent(MobLeashEventListener.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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) ... 19 more 2013-08-27 11:42:55 [INFO] Felina_Lain issued server command: /give Felina_Lain 383 1 52 2013-08-27 11:42:57 [SEVERE] Could not pass event PlayerInteractEntityEvent to MobLeash v1.0 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.Packet7UseEntity$$EnhancerByCGLIB$$b471cdf4.CGLIB$handle$0(<generated>) at net.minecraft.server.v1_6_R2.Packet7UseEntity$$EnhancerByCGLIB$$b471cdf4$$FastClassByCGLIB$$abf06a8c.invoke(<generated>) at com.comphenix.net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at com.comphenix.protocol.injector.packet.ReadPacketModifier.intercept(ReadPacketModifier.java:116) at net.minecraft.server.v1_6_R2.Packet7UseEntity$$EnhancerByCGLIB$$b471cdf4.handle(<generated>) 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.NoSuchMethodError: org.bukkit.entity.LivingEntity.setLeashHolder(Lorg/bukkit/entity/Entity;)Z at org.samson.bukkit.plugins.mobleash.MobLeashEventListener.onPlayerInteractEntityEvent(MobLeashEventListener.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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) ... 19 more
@WhiffleX
The plugin is designed to work with permission plugins like PEX, so server owners can change the permission nodes as they wish.
Can we not default to everyone? Something like this should default to ops only.
I, and most others, assume that you are planning to add a few other mobs?
This looks great! Unfortunately the one mob I really wanted, the ghast, doesn't seem to be on the list. Oh well, maybe in the future.
me to
About time someone decides to make this
Looking forward to it!