Class OnRtpEvent

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

public class OnRtpEvent extends OnEventAction
The type On rtp event. Destination is provided to the parent via 'to'. Origin comes from 'from'.
  • Constructor Details

    • OnRtpEvent

      public OnRtpEvent(org.bukkit.entity.Player player, org.bukkit.Location to)
      Instantiates a new On rtp event.
      Parameters:
      player - the player
      to - the to
    • OnRtpEvent

      public OnRtpEvent(org.bukkit.entity.Player player, org.bukkit.Location from, org.bukkit.Location to)
      Instantiates a new On rtp event.
      Parameters:
      player - the player
      from - the from
      to - the to