public class PreIslandCreateEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
PreIslandCreateEvent(SuperiorPlayer superiorPlayer)
Deprecated.
See PreIslandCreateEvent(SuperiorPlayer, String)
|
PreIslandCreateEvent(SuperiorPlayer superiorPlayer,
java.lang.String islandName)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getIslandName()
Get the name that was given to the island.
|
SuperiorPlayer |
getPlayer()
Get the player who created the island.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
public PreIslandCreateEvent(SuperiorPlayer superiorPlayer, java.lang.String islandName)
superiorPlayer
- The player who created the island.islandName
- The name that was given to the island.@Deprecated public PreIslandCreateEvent(SuperiorPlayer superiorPlayer)
superiorPlayer
- The player who created the island.public static org.bukkit.event.HandlerList getHandlerList()
public SuperiorPlayer getPlayer()
public java.lang.String getIslandName()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event