Uses of Enum
net.md_5.bungee.api.event.ServerConnectEvent.Reason
-
Uses of ServerConnectEvent.Reason in net.md_5.bungee.api.connection
Modifier and TypeMethodDescriptionvoid
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 TypeMethodDescriptionstatic 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)