Class SubSendCommandEvent
java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubSendCommandEvent
- All Implemented Interfaces:
SubEvent
Send Command Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionSubSendCommandEvent
(UUID player, String server, String command, UUID target) Server Command Event -
Method Summary
Modifier and TypeMethodDescriptionGets the Command to Sendstatic HandlerList
Gets the player that triggered the EventGets the Server EffectedGets the Player that will be forced to send the CommandMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
SubSendCommandEvent
Server Command Event- Parameters:
player
- Player Commandingserver
- Target Servercommand
- Command to Sendtarget
- Player that will send
-
-
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
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-