Package | Description |
---|---|
net.md_5.bungee.api.connection | |
net.md_5.bungee.api.event |
Modifier and Type | Method and Description |
---|---|
void |
ProxiedPlayer.connect(ServerInfo target,
Callback<Boolean> callback,
ServerConnectEvent.Reason reason)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
void |
ProxiedPlayer.connect(ServerInfo target,
ServerConnectEvent.Reason reason)
Connects / transfers this user to the specified connection, gracefully
closing the current one.
|
Modifier and Type | Method and Description |
---|---|
static ServerConnectEvent.Reason |
ServerConnectEvent.Reason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerConnectEvent.Reason[] |
ServerConnectEvent.Reason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ServerConnectEvent(ProxiedPlayer player,
ServerInfo target,
ServerConnectEvent.Reason reason) |
Copyright © 2012–2019 SpigotMC. All rights reserved.