Class IslandLockEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public class IslandLockEvent extends CancellableIslandEvent
Fired when an island is locked.
Since:
2.8.4
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    IslandLockEvent(@NotNull IslandInfo islandInfo, @Nullable org.bukkit.OfflinePlayer initializer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     
    @Nullable org.bukkit.OfflinePlayer
    Gets the OfflinePlayer initializing the lock event, if available.

    Methods inherited from class us.talabrek.ultimateskyblock.api.event.island.CancellableIslandEvent

    isCancelled, setCancelled

    Methods inherited from class us.talabrek.ultimateskyblock.api.event.island.IslandEvent

    getIslandInfo

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IslandLockEvent

      public IslandLockEvent(@NotNull @NotNull IslandInfo islandInfo, @Nullable @Nullable org.bukkit.OfflinePlayer initializer)
  • Method Details

    • getInitializer

      @Nullable public @Nullable org.bukkit.OfflinePlayer getInitializer()
      Gets the OfflinePlayer initializing the lock event, if available.
      Returns:
      The OfflinePlayer initializing the trust event, or null if the initializer is unknown.
    • getHandlers

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

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