Class LandClaimEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class LandClaimEvent
    extends FactionPlayerEvent
    implements org.bukkit.event.Cancellable
    Event called when an FPlayer claims land for a Faction.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getFactionId()
      Deprecated.
      use getFaction().getId() instead.
      java.lang.String getFactionTag()
      Deprecated.
      use getFaction().getTag() instead.
      FLocation getLocation()
      Get the FLocation involved in this event.
      org.bukkit.entity.Player getPlayer()
      Deprecated.
      use getfPlayer().getPlayer() instead.
      boolean isCancelled()  
      void setCancelled​(boolean c)  
      • Methods inherited from class org.bukkit.event.Event

        getEventName, isAsynchronous
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLocation

        public FLocation getLocation()
        Get the FLocation involved in this event.
        Returns:
        the FLocation (also a chunk) involved in this event.
      • getFactionId

        @Deprecated
        public java.lang.String getFactionId()
        Deprecated.
        use getFaction().getId() instead.
        Get the id of the faction.
        Returns:
        id of faction as String
      • getFactionTag

        @Deprecated
        public java.lang.String getFactionTag()
        Deprecated.
        use getFaction().getTag() instead.
        Get the tag of the faction.
        Returns:
        tag of faction as String
      • getPlayer

        @Deprecated
        public org.bukkit.entity.Player getPlayer()
        Deprecated.
        use getfPlayer().getPlayer() instead.
        Get the Player involved in this event.
        Returns:
        player from FPlayer.
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean c)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable