Class ChatEvent
java.lang.Object
me.remigio07.chatplugin.api.server.event.chat.ChatEvent
- All Implemented Interfaces:
ChatPluginEvent,ChatPluginPlayerEvent,ChatPluginServerPlayerEvent
- Direct Known Subclasses:
PlayerPingEvent,PublicMessageEvent,StaffChatEvent
Represents a chat-related event.
-
Method Summary
Modifier and TypeMethodDescriptionGets the message involved with this event.Gets the player involved with this event.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.remigio07.chatplugin.api.common.event.ChatPluginEvent
call
-
Method Details
-
getPlayer
Description copied from interface:ChatPluginServerPlayerEventGets the player involved with this event.- Specified by:
getPlayerin interfaceChatPluginPlayerEvent- Specified by:
getPlayerin interfaceChatPluginServerPlayerEvent- Returns:
- Player involved
-
getMessage
Gets the message involved with this event.- Returns:
- Message involved
-