Package net.lewmc.essence.chat
Class EventPlayerChat
java.lang.Object
net.lewmc.essence.chat.EventPlayerChat
- All Implemented Interfaces:
org.bukkit.event.Listener
PlayerChatEvent fires when a player sends a message in chat.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPlayerChat(org.bukkit.event.player.AsyncPlayerChatEvent event) Fires when a player sends a message in chat.
-
Constructor Details
-
EventPlayerChat
Constructs the class.- Parameters:
plugin- Reference to the main Essence class.
-
-
Method Details
-
onPlayerChat
public void onPlayerChat(org.bukkit.event.player.AsyncPlayerChatEvent event) Fires when a player sends a message in chat.- Parameters:
event- The AsyncPlayerChatEvent event.
-