Class OnHomeTeleportEvent

java.lang.Object
org.bukkit.event.Event
fr.fuzeblocks.homeplugin.event.OnEventAction
fr.fuzeblocks.homeplugin.event.OnHomeTeleportEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class OnHomeTeleportEvent extends OnEventAction
Fired when a player teleports to a home. Destination is provided to the parent via 'to'. Origin comes from 'from'.
  • Constructor Details

    • OnHomeTeleportEvent

      public OnHomeTeleportEvent(org.bukkit.entity.Player player, org.bukkit.Location to, String homeName)
      Instantiates a new On home teleport event.
      Parameters:
      player - the player
      to - the to
      homeName - the home name
    • OnHomeTeleportEvent

      public OnHomeTeleportEvent(org.bukkit.entity.Player player, org.bukkit.Location from, org.bukkit.Location to, String homeName)
      Instantiates a new On home teleport event.
      Parameters:
      player - the player
      from - the from
      to - the to
      homeName - the home name