Class VelocityPartiesPlayerPostChatEvent
java.lang.Object
com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
com.alessiodp.parties.api.events.velocity.player.VelocityPartiesPlayerPostChatEvent
- All Implemented Interfaces:
IPlayerPostChatEvent,PartiesEvent
public class VelocityPartiesPlayerPostChatEvent
extends VelocityPartiesEvent
implements IPlayerPostChatEvent
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityPartiesPlayerPostChatEvent(PartyPlayer player, Party party, String formattedMessage, String message) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringGet the formatted message of the player@NotNull StringGet the message of the player@NotNull PartygetParty()Get the party@NotNull PartyPlayerGet the player who sent the messageMethods inherited from class com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
getApi, setApiMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
VelocityPartiesPlayerPostChatEvent
public VelocityPartiesPlayerPostChatEvent(PartyPlayer player, Party party, String formattedMessage, String message)
-
-
Method Details
-
getPartyPlayer
Description copied from interface:IPlayerPostChatEventGet the player who sent the message- Specified by:
getPartyPlayerin interfaceIPlayerPostChatEvent- Returns:
- the
PartyPlayer
-
getParty
Description copied from interface:IPlayerPostChatEventGet the party- Specified by:
getPartyin interfaceIPlayerPostChatEvent- Returns:
- the
Party
-
getFormattedMessage
Description copied from interface:IPlayerPostChatEventGet the formatted message of the player- Specified by:
getFormattedMessagein interfaceIPlayerPostChatEvent- Returns:
- the formatted message
-
getMessage
Description copied from interface:IPlayerPostChatEventGet the message of the player- Specified by:
getMessagein interfaceIPlayerPostChatEvent- Returns:
- the message
-