|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PlayerLoginEvent.Result | |
|---|---|
| org.bukkit.event.player | Events relating to players. |
| Uses of PlayerLoginEvent.Result in org.bukkit.event.player |
|---|
| Methods in org.bukkit.event.player that return PlayerLoginEvent.Result | |
|---|---|
PlayerLoginEvent.Result |
PlayerLoginEvent.getResult()
Gets the current result of the login, as an enum |
static PlayerLoginEvent.Result |
PlayerLoginEvent.Result.valueOf(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. |
| Methods in org.bukkit.event.player with parameters of type PlayerLoginEvent.Result | |
|---|---|
void |
PlayerLoginEvent.disallow(PlayerLoginEvent.Result result,
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 |
| Constructors in org.bukkit.event.player with parameters of type PlayerLoginEvent.Result | |
|---|---|
PlayerLoginEvent(Player player,
PlayerLoginEvent.Result result,
String message)
Deprecated. Address and hostname should be provided in other constructor |
|
PlayerLoginEvent(Player player,
String hostname,
InetAddress address,
PlayerLoginEvent.Result result,
String message)
This constructor pre-configures the event with a result and message |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||