public class IslandCreateWarpCategoryEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandCreateWarpCategoryEvent(SuperiorPlayer superiorPlayer,
Island island,
java.lang.String categoryName)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategoryName()
Get the name of the new warp-category.
|
SuperiorPlayer |
getPlayer()
Get the player that created the warp-category.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
getHandlerList, getHandlers, getIsland
public IslandCreateWarpCategoryEvent(SuperiorPlayer superiorPlayer, Island island, java.lang.String categoryName)
superiorPlayer
- The player that created the warp-category.island
- The island that the warp-category was created on.categoryName
- The name of the new warp-category.public SuperiorPlayer getPlayer()
public java.lang.String getCategoryName()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable