Class FPlayerLeaveEvent

java.lang.Object
org.bukkit.event.Event
All Implemented Interfaces:
org.bukkit.event.Cancellable

@NullMarked public class FPlayerLeaveEvent extends FactionPlayerEvent implements org.bukkit.event.Cancellable
  • Constructor Details

  • Method Details

    • isCancellable

      public boolean isCancellable()
    • getReason

      public FPlayerLeaveEvent.Reason getReason()
      Get the reason the player left the faction.
      Returns:
      reason player left the faction.
    • 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