Essentials teleport accept listner

Discussion in 'Spigot Plugin Development' started by k1ll3rjezza, Jun 23, 2018.

  1. Hello,

    Im a novice developer that is trying to make a title appear for when a player does some basic commands like /spawn, /home, /warp & /tpa.

    Im currently using essentials for all of these things but i want my plugin to be able to display the countdown as a title.

    This is very easy for the /spawn, /warp & /home command.

    However the /tpa is something that is confusing me. If a player sends a /tpa {player} command, the player they send it to have an amount of time to accept.

    I want to be able to use essentials API to listen for that teleport accept because if a player ignores the teleport or deny's it then a title shouldn't appear.

    Is this possible with the current essentials API?

    If anyone could help me with this it would be much appreciated.

    Many Thanks :)
     
  2. So you don't want to use the SpigotAPI?
     
  3. #3 GreatThane, Jun 23, 2018
    Last edited: Jun 23, 2018
    • Agree Agree x 1