Uses of Interface
net.md_5.bungee.api.Callback
Package
Description
-
Uses of Callback in net.md_5.bungee.api.config
Modifier and TypeMethodDescriptionvoid
ServerInfo.ping
(Callback<ServerPing> callback) Asynchronously gets the current player count on this server. -
Uses of Callback in net.md_5.bungee.api.connection
Modifier and TypeMethodDescriptionvoid
ProxiedPlayer.connect
(ServerInfo target, Callback<Boolean> callback) 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. -
Uses of Callback in net.md_5.bungee.api.event
ModifierConstructorDescriptionLoginEvent
(PendingConnection connection, Callback<LoginEvent> done) PostLoginEvent
(ProxiedPlayer player, ServerInfo target, Callback<PostLoginEvent> done) PreLoginEvent
(PendingConnection connection, Callback<PreLoginEvent> done) ProxyPingEvent
(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done)