Package com.github.mafelp.minecraft
Class MinecraftChatListener
java.lang.Object
com.github.mafelp.minecraft.MinecraftChatListener
- All Implemented Interfaces:
org.bukkit.event.Listener
public class MinecraftChatListener
extends java.lang.Object
implements org.bukkit.event.Listener
Class that reacts to chat messages sent on the minecraft server.
-
Constructor Summary
Constructors Constructor Description MinecraftChatListener()
-
Method Summary
Modifier and Type Method Description void
onChatMessage(org.bukkit.event.player.AsyncPlayerChatEvent event)
Method called by the minecraft server when a chat message is being sentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MinecraftChatListener
public MinecraftChatListener()
-
-
Method Details
-
onChatMessage
public void onChatMessage(org.bukkit.event.player.AsyncPlayerChatEvent event)Method called by the minecraft server when a chat message is being sent- Parameters:
event
- class containing information about the message
-