Interface AltAccount
- All Superinterfaces:
AccountBase
A detected alt account
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the alt account has ANY active punishments of the specified typerecorded()The most recent time this alt was observedMethods inherited from interface AccountBase
address, latestUsername, uuid
-
Method Details
-
recorded
Instant recorded()The most recent time this alt was observed- Returns:
- the last time this alt account was observed
-
hasActivePunishment
Whether the alt account has ANY active punishments of the specified type- Parameters:
type- the punishment type- Returns:
- true if a punishment with the type exists and is active
- Throws:
IllegalArgumentException- if the type was not queried for in theAltDetectionQuery(note this exception is not guaranteed to be thrown, false may be returned instead)
-