Constructor and Description |
---|
SubCreateEvent(java.util.UUID player,
java.lang.String host,
java.lang.String name,
PacketCreateServer.ServerType type,
Version version,
int memory,
int port)
Server Create Event
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getHost()
Get the Host the SubServer will run on
|
int |
getMemory()
Get the Server RAM Amount (in MB)
|
java.lang.String |
getName()
Get the name the SubServer will use
|
java.util.UUID |
getPlayer()
Gets the player that triggered the Event
|
int |
getPort()
Get the Port the Server will use
|
PacketCreateServer.ServerType |
getType()
Get the type of Server to create
|
Version |
getVersion()
Get the Version the Server will use
|
void |
setMemory(int value)
Set the Server RAM Amount (in MB)
|
void |
setType(PacketCreateServer.ServerType value)
Set the Type of Server to Create
|
void |
setVersion(Version value)
Set the Version the Server will use
|
public SubCreateEvent(java.util.UUID player, java.lang.String host, java.lang.String name, PacketCreateServer.ServerType type, Version version, int memory, int port)
player
- Player Creatinghost
- Potential Hostname
- Server Nametype
- Server Typeversion
- Server Versionmemory
- Server RAM Amountport
- Server Port Numberpublic java.lang.String getHost()
public java.lang.String getName()
public PacketCreateServer.ServerType getType()
public void setType(PacketCreateServer.ServerType value)
value
- Valuepublic Version getVersion()
public void setVersion(Version value)
value
- Valuepublic int getMemory()
public void setMemory(int value)
value
- Valuepublic int getPort()
public java.util.UUID getPlayer()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()