パッケージ | 説明 |
---|---|
org.bukkit.event.player |
修飾子とタイプ | メソッドと説明 |
---|---|
PlayerLoginEvent.Result |
PlayerLoginEvent.getResult()
Gets the current result of the login, as an enum
|
static PlayerLoginEvent.Result |
PlayerLoginEvent.Result.valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static PlayerLoginEvent.Result[] |
PlayerLoginEvent.Result.values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
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
|
コンストラクタと説明 |
---|
PlayerLoginEvent(Player player,
PlayerLoginEvent.Result result,
String message)
非推奨です。
Address and hostname should be provided in other
constructor
|
PlayerLoginEvent(Player player,
String hostname,
InetAddress address,
PlayerLoginEvent.Result result,
String message,
InetAddress realAddress)
This constructor pre-configures the event with a result and message
|
Copyright © 2016. All rights reserved.