public class PluginInitializeEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
PluginInitializeEvent(SuperiorSkyblock plugin)
The constructor for the event.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
IslandsContainer |
getIslandsContainer()
Get the islands container that will be used for storing islands.
|
PlayersContainer |
getPlayersContainer()
Get the players container that will be used for storing players.
|
SuperiorSkyblock |
getPlugin()
Get the instance of the plugin.
|
void |
setIslandsContainer(IslandsContainer islandsContainer)
Set a new islands container to be used for storing islands.
|
void |
setPlayersContainer(PlayersContainer playersContainer)
Set a new players container to be used for storing players.
|
public PluginInitializeEvent(SuperiorSkyblock plugin)
plugin
- The instance of the plugin.public SuperiorSkyblock getPlugin()
@Nullable public IslandsContainer getIslandsContainer()
public void setIslandsContainer(IslandsContainer islandsContainer)
islandsContainer
- The new container.@Nullable public PlayersContainer getPlayersContainer()
public void setPlayersContainer(PlayersContainer playersContainer)
playersContainer
- The new container.public static org.bukkit.event.HandlerList getHandlerList()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event