Class ServerPing.Players
java.lang.Object
com.velocitypowered.api.proxy.server.ServerPing.Players
- Enclosing class:
- ServerPing
Represents what the players the server purports to have online, its maximum capacity,
and a sample of players on the server.
-
Constructor Summary
ConstructorDescriptionPlayers
(int online, int max, List<ServerPing.SamplePlayer> sample) Creates a new instance. -
Method Summary
-
Constructor Details
-
Players
Creates a new instance.- Parameters:
online
- the number of online playersmax
- the maximum number of playerssample
- a sample of players on the server
-
-
Method Details