Uses of Class
com.velocitypowered.api.proxy.server.ServerPing.SamplePlayer
Packages that use ServerPing.SamplePlayer
Package
Description
Provides utilities to handle server information.
-
Uses of ServerPing.SamplePlayer in com.velocitypowered.api.proxy.server
Fields in com.velocitypowered.api.proxy.server declared as ServerPing.SamplePlayerModifier and TypeFieldDescriptionstatic final ServerPing.SamplePlayerServerPing.SamplePlayer.ANONYMOUSA constant representing an anonymous sample player with a null UUID and generic name.Methods in com.velocitypowered.api.proxy.server that return types with arguments of type ServerPing.SamplePlayerModifier and TypeMethodDescriptionServerPing.Players.getSample()Gets a sample list of online players.ServerPing.Builder.getSamplePlayers()Gets the sample players shown in the ping.Methods in com.velocitypowered.api.proxy.server with parameters of type ServerPing.SamplePlayerModifier and TypeMethodDescriptionServerPing.Builder.samplePlayers(ServerPing.SamplePlayer... players) Uses the modifiedplayersarray in the response.Method parameters in com.velocitypowered.api.proxy.server with type arguments of type ServerPing.SamplePlayerModifier and TypeMethodDescriptionServerPing.Builder.samplePlayers(Collection<ServerPing.SamplePlayer> players) Uses the modifiedplayerscollection in the response.Constructor parameters in com.velocitypowered.api.proxy.server with type arguments of type ServerPing.SamplePlayerModifierConstructorDescriptionPlayers(int online, int max, List<ServerPing.SamplePlayer> sample) Creates a new instance.