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.)
Ok!
And what about an option to prevent damage from monsters ? Players can use creepers to kill horses. They hit the creeper then walk to the horse and boom!
Thanks for your answer :)
@Plyskeen
If there's enough demand for it, I'll gladly add it in a future revision. :)
Hi,
Is it possible to add something like :
Max-protected-mobs : 1
I think it would be very usefull.
Thanks.
@Dorkenhimer
This has been asked a few times and, yes, technically it could be possible to lead players.
But I haven't had the time to look into it much, but I think interfacing with something like PetCreeper would be beneficial when I do. Since they've expanded how Tameable Mobs work, one can assume that they could also expand how Leashable Mobs work too.
Time will tell!
Would it be possible to attach players to leads? It'd be fun for kidnappings.
@Guarana_SUI
That's an interesting thought, shouldn't be too difficult to implement. So we shall see :)
looks like a good plugin but what would be even great is if you could implement that you can attach the Leads on other blocks such as Tripwire Hook
@ravand
Currently I've been lacking free time to work on that, but in the near future I'll take a look at it. As of right now though I'm sure there's some means to, if anything, draw ropes between blocks and such. :)
So did u find any way to connect leashes from a block to another block? WOuld be very awesome to illustrate drawbridges and connecting ropes
@SK83RJOSH
It's all fine, I was just curious really.
@Me4502
Actually I didn't realize CraftBook had functionality for leads.
When I was working on this I just happened to pick the most straight-forward name, as well as the most straight-forward improvements to make. Infact I didn't realize CraftBook was back, the last time I used it was when it was still being updated as FalseBook.
Apologies if there's overlapping functionality though or if it seemed that I was trying to take away from CraftBook in anyway. :)
Was this based on CraftBook's BetterLeads feature? It has practically the same features, and the same name
@SK83RJOSH
Looks like that fixed it! The config file & folder was created on startup. Thanks for the quickfix.
@BB0YKA0S
@B3fuddled
Could you both try http://josh.chopdawg.com/BetterLeads.jar and let me know if it resolves the issue? It's a bit of a quick-fix (I just moved the generated config.yml into the jar), but hopefully it should resolve your issues.
Thanks! :)
same error than B3fuddled
It doesn't appear to be creating the config.yml. I get this error when starting the server: [severe] Error occurred while enabling BetterLeads v0.0.6 (Is it up to date?) [javastacktrace] java.lang.IllegalArgumentException: The embedded resource 'config.yml' cannot be found in plugins\BetterLeads.jar
Thanks for the wok on this plugin.
However, I'm having a problem installing v0.0.6 on Spigot (CraftBukkit version git-Spigot-1091 (MC: 1.6.2))
It doesn't appear to be creating the config.yml. I get this error when starting the server:
[severe] Error occurred while enabling BetterLeads v0.0.6 (Is it up to date?) [javastacktrace] java.lang.IllegalArgumentException: The embedded resource 'config.yml' cannot be found in plugins\BetterLeads.jar [javastacktrace] at org.bukkit.plugin.java.JavaPlugin.saveResource(JavaPlugin.java:149) [javastacktrace] at org.bukkit.plugin.java.JavaPlugin.saveDefaultConfig(JavaPlugin.java:137) [javastacktrace] at com.sk83rsplace.betterleads.BetterLeads.onEnable(BetterLeads.java:50) [javastacktrace] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) [javastacktrace] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [javastacktrace] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) [javastacktrace] at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:286) [javastacktrace] at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:268) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:319) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:296) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:256) [javastacktrace] at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:164) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:397) [javastacktrace] at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
@CommodoreAlpha
Yes, it currently only includes Wolves, Ocelots, and Horses.
But I was thinking about that idea actually, I could add PetCreeper support but I'm somewhat concerned with confliction between the two add-ons. For instance if they also add leash support for mobs such as Creepers using a similar method to mine, it could be breaking to one or both add-ons.
So I'll have to wait and see what they do before I add some form of support, or contact them about some sort of partnership for supporting one-another so both add-ons are never conflicting.
-Also, Buddylists are essentially a per-user list of "Buddies" or Players who are allowed to interact with your Pets & Leashes. (Which is a feature that is optionally enabled by the Server Operator)
What are "Buddylists"?
Also, when you mention "tameable" mobs, do you mean tameable in the sense that you tame a horse, ocelot, or wolf? Can you expand the definition of "tameable" to include PetCreeper?
@BB0YKA0S
Currently I'm not able to recreate your issue, though I think it may have been resolved in the next release I'm currently working on. (V0.0.5)
Could you try the current version and let me know if it resolves the issue? Please make sure to delete your config before running this version however, since I've changed the formatting.
@SK83RJOSH
no, its in game, when trying to lead a spider or a hostile mob. anyway, i cannot lead mob-by-mob. P.D: the config its fine