public class SubCreateEvent extends Event
Constructor and Description |
---|
SubCreateEvent(java.util.UUID player,
java.lang.String host,
java.lang.String name,
java.lang.String template,
Version version,
int port)
Server Create Event
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost()
Get the Host the SubServer will run on
|
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
|
java.lang.String |
getTemplate()
Get the Template to Use
|
void |
getTemplate(java.lang.String value)
Set the Template to Use
|
Version |
getVersion()
Get the Version the Server will use
|
void |
setVersion(Version value)
Set the Version the Server will use
|
getAPI, getHandlers, getPlugin, toString
public SubCreateEvent(java.util.UUID player, java.lang.String host, java.lang.String name, java.lang.String template, Version version, int port)
player
- Player Creatinghost
- Potential Hostname
- Server Nametemplate
- Server Templateversion
- Server Versionport
- Server Port Numberpublic java.lang.String getHost()
public java.lang.String getName()
public java.lang.String getTemplate()
public void getTemplate(java.lang.String value)
value
- Valuepublic Version getVersion()
public void setVersion(Version value)
value
- Valuepublic int getPort()
public java.util.UUID getPlayer()