PlayerFishEvent?

Discussion in 'Plugin Help' started by Pqoster, May 18, 2021.

  1. Pqoster

    Pqoster Spider Jockey

    Messages:
    28
    hello guys,

    I would like to make the player I fished to be teleported to me. Is there any way to do this? I thought there was an event for that.

    ~ Forgiveness for weak English. ~
     
  2. WEATHERCRAFTYT1

    WEATHERCRAFTYT1 Baby Zombie

    Messages:
    120
    So when a fishing rod hits a player they teleport to you?
     
    Pqoster likes this.
  3. Pqoster

    Pqoster Spider Jockey

    Messages:
    28
    yes, exactly that
     
  4. WEATHERCRAFTYT1

    WEATHERCRAFTYT1 Baby Zombie

    Messages:
    120
    You can use the EntityDamageByEntity event and get the damager's item in hand which in this case is the fishing rod and then if the item is an fishing rod then you can teleport the player.
     
  5. Pqoster

    Pqoster Spider Jockey

    Messages:
    28
    Perfect. I'll try to do.
     
  6. Primus

    Primus Zombie Pigman

    Messages:
    693
    I didn't even know that fishing was implemented in pocketmine
     
  7. WEATHERCRAFTYT1

    WEATHERCRAFTYT1 Baby Zombie

    Messages:
    120
    Fishing rods are a thing but they don’t work. You need a plugin to get them to throw
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.