Created
June 22, 2013 21:52
-
-
Save riking/5842752 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* .... | |
* <p> | |
* This event is the first in the login process lifecycle. The lifecycle goes | |
* as follows: | |
* <ol> | |
* <li>Username verification with Mojang (unless in offline/insecure mode)</li> | |
* <li>AsyncPlayerPreLoginEvent<br> | |
* <b>Only if necessary:</b> | |
* <ol> | |
* <li>Server ticks</li> | |
* <li>The deprecated PlayerPreLoginEvent is called</li> | |
* </ol></li> | |
* <li>Player kicked if AsyncPlayerPreLoginEvent was disallow()ed</li> | |
* <li>Server ticks</li> | |
* <li>Bans are checked</li> | |
* <li>PlayerLoginEvent</li> | |
* <li>Player kicked if PlayerLoginEvent was disallow()ed</li> | |
* <li>Player is given a position and world</li> | |
* <li>PlayerJoinEvent (not cancellable!)</li> | |
* <li>PlayerTeleportEvent to correct login position</li> | |
* <li>Any other initialization is completed</li> | |
* </ol> | |
*/ | |
public class AsyncPlayerPreLoginEvent ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment