Class OfflineModeUUIDService
java.lang.Object
com.plotsquared.core.uuid.offline.OfflineModeUUIDService
- All Implemented Interfaces:
UUIDService
Name provider service that creates UUIDs from usernames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull UUIDgetFromUsername(@NonNull String username)@NonNull List<@NonNull UUIDMapping>Attempt to complete the given requests.@NonNull List<@NonNull UUIDMapping>Attempt to complete the given requests.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.plotsquared.core.uuid.UUIDService
canBeSynchronous, getImmediately, getImmediately
-
Constructor Details
-
OfflineModeUUIDService
public OfflineModeUUIDService()
-
-
Method Details
-
getFromUsername
-
getNames
Description copied from interface:UUIDServiceAttempt to complete the given requests. Returns the mappings that could be created by this server- Specified by:
getNamesin interfaceUUIDService- Parameters:
uuids- Requests- Returns:
- Completed requests
-
getUUIDs
Description copied from interface:UUIDServiceAttempt to complete the given requests. Returns the mappings that could be created by this server- Specified by:
getUUIDsin interfaceUUIDService- Parameters:
usernames- Requests- Returns:
- Completed requests
-