Uses of Enum
net.md_5.bungee.api.event.ServerConnectEvent.Reason
-
Uses of ServerConnectEvent.Reason in net.md_5.bungee.api
Modifier and TypeMethodDescriptionServerConnectRequest.getReason()
Reason for connecting to server.Modifier and TypeMethodDescriptionServerConnectRequest.Builder.reason
(ServerConnectEvent.Reason reason) Reason for connecting to server. -
Uses of ServerConnectEvent.Reason in net.md_5.bungee.api.connection
Modifier and TypeMethodDescriptionvoid
ProxiedPlayer.connect
(ServerInfo target, Callback<Boolean> callback, boolean retry, ServerConnectEvent.Reason reason, int timeout) Connects / transfers this user to the specified connection, gracefully closing the current one.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. -
Uses of ServerConnectEvent.Reason in net.md_5.bungee.api.event
Modifier and TypeMethodDescriptionServerConnectEvent.getReason()
Reason for connecting to a new server.static ServerConnectEvent.Reason
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.ModifierConstructorDescriptionServerConnectEvent
(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason) Deprecated.ServerConnectEvent
(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason, ServerConnectRequest request)