I want a plugin for turning fishing rods into grappling hooks. When you hook a block and reel you move towards it (Much like in S89q Powers Plugin) and if you could add some way to "rapple" down buildings and things like that (EX: Say your in a floating building and you want down, you can hook the block above the air you fall through and you slowly fall down to the ground, also I would like this plug to get rid of fishing rod length restriction.) Possible Name: Dont know Perms: Hook.* All permissions Hook.grapple Allows grappling and pulling yourself in Hook.rapple Allows rappling/descending from blocks with rod/hook Hook.reload Allows reload the plugin
I don't know if it is possible to make a fishing rods wire length longer or to remove it but it could be set to allow for the crosshair to be where it grapples.
I couldn't find a way to do this with a fishing rod :\, there is no way to get the location of the buoy.
Agreed... Shame that! There is only a way to get an entity that is caught via fishing. This gives me interesting ideas on replacing the fish with live tnt or whatever ! I could make toggleable bow and arrow grapling rod if you want!
You can do this with thinks like pigs and such as well (I tested a few things trying to get the buoy to work )
Hehehe... Putting a plugin on that makes live tnt or creepers come out without telling your players first = a pretty damn big troll
Its an entity so you you can do a lot with it.. this might help, EntityFishingHook has locX, locY, locZ and owner veriables. Loop through all the entitys and if theres a hook get the owner and do stuff to him/her ;D
I'll try doing it then! EDIT: I will make this! Can't find EntityFishingHook EDIT by Moderator: merged posts, please use the edit button instead of double posting.
how do you mean no way? i have it already done check this: Code: @EventHandler(priority = EventPriority.HIGH) public void onPlayerFishingEvent(PlayerFishEvent event){ Player p = event.getPlayer(); Material item = p.getItemInHand().getType(); if(item == Material.FISHING_ROD){ java.util.List<Entity> nearby = p.getNearbyEntities(50,50,50); // searches in a 100*100*100 radius around the player for other entities Entity hook = null; // holds the future hook for (Entity e : nearby) { // loop through entities if (e.getType() == EntityType.FISHING_HOOK) { // it is a hook! hook = e; break; } } if (hook != null) { Location hookLocation = hook.getLocation(); // the location of the hook p.getLocation(); p.teleport(hookLocation); } else { p.sendMessage(ChatColor.DARK_GREEN + "You threw your grapplehook!"); } } }
OK... Are you making this as well then? Done! Download! BukkitDev page coming soon! Haven't tested it yet so let me know how it goes! commands: grappling: Toggle grappling hook for yourself permissions: grapplinghook.use: description: Allows player to use /grappling EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I love you. Also we could make it so rappling down with a grappling hook you need a certain chest plate to act as a harness.
Nice Idea. Pretty much the same idea i had. Was thinking of using arrows for the tip to make player use a new "Hook(Arrow)"
If the plugin is not loading it is probably because the server is not updated enough for the plugin, meaning it is is running Java 6, which means that @MrBluebear3 should compile in Java 6.
Its not really the fact that bluebear HAS to compile it in java 6. It should be expected out of kindness, not out of someones demand.
Haha, let me take a look at the error, one moment Edit, lol maybe not Paste the error please. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
This is the error I receive but I don't know if that's what penguin gets. http://pastebin.com/Hxs2nyVG I have never encountered this error so I can't help here.
Question: Will there be a way to turn on/off the grapple function in this plugin? Something like a /grapple on /grapple off command? HI XBANISHERX! Remember me? :3 I was wondering if you could add that grapple on/grapple off command to the plugin you made for me Pleeeeaase EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Hey steam :3 , hows your server going? anyway, i have no idea on how to do that tbh, im not that advanced yet... for the people reading this, if one of you know how to do that(a on and off command on a listener) explain it to me
Okay Thanks anyway bro :3 Would it be alright if I asked someine to do this for me in a new thread? Edit: Also, my server is doing well :3 Thanks for asking!
Make a hashmap, with a player as the key amd a boolean as the value. It is something like when the player does the command, if it is true set it to false and vice-versa. That sort of thing. BTW do you want to work with me for a plugin that includes this and more? (parachutes, no spout, etc) I think it would be pretty epic!