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.)
@sakura_blades
I didn't say anything about making them follow you. Also, take note, without a plugin such as this one, you can't normally leash hostile mobs, either. :)
That's why I was asking.
@SK83RJOSH
Sadly I haven't had a chance to test it yet, but hope to here soon within the next day or so. I'm sorry it's been so long since you released that update and here I've been slacking off the testing for it. xD
Promise I will soon though! ^.^
@sakura_blades
I've actually been thinking about doing just that, but I'm not entirely sure of legwork I'd need to get done to have a decent implementation. Oh well, I'll look into it a bit futher one day!
Also did you get a chance to try out 0.0.7, if so, is it accomplishing what you needed it too? :)
@SK83RJOSH
The Mypet plugin uses the Wolf/Ocelot API for it's pets. If you could find a way to extend that API through the leads I'm sure you could get those hostile mobs to follow players while leashed.
Though I can't understand why you'd want to lead a hostile mob around, considering they'd follow you anyway as they just want to hug you. xD
@conflictxinside
Considering you cannot leash a player normally, let alone make them follow you... No, you cannot do that..
Is there a way to leash a player and tie them to a fence post or fly around with them? We were thinking of doing something like that as an interesting alternative to jailing abusive players.
@Felina_Lain
I don't modify their AI in anyway, so they don't follow the player like non-hostile mobs do. Sorry about that, I'd like to interface into something like PetCreeper in the future to get a bit more control over things like that!
Question: is it normal that hostile mobs refuse to hike? I mean, when leashed, unlike cows or sheeps, they refuse to climb up or down to follow the player holding the leash (and I really mean one block high up or down...)
Tested that with zombies, creepers, skeleton... They just stay against the slope, and the leash end up breaking with the distance...
@SK83RJOSH
That would be fabulous if you would. ^.^
I'd love you forever and I know my players would absoluately adore the buddylist feature. And that their nametags will be good again! \o/ The other one slaps on a "Player's Wolf" on their pets and resets all nametag names on restarts. :\
@sakura_blades
SnipScratch that, added what you requested, hope it helps you out! Let me know if there's any bugs, I'll try to sort them out for you. (I uploaded 0.0.7, but it might take a little while to appear in the downloads section, so check back a bit later today)
@SK83RJOSH
Oh well it is a shame to hear that it doesn't do protections of tamed mobs without the leads, I had hoped I'd have been able to ditch the plugin I was using for tamed mob protection for this one in it's place entirely, as this one has a nice looking buddy list feature.
At this time, Horses are covered by this other plugin and makes them completely UN-interactible by anyone who is not the Owner. The idea of being able to let ppl choose who can use their Horses sounded great, and I do hope it is something you will cover at some point. (Preferably soon :P)
As far as "PetCreeper" I already use a Plugin Called MyPet for Companion's on my server and am not seeking any kind of extra sort of deals. It is simply just to prevent those griefers who get a thrill out of killing that wolf that took you forever and a half to find, maybe even after you died several times trying to get enough bones to tame him in the first place...
@sakura_blades
This rule is only applied when they're on a lead, and it doesn't prevent the riding of horses. But this is because you cannot break a lead by riding a horse so it's somewhat of a non-issue.
The reason for prevent-damage overall is just to prevent griefers from breaking, or otherwise harming your leashed mob when you're offline, and not much more. If you want something that does protection of mobs all the time, however, PetCreeper should accomplish that. So it's worth looking into if you haven't already.
I'd implement it, but at this time it doesn't quite fall within the scope of the plugin. I only aim to improve interactions directly dealing with Leads that don't require too much on behalf of the server operator. Though I think when I get some free time, I'll be implementing some of the requested features so far. So it might make the cut.
Hope that helps! ^^
@SK83RJOSH
So is:
Covering tamed mobs all the time, or only when they are on a lead?
If so, will this prevent riding of horses from players who are not on the buddy list?
@SK83RJOSH
Well after trying I got to say the plugin is popular... caravan of cows are all around the server, as well as creeper farms too...
But slimes, ghast and magma cubes still cannot be leashed. The same mobs that craftbukkit couldn't get. I suppose it's a code thing, shame no one can sole it...
Still thanks though, the plugin is really good from what my peoples tell me ^^
@Felina_Lain
In the config I have a note that states that all mobs that can be leashed without server modification are enabled by default. That should give you your answer ^_^
When you say 'all mobs' you really mean ALL mobs? Like even ghast and all? If yes, does the leash really hold them next to you? (because craftbukkit have a leashing option for all mobs but some bug and when leashed, can still run away, the leash extending as they get farther but never breaking...)
@SK83RJOSH
I've tested using dozens of different leashed horses in various environments both with and without the plugin and after a day or two 90% of the leashes have broken and dropped, environment doesn't seem to matter either.
@DivinityCraft
Sadly I don't think that this would be a fix for that bug, I wasn't aware of it until now actually.
The reason though is that the plugin just sits atop the default lead server handling, and doesn't do anything in the way of persistance past attempting to keep them from being broken by certain things. (Players mostly) So I can assume it's still susceptible to that bug, but it's worth testing to see if indirectly it has any effect.
Plugin looks great, one question though: does it fix the Minecraft bug of animals with leads to fences sometimes getting their leads broken and dropped to the ground when the chunk gets unloaded or the server restarts?
@Plyskeen
I had actually thought about that when I made the Plugin originally, but I thought that CreeperHeal would better solution for things like that. ^_^
(But of course, it could be something that makes it's way into the Plugin one day!)