Uses of Class
net.md_5.bungee.api.ServerConnectRequest.Builder
-
Uses of ServerConnectRequest.Builder in net.md_5.bungee.api
Modifier and TypeMethodDescriptionstatic ServerConnectRequest.Builder
ServerConnectRequest.builder()
ServerConnectRequest.Builder.callback
(Callback<ServerConnectRequest.Result> callback) Callback to execute post request.ServerConnectRequest.Builder.connectTimeout
(int connectTimeout) Timeout in milliseconds for request.ServerConnectRequest.Builder.reason
(ServerConnectEvent.Reason reason) Reason for connecting to server.ServerConnectRequest.Builder.requireAccess
(boolean requireAccess) Disabled by default.ServerConnectRequest.Builder.retry
(boolean retry) Should the player be attempted to connect to the next server in their queue if the initial request fails.ServerConnectRequest.Builder.sendFeedback
(boolean sendFeedback) Should feedback from the request be sent to players, allows plugins to silently deal with the outcome on their ownServerConnectRequest.Builder.target
(@NonNull ServerInfo target) Target server to connect to.