Interface UserApiService
- All Known Implementing Classes:
YggdrasilUserApiService
public interface UserApiService
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserApiServicestatic final UserApiService.UserProperties -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisBlockedPlayer(UUID playerID) Check if a player is on the block list.newTelemetrySession(Executor executor) Create fresh telemetry session.voidvoidreportAbuse(AbuseReportRequest request)
-
Field Details
-
OFFLINE_PROPERTIES
-
OFFLINE
-
-
Method Details
-
fetchProperties
- Throws:
AuthenticationException
-
isBlockedPlayer
Check if a player is on the block list. Note: might block- Parameters:
playerID- A valid player UUID- Returns:
- True if communications from the player should be blocked
-
refreshBlockList
void refreshBlockList() -
newTelemetrySession
Create fresh telemetry session.- Parameters:
executor- - executor used for sending operations
-
getKeyPair
-
reportAbuse
-
canSendReports
boolean canSendReports() -
getAbuseReportLimits
AbuseReportLimits getAbuseReportLimits()
-