Class DeleteNationEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.DeleteNationEvent

public class DeleteNationEvent extends org.bukkit.event.Event
  • Field Details

    • name

      protected final String name
    • uuid

      protected final UUID uuid
    • registered

      protected final long registered
  • Constructor Details

  • Method Details

    • getNationName

      public String getNationName()
      Returns:
      the deleted nation name.
    • getNationUUID

      public UUID getNationUUID()
      Returns:
      the deleted nation uuid.
    • getNationCreated

      public long getNationCreated()
      Returns:
      deleted nation time of creation (in ms).
    • getLeaderUUID

      @Nullable public @Nullable UUID getLeaderUUID()
      Returns:
      the deleted nation's leader's UUID, or null.
    • getLeader

      @Nullable public @Nullable Resident getLeader()
      Returns:
      The deleted nation's leader's Resident object, or null.
    • getCause

      public DeleteNationEvent.Cause getCause()
    • getSender

      @Nullable public @Nullable org.bukkit.command.CommandSender getSender()
      Returns:
      The command sender who caused the deletion
    • getSenderResident

      @Nullable public @Nullable Resident getSenderResident()
      Returns:
      The getSender() as a resident.
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()