Package com.booksaw.betterTeams.events
Class ChatManagement
java.lang.Object
com.booksaw.betterTeams.events.ChatManagement
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
spy
-
-
Constructor Details
-
ChatManagement
public ChatManagement()
-
-
Method Details
-
enable
public static void enable() -
onChat
public void onChat(org.bukkit.event.player.AsyncPlayerChatEvent event) This detects when the player speaks and either adds a prefix or puts the message in the team chat- Parameters:
event
- the chat event
-
spyQuit
public void spyQuit(org.bukkit.event.player.PlayerQuitEvent e)
-