Grappling Hook
Finally! A Standalone Grappling Hook For Bukkit!
Compatible with Minecraft 1.8!
ATTENTION!
This project is now being updated and maintained on Spigot.
Features:
- No commands necessary.
- Pull yourself to locations.
- Pull entities to you.
- Pull items on the ground to you.
- Configurable durability on grappling hooks.
- No permissions required. (But are supported)
- No configuration required. (But is optional)
- Plug and Play.
How To Use:
Just throw the hook out onto a solid block, and when pulling it back in, you will be pulled to its location.
If the hook sticks into a mob or player, they will be pulled to you.
If the hook sticks into an item on the ground, the item will be pulled to you.
If the you reel in the hook when it is in water or still in the air, it will behave as a normal fishing rod.
Be sure to check out gyro89's plugin showcase as well.
Commands
/gh give - puts a grappling hook in the user's hand with 50 uses
/gh give <#> - puts a grappling hook in the user's hand with # of uses
/gh give <player> - adds a grappling hook to the inventory of specified player with 50 uses
/gh give <player> <#> - adds a grappling hook to the inventory of specified player with # of uses
Permissions (optional)
grapplinghook.pull.self - Allows player to pull themselves with the hook
grapplinghook.pull.mobs - Allows player to pull mobs with the hook
grapplinghook.pull.players - Allows player to pull other players with the hook
grapplinghook.pull.items - Allows player to pull items with the hook
grapplinghook.craft.wood - Allows player to craft wood grappling hooks
grapplinghook.craft.stone - Allows player to craft stone grappling hooks
grapplinghook.craft.iron - Allows player to craft iron grappling hooks
grapplinghook.craft.gold - Allows player to craft gold grappling hooks
grapplinghook.craft.diamond - Allows player to craft diamond grappling hooks
grapplinghook.command.give - Allows player to use command /gh give
grapplinghook.player.nopull - Player can not be pulled by other players
grapplinghook.player.nocooldown - Player ignores grapple cooldown (if one is set)
Grappling Hook is an original plugin that I made for everyone that wanted a grappling hook in Minecraft. For any issues with the plugin, please submit a ticket. Enjoy!
Hey Developers!
Grappling Hook comes fully equipped with an easy to use API! Just click here to learn how to use it!
I have put many hours of work into all of my plugins and it is my hope than anyone who enjoys the features they bring to their server will donate. Thank you.
Hey, loving the mod but i have 3 issues with it: 1. IMO the item doesn't last long enough, but that's not a major concern either. 2. You cannot trade/drop the item. Seems to reset to a fishing rod. 3. I am the admin of my own server, i can make and use the item no problem BUT other players can only make it, they cannot use (just acts like a fishing rod).
I put the permissions in for EVERYONE, and it still didn't work. Good mod but its a waste if i am the only person that can use it :(
@NegroBob
I will look into it. And I love the idea!
It does but not nearly as well. I'd say about 1/3 times maybe?
Love the plugin Though
Can you make it grab items?
@NegroBob
What do you mean? It doesnt pull them in like other creatures?
Not working on players
@SnowGears
no early download link :/ ? haha cant wait to see the plugin actually load up thanks!
@nicerman1
Implemented the new naming system in my code. Submitted version 1.2 to Bukkit. It should work fine with the latest recommended build now. Thanks for being patient!
@SnowGears
Could u send it to me when you've found it ?
Hi dude ! so i put your plugin on my server than when i craft it the name keeps the same and you dont move with the hook can you help me? the plugin doesnt show bug or error messages on console
Could I get a dev build when its ready?
Thank you
@nicerman1
The newest dev build of bukkit replaced the methods for renaming items (which my plugin uses) so it will no longer work with dev builds of bukkit running on a server. I will have to implement the new renaming techniques and submit a new version. Thanks for letting me know!
@SnowGears
Thanks for the help. But just 1 more question: when i try to to change the name of an item while crafting it, i get an error: it doesn't know what NBTTagCompound is. I taught it was a class in minecraft. But it just doesn't see the it. Or did you create that class yourself?
Im using bukkit r:3 and It doesn't seem to load
@tremor77
You can already hook other players. A message is displayed to the player that got hooked! And thanks! I will possibly add that option in the next update.
Tested out your plugin, very promising. Have a few suggestions for the future.. add hooking other players, and perhaps a crafting level permission as well..
@nicerman1
Yes I check the name of the item to check if it should work .
@SnowGears Thanks for all the help ;). So if i'm understanding the code correctly, you don't really make a new item, but if the recipe matches, it edits the name. And how do u check if it's a grappling hook and not a regular fishing hook? Do u just check the name?
@nicerman1
Oh my bad I thought you meant the fishing "line" in game. I totally misread that. The GrapplingHook.grapple is the recipe for the grappling hook that I defined in the onEnable method. You can see how I made the new item here.
@SnowGears You did create a new item, or didn't you? If u did my question is how did u make a new item?