Package me.kzlyth.api
Klasse AltInfo
java.lang.Object
me.kzlyth.api.AltInfo
Represents information about a potential alt account.
This model contains basic information about accounts that share the same IP address as another player and are potentially alt accounts.
When using UserInfoAPI.getAlts(java.util.UUID), multiple AltInfo objects
can be returned in a list if several accounts share IP addresses with the queried player.
Example:
List<AltInfo> alts = api.getUserInfoAPI().getAlts(uuid).join();
if (alts.isEmpty()) {
getLogger().info("No alt accounts found");
} else {
getLogger().info("Found " + alts.size() + " potential alt account(s):");
for (AltInfo alt : alts) {
getLogger().info(" - " + alt.getPlayerName() + " (" + alt.getUuid() + ")");
}
}
- Seit:
- 1.2.3
- Autor:
- Zenith-Studios
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
AltInfo
Constructs a new AltInfo object.- Parameter:
uuid- The UUID of the alt accountplayerName- The player name of the alt account
-
-
Methodendetails