Player Listener
PlayerListener - Core Event Handler for Player Management
This listener class handles all critical player-related events in the MCMMO Core plugin. It manages the complete player lifecycle including data loading, initialization, welcome messaging, and cleanup procedures when players connect and disconnect.
Key Responsibilities:
Player data loading and initialization during login
Welcome message display with customizable formatting
Player data persistence and cleanup during logout
Debug logging for player session management
Event Processing Order:
PlayerLoginEvent (LOWEST priority) - Data loading
PlayerJoinEvent (MONITOR priority) - Welcome messages
PlayerQuitEvent (MONITOR priority) - Data saving and cleanup
Author
Your Team Name
Since
Plugin Version
Parameters
The main CorePlugin instance that provides access to: - Player data management functions - Configuration settings - Logging utilities
See also
For main plugin functionality
For Bukkit event handling interface