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
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull UUID
getFromUsername(@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, wait
Methods inherited from interface com.plotsquared.core.uuid.UUIDService
canBeSynchronous, getImmediately, getImmediately
-
Constructor Details
-
OfflineModeUUIDService
public OfflineModeUUIDService()
-
-
Method Details
-
getFromUsername
-
getNames
Description copied from interface:UUIDService
Attempt to complete the given requests. Returns the mappings that could be created by this server- Specified by:
getNames
in interfaceUUIDService
- Parameters:
uuids
- Requests- Returns:
- Completed requests
-
getUUIDs
Description copied from interface:UUIDService
Attempt to complete the given requests. Returns the mappings that could be created by this server- Specified by:
getUUIDs
in interfaceUUIDService
- Parameters:
usernames
- Requests- Returns:
- Completed requests
-