public class BungeePartiesPlayerPostChatEvent extends BungeePartiesEvent implements IPlayerPostChatEvent
| Constructor and Description |
|---|
BungeePartiesPlayerPostChatEvent(PartyPlayer player,
Party party,
String formattedMessage,
String message) |
| 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
|
getApi, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApi, setApipublic BungeePartiesPlayerPostChatEvent(PartyPlayer player, Party party, String formattedMessage, String message)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostChatEventgetPartyPlayer in interface IPlayerPostChatEventPartyPlayer@NotNull public @NotNull Party getParty()
IPlayerPostChatEventgetParty in interface IPlayerPostChatEventParty@NotNull public @NotNull String getFormattedMessage()
IPlayerPostChatEventgetFormattedMessage in interface IPlayerPostChatEvent@NotNull public @NotNull String getMessage()
IPlayerPostChatEventgetMessage in interface IPlayerPostChatEventCopyright © 2023. All rights reserved.