Uses of Class
com.velocitypowered.api.proxy.server.ServerPing
Packages that use ServerPing
Package
Description
Provides events for handling the lifecycle of the proxy.
Provides utilities to handle server information.
-
Uses of ServerPing in com.velocitypowered.api.event.proxy
Methods in com.velocitypowered.api.event.proxy that return ServerPingModifier and TypeMethodDescriptionProxyPingEvent.getPing()
Get the ServerPing to send to the connection.Methods in com.velocitypowered.api.event.proxy with parameters of type ServerPingModifier and TypeMethodDescriptionvoid
ProxyPingEvent.setPing
(@NotNull ServerPing ping) Sets the ServerPing to send to the connection.Constructors in com.velocitypowered.api.event.proxy with parameters of type ServerPing -
Uses of ServerPing in com.velocitypowered.api.proxy.server
Methods in com.velocitypowered.api.proxy.server that return ServerPingModifier and TypeMethodDescriptionServerPing.Builder.build()
Uses the information from this builder to create a newServerPing
instance.Methods in com.velocitypowered.api.proxy.server that return types with arguments of type ServerPingModifier and TypeMethodDescriptionRegisteredServer.ping()
Attempts to ping the remote server and return the server list ping result.RegisteredServer.ping
(PingOptions pingOptions) Attempts to ping the remote server and return the server list ping result according to the options provided.