Class FactionRenameEvent

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

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

    • FactionRenameEvent

      public FactionRenameEvent(FPlayer sender, String newTag)
  • Method Details

    • getFactionTag

      public String getFactionTag()
      Get the new faction tag.
      Returns:
      new faction tag as String.
    • 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