@MightOccurAsync public static interface NucleusAFKEvent.NotifyCommand extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent
Modifier and Type | Method and Description |
---|---|
Optional<org.spongepowered.api.text.Text> |
getMessage()
Gets the message to send to the command invoker
|
Optional<org.spongepowered.api.text.Text> |
getOriginalMessage()
Gets the original message that would have been sent to players, if any.
|
void |
setMessage(org.spongepowered.api.text.Text message)
Sets the message to send to the command invoker, if any.
|
Optional<org.spongepowered.api.text.Text> getOriginalMessage()
Optional<org.spongepowered.api.text.Text> getMessage()
void setMessage(@Nullable org.spongepowered.api.text.Text message)
message
- The message. A null message suppresses the message.