| Package | Description | 
|---|---|
| org.bukkit.event.player | 
| Modifier and Type | Method | Description | 
|---|---|---|
| PlayerLoginEvent.Result | PlayerLoginEvent. getResult() | Gets the current result of the login, as an enum | 
| static PlayerLoginEvent.Result | PlayerLoginEvent.Result. valueOf(java.lang.String name) | Returns the enum constant of this type with the specified name. | 
| static PlayerLoginEvent.Result[] | PlayerLoginEvent.Result. values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | PlayerLoginEvent. disallow(PlayerLoginEvent.Result result,
        java.lang.String message) | Disallows the player from logging in, with the given reason | 
| void | PlayerLoginEvent. setResult(PlayerLoginEvent.Result result) | Sets the new result of the login, as an enum | 
| Constructor | Description | 
|---|---|
| PlayerLoginEvent(Player player,
                java.lang.String hostname,
                java.net.InetAddress address,
                PlayerLoginEvent.Result result,
                java.lang.String message,
                java.net.InetAddress realAddress) | This constructor pre-configures the event with a result and message | 
Copyright © 2018. All rights reserved.