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).

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-04-16 03:08:05 -07:00
parent 752c217557
commit a53996b243
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
*