Plugin category: Admin Tools Suggested name: Disable Lead What I want: I am looking for a plugin that disables the lead's rope function. I still want leads to be in the game, but I want their function to be disabled. For example if a player right clicks on a sheep with a lead, it will not do anything. Ideas for commands: None Ideas for permissions: None When I'd like it by: As soon as possible please
PhillyCheezsteak <Edit by Moderator: Redacted mediafire url> If they don't have the perm "lead.use" A leash can't be used
Onlineids Awesome it works perfectly thank you. I also understand the short second lead animation is a client issue, which is alright. I was wondering if it was possible to remove the permission for the lead? So even op players will not be able to use the lead.
PhillyCheezsteak The permission is set to default: false , so unless you purposely add the perm on even ops won't be able to use it
Onlineids Thank you. Also I have found a bug with your plugin. If are in a different game mode other then creative, it makes the lead disapear. What I did was I made myself op, I changed my gamemode from creative mode to adventure mode, right click with the lead and it vanished. Can you please fix this?
Onlineids From what I understand if you are in a different gamemode other then creative, there is a bug that causes the lead to vanish if your right click on an animal like a sheep.
PhillyCheezsteak Ahh yeah because leads are used in that process, would you be alright if I just added a lead to their inventory when that happened
Onlineids Either that or if you can make it where the lead is not consumed. Like when the lead vanishes it comes back, but it is annoying since you have to click an animal again to get the lead back.
Onlineids Is there a way to change that so it will not? That way I think it will prevent the bug from happening.
Onlineids What about this link http://jd.bukkit.org/dev/doxygen/d5...vent_1_1player_1_1PlayerItemConsumeEvent.html I do not know if this will help
Onlineids This is perfect! Thank you so much. Even though the item does that bug, it is a lot shorter, thank you! Is there a way to make it where the lead/leash bug does not happen so the animals will not be attached? Like I was wondering if it was possible to make it where if you right click with a lead nothing will happen. If it isn't, this will still work and I really do appreciate you making this for me.
PhillyCheezsteak Yea that is the client updating I cant change that, its only visual they cant pull the mobs or anything.
Onlineids Ah okay. This plugin is perfect though! Thank you so much for the help. I really do appreciate it