Constructor and Description |
---|
SubSendCommandEvent(java.util.UUID player,
SubServer server,
java.lang.String command)
Server Command Event
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
Gets the Command to Send
|
java.util.UUID |
getPlayer()
Gets the player that triggered the Event
|
SubServer |
getServer()
Gets the Server Effected
|
boolean |
isCancelled()
Gets the Cancelled Status
|
void |
setCancelled(boolean value)
Sets the Cancelled Status
|
void |
setCommand(java.lang.String value)
Sets the Command to be Sent
|
public SubSendCommandEvent(java.util.UUID player, SubServer server, java.lang.String command)
player
- Player Commanding Serverserver
- Server being Commandedpublic SubServer getServer()
public java.util.UUID getPlayer()
public java.lang.String getCommand()
public void setCommand(java.lang.String value)
value
- Valuepublic 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