Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block).

This commit is contained in:
sk89q
2011-04-16 03:08:05 -07:00
parent c4a1e2613b
commit a7724a5138
5 changed files with 155 additions and 6 deletions

View File

@@ -152,6 +152,13 @@ public abstract class Event implements Serializable {
*/
PLAYER_LOGIN (Category.PLAYER),
/**
* Called when a player has just been authenticated
*
* @see org.bukkit.event.player.PlayerPreLoginEvent
*/
PLAYER_PRELOGIN (Category.PLAYER),
/**
* Called when a player respawns
*