Class ChatListener
java.lang.Object
studio.magemonkey.codex.mccore.chat.ChatListener
- All Implemented Interfaces:
org.bukkit.event.Listener
Listens for players joining/quitting to load and clear data appropriately
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChatListener
Constructor- Parameters:
plugin- plugin hosting this listener
-
-
Method Details
-
onJoin
public void onJoin(org.bukkit.event.player.PlayerJoinEvent event) Loads player data when they join- Parameters:
event- event details
-
onQuit
public void onQuit(org.bukkit.event.player.PlayerQuitEvent event) Clears player data when they quit- Parameters:
event- event details
-