public interface IPlayerPreChatEvent extends PartiesEvent, Cancellable
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getFormattedMessage()
Get the formatted message of the player
|
@NotNull String |
getMessage()
Get the message of the player
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player who sent the message
|
void |
setFormattedMessage(String formattedMessage)
Set the formatted message of the player.
|
void |
setMessage(String message)
Set the message of the player
|
getApi, setApiisCancelled, setCancelled@NotNull @NotNull PartyPlayer getPartyPlayer()
PartyPlayer@NotNull @NotNull String getFormattedMessage()
void setFormattedMessage(String formattedMessage)
formattedMessage - the formatted message to set@NotNull @NotNull String getMessage()
void setMessage(String message)
message - the message to setCopyright © 2023. All rights reserved.