Uses of Class
com.velocitypowered.api.proxy.server.PingOptions.Builder
Packages that use PingOptions.Builder
Package
Description
Provides utilities to handle server information.
-
Uses of PingOptions.Builder in com.velocitypowered.api.proxy.server
Methods in com.velocitypowered.api.proxy.server that return PingOptions.BuilderModifier and TypeMethodDescriptionstatic PingOptions.Builder
PingOptions.builder()
Create a new builder to assign values to a new PingOptions.Sets the maximum time to wait to get the requiredServerPing
.Sets the maximum time to wait to get the requiredServerPing
.PingOptions.Builder.version
(@NotNull ProtocolVersion protocolVersion) Sets the protocol with which the server is to be pinged.PingOptions.Builder.virtualHost
(@Nullable String virtualHost) Sets the virtual host to pass to the server for the ping.