Class PlayerInfo
java.lang.Object
com.velocitypowered.api.proxy.player.PlayerInfo
A class that represents the necessary information from all players connected
to servers when Redis is enabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the username of the player.getUuid()Gets the UUID of the player.
-
Constructor Details
-
PlayerInfo
Creates a Player Info holder.- Parameters:
username- The username of the player.uuid- The UUID of the player.
-
-
Method Details
-
getUsername
Gets the username of the player.- Returns:
- the player's username
-
getUuid
Gets the UUID of the player.- Returns:
- the player's UUID
-