Constructor and Description |
---|
SubAddHostEvent(java.util.UUID player,
java.lang.String host)
Server Add Event
|
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.event.cause.Cause |
getCause()
Gets the cause of this Event
|
java.lang.String |
getHost()
Gets the Host to be Added
|
java.util.UUID |
getPlayer()
Gets the player that triggered the Event
|
public SubAddHostEvent(java.util.UUID player, java.lang.String host)
player
- Player Adding Serverhost
- Host to be addedpublic java.lang.String getHost()
public java.util.UUID getPlayer()
public org.spongepowered.api.event.cause.Cause getCause()
getCause
in interface org.spongepowered.api.event.Event