Class SubSendCommandEvent
java.lang.Object
net.ME1312.SubServers.Velocity.Event.SubSendCommandEvent
- All Implemented Interfaces:
SubEvent
Send Command Event
-
Constructor Summary
ConstructorDescriptionSubSendCommandEvent
(UUID player, String server, String command, UUID target) Server Command Event -
Method Summary
-
Constructor Details
-
SubSendCommandEvent
Server Command Event- Parameters:
player
- Player Commanding Serverserver
- Server being Commanded
-
-
Method Details
-
getServer
Gets the Server Effected- Returns:
- The Server Effected
-
getPlayer
Gets the player that triggered the Event- Returns:
- The Player that triggered this Event or null if Console
-
getCommand
Gets the Command to Send- Returns:
- Command to Send
-
getTarget
Gets the Player that will be forced to send the Command- Returns:
- Target Player or null if Console
-