Constructor and Description |
---|
SubCreateEvent(java.util.UUID player,
Host host,
java.lang.String name,
SubCreator.ServerTemplate template,
Version version,
int port)
Server Create Event
|
Modifier and Type | Method and Description |
---|---|
Host |
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
|
SubCreator.ServerTemplate |
getTemplate()
Get the Template to Use
|
Version |
getVersion()
Get the Version the Server will use
|
boolean |
isCancelled()
Gets the Cancelled Status
|
void |
setCancelled(boolean value)
Sets the Cancelled Status
|
void |
setTemplate(SubCreator.ServerTemplate value)
Set the Template to Use
|
void |
setVersion(Version value)
Set the Version the Server will use
|
public SubCreateEvent(java.util.UUID player, Host host, java.lang.String name, SubCreator.ServerTemplate template, Version version, int port)
player
- Player Creatinghost
- Potential Hostname
- Server Nametemplate
- Server Templateversion
- Server Versionport
- Server Port Numberpublic Host getHost()
public java.lang.String getName()
public SubCreator.ServerTemplate getTemplate()
public void setTemplate(SubCreator.ServerTemplate value)
value
- Valuepublic Version getVersion()
public void setVersion(Version value)
value
- Valuepublic int getPort()
public java.util.UUID getPlayer()
public boolean isCancelled()
isCancelled
in interface net.md_5.bungee.api.plugin.Cancellable
public void setCancelled(boolean value)
setCancelled
in interface net.md_5.bungee.api.plugin.Cancellable