Uses of Class
com.velocitypowered.api.proxy.server.ServerPing.Builder
Packages that use ServerPing.Builder
Package
Description
Provides utilities to handle server information.
-
Uses of ServerPing.Builder in com.velocitypowered.api.proxy.server
Methods in com.velocitypowered.api.proxy.server that return ServerPing.BuilderModifier and TypeMethodDescriptionServerPing.asBuilder()Returns a copy of thisServerPinginstance as a builder so that it can be modified.static ServerPing.BuilderServerPing.builder()ServerPing.Builder.clearFavicon()Clears the current favicon used in the response.ServerPing.Builder.clearMods()Clears the current list of mods to use in the response.ServerPing.Builder.clearSamplePlayers()Clears the current list of PlayerSamples to use in the response.ServerPing.Builder.description(Component description) Uses thedescriptionComponent in the response.Uses thefaviconin the response.ServerPing.Builder.maximumPlayers(int maximumPlayers) Uses the modifiedmaximumPlayersnumber in the response.Uses the modifiedmodslist in the response.ServerPing.Builder.mods(ModInfo.Mod... mods) Uses the modifiedmodsarray in the response.Uses the modifiedmodTypein the response.ServerPing.Builder.notModCompatible()Defines the server as mod incompatible in the response.ServerPing.Builder.nullPlayers()Enables nulling Players in the response.ServerPing.Builder.onlinePlayers(int onlinePlayers) Uses the modifiedonlinePlayersnumber in the response.ServerPing.Builder.samplePlayers(ServerPing.SamplePlayer... players) Uses the modifiedplayersarray in the response.ServerPing.Builder.samplePlayers(Collection<ServerPing.SamplePlayer> players) Uses the modifiedplayerscollection in the response.ServerPing.Builder.version(ServerPing.Version version) Uses the modifiedversioninfo in the response.