Interface TeleportListener

All Known Implementing Classes:
PaperChase

public interface TeleportListener
Implementing classes can be notified that a player teleported.
Author:
hendrik
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTeleport​(Player player, boolean playerAction)
    This method is called when a player teleports
  • Method Details

    • onTeleport

      void onTeleport(Player player, boolean playerAction)
      This method is called when a player teleports
      Parameters:
      player - the player teleporting
      playerAction - true, if the player actively teleported; false for all teleports