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, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public BungeePartiesPlayerPostChatEvent(PartyPlayer player, Party party, String formattedMessage, String message)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostChatEvent
getPartyPlayer
in interface IPlayerPostChatEvent
PartyPlayer
@NotNull public @NotNull Party getParty()
IPlayerPostChatEvent
getParty
in interface IPlayerPostChatEvent
Party
@NotNull public @NotNull String getFormattedMessage()
IPlayerPostChatEvent
getFormattedMessage
in interface IPlayerPostChatEvent
@NotNull public @NotNull String getMessage()
IPlayerPostChatEvent
getMessage
in interface IPlayerPostChatEvent
Copyright © 2023. All rights reserved.