@MightOccurAsync public static interface NucleusAFKEvent.NotifyCommand extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent
Modifier and Type | Method and Description |
---|---|
java.util.Optional<org.spongepowered.api.text.Text> |
getMessage()
Gets the message to send to the command invoker
|
java.util.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.
|
java.util.Optional<org.spongepowered.api.text.Text> getOriginalMessage()
java.util.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.