Inactive [FUN/TP] DragRod v1.2.1 - Drag entities around with a Rod [1.2.5-R2]

Discussion in 'Inactive/Unsupported Plugins' started by Laserhog, Nov 12, 2011.

  1. Offline

    Laserhog

    DragRod
    Description
    This is a simple plugin that allows people to use a fishing rod and drag themselves to other entities and vice-versa. When something has been caught the player can either:
    1. Reel the line in to bring the entity to them
    2. Crouch and reel the line in to bring themselves to the entity
    Permission Nodes
    • "dragrod.toplayer" ------ Allow the player to drag the caught entity to themselves
    • "dragrod.tocaught" ----- Allow the player to drag themselves to the caught entity
    Download the jar
    Video Demo

    Current Features
    • Transport to entities caught
    • Teleport entities caught to you
    • Super perm nodes
    Possible To-Do's
    • Add SuperPerms permission node(s)?
    • Any suitable requests
    Known Bugs
    Can travel through walls if caught entity is on the other side

    Change-Log


    Version 1.2.1
    -Updated to CB 1.2.5 R2

    Version 1.2.0

    - 1.1 RB Compatability
    - Can pass through tall grass

    Version 1.1.1
    - Fixed bug where you travel through wall

    Version 1.1
    - Added smoother transportation
    - Added permission nodes

    Version 1.0
    -Initial Release
     
    kahlilnc likes this.
  2. Offline

    kahlilnc

    :p Nice Laser a video would be interesting :D
     
  3. Offline

    Laserhog

    Hmmmmm, I may try to make a video of it. But no ones really showing any interest in it :(
     
  4. Offline

    Windwaker

    Doesn't a fishing rod already bring a mob closer to you? :p
     
  5. Offline

    Laserhog

    Yes, but not the other way around :D
    And this also brings it to your position so its a more powerful pull.

    On another note, does anyone know how to simulate the pull action? So it is a smooth movement rather than a teleport. I have looked at HookShot but its quite buggy and causes people to move too fast so they get kicked. If anyone had anything different to help me out i would be very grateful :)
     
  6. Offline

    Windwaker

    setVelocity();
     
  7. Offline

    Laserhog

    Theres no way that its that simple. If it is then why wouldn't the dev of HookShot use it? Ill still look into it, but i think i have come up with a different way.
     
  8. Offline

    Windwaker

    See Entity > setVelocity(); at http://jd.bukkit.org/apidocs/
     
  9. Offline

    Laserhog

    Well I've managed to get a "Smooth" transport of the player to the entity caught. Only issue is that you can go through walls when you do it if the thing on the end of the line is on the other side of a wall. This isn't a major problem as you don't get damaged but i may, at a later date and if enough people find it an annoyance, add a check to see if there is a block infront of you before continuing forward.
    I also didn't use the "Smooth" transport for bringing something towards you as it, well, didn't look smooth at all :p. Its still in the code so if you want to test it go ahead, its just quoted.
    Oh and i added super perm nodes for each event, "dragrod.toplayer" and "dragrod.tocaught", both pretty self explanatory but ill put descriptions in the top.

    Version 1.1.1 up now, Added check so player doesn't travel through walls

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  10. Offline

    kahlilnc

    Tried it and it works :D Players and mobs.
    Is it suppose to bring you to them? It does that about 50% of the time. But its fun for PVP
     
  11. Offline

    Laserhog

    That should explain it.
     
    kahlilnc likes this.
  12. Offline

    kahlilnc

    I = FAIL
     
  13. Offline

    LetzGo

    Sounds nice. :D
    I will test it and make a new class in my pvp-arena. ^^

    I can do a video for you if you want.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
    Laserhog likes this.
  14. Offline

    Laserhog

    Sure. Go ahead. Like a spotlight?
     
  15. Offline

    LetzGo

    Sorry didnt recieve an alert or something.
    Yeah something like that.
    I would show what it does and what you could do with that.
     
  16. Offline

    shanko

    sounds like fun, so it only works on entities? cant do it to blocks?
     
  17. Offline

    Laserhog

    No, the current bukkit API doesnt allow for me to get the location of the bobber unless it is on an entity. That was my initial plan, but after awhile of looking through the API and asking several people i found that it just isnt possible (for now i hope)
     
  18. Offline

    md_5

    Latest rb please
     
  19. Offline

    Laserhog

    Tested and working with latest RB. Changed RB in title.
     
  20. Offline

    md_5

    Approved.
     
  21. Offline

    misteryman321

    i like the vid ideo do it
     
  22. Offline

    kahlilnc

    You want a video?
     
  23. Offline

    misteryman321

    you know make a vid on how this plugin works cause ive never ever heard of ragrod whear you can make dummies and stuff never ever seen that on a mc server i think so ya i would love to see a vid on this

    ya i would like you to make a vid on this

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  24. Offline

    kahlilnc

    Lol ik what you wanted, your typing was just so sloppy. . .
     
  25. Offline

    misteryman321

    lol ill take that sloppy thing as a true cmplement lol
     
  26. Offline

    kahlilnc

    Code:
    i like the vid ideo do it
    Does that make sense to you?
     
  27. Offline

    misteryman321

    in my world it does
     
  28. Offline

    Laserhog

    If someone wants to make a video of this plugin then sure, but i am still yet to update it to 1.1-RB (possibly get it done later today) so it wont actually work with the most recent RB
     
  29. Offline

    Laserhog

    Samkio and Torrent like this.
  30. Offline

    sahkydon

    Any ability to grab hold and be dragged? My Admins could use this as a fun way to follow players lol. If they can be dragged, can you try and see if you can add a config for leash length? and could you put an option to go through walls when dragged, again for admins xD Permissions for these would also be appreciated :D
     

Share This Page