diff --git a/api/src/main/java/me/lucko/luckperms/api/LuckPermsApi.java b/api/src/main/java/me/lucko/luckperms/api/LuckPermsApi.java index 4205866d8..bdf96231d 100644 --- a/api/src/main/java/me/lucko/luckperms/api/LuckPermsApi.java +++ b/api/src/main/java/me/lucko/luckperms/api/LuckPermsApi.java @@ -198,19 +198,6 @@ public interface LuckPermsApi { */ @NonNull ActionLogger getActionLogger(); - /** - * Gets a {@link UuidCache}. - * - *
The uuid cache provides read access to the internal LuckPerms uuid - * mapping system.
- * - * @return the uuid cache - * @deprecated this feature is now handled internally - and the API returns a - * No-op implementation of this class. - */ - @Deprecated - @NonNull UuidCache getUuidCache(); - /** * Gets the {@link ContextManager}. * diff --git a/api/src/main/java/me/lucko/luckperms/api/UuidCache.java b/api/src/main/java/me/lucko/luckperms/api/UuidCache.java deleted file mode 100644 index 6b2e583a1..000000000 --- a/api/src/main/java/me/lucko/luckperms/api/UuidCache.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * This file is part of LuckPerms, licensed under the MIT License. - * - * Copyright (c) lucko (Luck)When use-server-uuids
is true, this returns the same UUID
- * instance.
Player#getUniqueId
or
- * ProxiedPlayer#getUniqueId
- * @return the corresponding internal UUID
- */
- @Deprecated
- @NonNull UUID getUUID(@NonNull UUID mojangUuid);
-
- /**
- * Gets a users "external", server assigned unique id, from the internal
- * one used within LuckPerms.
- *
- * @param internalUuid the UUID used within LuckPerms, through
- * User#getUuid
- * @return the corresponding external UUID
- */
- @Deprecated
- @NonNull UUID getExternalUUID(@NonNull UUID internalUuid);
-
-}
diff --git a/common/src/main/java/me/lucko/luckperms/common/api/LuckPermsApiProvider.java b/common/src/main/java/me/lucko/luckperms/common/api/LuckPermsApiProvider.java
index e5a79f978..4df531ed4 100644
--- a/common/src/main/java/me/lucko/luckperms/common/api/LuckPermsApiProvider.java
+++ b/common/src/main/java/me/lucko/luckperms/common/api/LuckPermsApiProvider.java
@@ -31,7 +31,6 @@ import me.lucko.luckperms.api.LuckPermsApi;
import me.lucko.luckperms.api.MessagingService;
import me.lucko.luckperms.api.NodeFactory;
import me.lucko.luckperms.api.Storage;
-import me.lucko.luckperms.api.UuidCache;
import me.lucko.luckperms.api.context.ContextManager;
import me.lucko.luckperms.api.event.EventBus;
import me.lucko.luckperms.api.manager.CachedDataManager;
@@ -51,7 +50,6 @@ import me.lucko.luckperms.common.api.implementation.ApiNodeFactory;
import me.lucko.luckperms.common.api.implementation.ApiPlatformInfo;
import me.lucko.luckperms.common.api.implementation.ApiTrackManager;
import me.lucko.luckperms.common.api.implementation.ApiUserManager;
-import me.lucko.luckperms.common.api.implementation.NoopUuidCache;
import me.lucko.luckperms.common.config.ConfigKeys;
import me.lucko.luckperms.common.messaging.LuckPermsMessagingService;
import me.lucko.luckperms.common.plugin.LuckPermsPlugin;
@@ -153,12 +151,6 @@ public class LuckPermsApiProvider implements LuckPermsApi {
return this.actionLogger;
}
- @Deprecated
- @Override
- public @NonNull UuidCache getUuidCache() {
- return NoopUuidCache.INSTANCE;
- }
-
@Override
public @NonNull ContextManager getContextManager() {
return this.contextManager;
diff --git a/common/src/main/java/me/lucko/luckperms/common/api/implementation/NoopUuidCache.java b/common/src/main/java/me/lucko/luckperms/common/api/implementation/NoopUuidCache.java
deleted file mode 100644
index 012c8735e..000000000
--- a/common/src/main/java/me/lucko/luckperms/common/api/implementation/NoopUuidCache.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * This file is part of LuckPerms, licensed under the MIT License.
- *
- * Copyright (c) lucko (Luck)