Class BukkitPartiesPlayerPostChatEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
-
- com.alessiodp.parties.api.events.bukkit.player.BukkitPartiesPlayerPostChatEvent
-
- All Implemented Interfaces:
IPlayerPostChatEvent,PartiesEvent
public class BukkitPartiesPlayerPostChatEvent extends BukkitPartiesEvent implements IPlayerPostChatEvent
-
-
Constructor Summary
Constructors Constructor Description BukkitPartiesPlayerPostChatEvent(PartyPlayer player, Party party, String formattedMessage, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringgetFormattedMessage()Get the formatted message of the player@NotNull StringgetMessage()Get the message of the player@NotNull PartygetParty()Get the party@NotNull PartyPlayergetPartyPlayer()Get the player who sent the message-
Methods inherited from class com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
getApi, getHandlerList, getHandlers, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BukkitPartiesPlayerPostChatEvent
public BukkitPartiesPlayerPostChatEvent(PartyPlayer player, Party party, String formattedMessage, String message)
-
-
Method Detail
-
getPartyPlayer
@NotNull public @NotNull PartyPlayer getPartyPlayer()
Description copied from interface:IPlayerPostChatEventGet the player who sent the message- Specified by:
getPartyPlayerin interfaceIPlayerPostChatEvent- Returns:
- the
PartyPlayer
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPlayerPostChatEventGet the party- Specified by:
getPartyin interfaceIPlayerPostChatEvent- Returns:
- the
Party
-
getFormattedMessage
@NotNull public @NotNull String getFormattedMessage()
Description copied from interface:IPlayerPostChatEventGet the formatted message of the player- Specified by:
getFormattedMessagein interfaceIPlayerPostChatEvent- Returns:
- the formatted message
-
getMessage
@NotNull public @NotNull String getMessage()
Description copied from interface:IPlayerPostChatEventGet the message of the player- Specified by:
getMessagein interfaceIPlayerPostChatEvent- Returns:
- the message
-
-