diff --git a/src/main/java/com/plusls/llsmanager/data/LBSWhiteList.java b/src/main/java/com/plusls/llsmanager/data/LBSWhiteList.java index 62a1c66..0925667 100644 --- a/src/main/java/com/plusls/llsmanager/data/LBSWhiteList.java +++ b/src/main/java/com/plusls/llsmanager/data/LBSWhiteList.java @@ -114,10 +114,6 @@ public boolean blacklistRemove(UUID uuid) { } } - public boolean blacklistAdd(UUID uuid) { - return blacklistAdd(uuid, Component.translatable("multiplayer.disconnect.banned").color(NamedTextColor.RED)); - } - public boolean setWhitelistStatus(boolean status) { if (whitelistData.enableWhiteList == status) { return false; diff --git a/src/main/java/com/plusls/llsmanager/mcdrCommand/MCDReforgedCommand.java b/src/main/java/com/plusls/llsmanager/mcdrCommand/MCDReforgedCommand.java index 6bd88f7..1142c42 100644 --- a/src/main/java/com/plusls/llsmanager/mcdrCommand/MCDReforgedCommand.java +++ b/src/main/java/com/plusls/llsmanager/mcdrCommand/MCDReforgedCommand.java @@ -10,8 +10,6 @@ import com.mojang.brigadier.builder.RequiredArgumentBuilder; import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.exceptions.CommandSyntaxException; -import com.mojang.brigadier.suggestion.Suggestions; -import com.mojang.brigadier.suggestion.SuggestionsBuilder; import com.mojang.brigadier.tree.LiteralCommandNode; import com.plusls.llsmanager.LlsManager; import com.plusls.llsmanager.command.Command; @@ -20,10 +18,8 @@ import com.velocitypowered.api.command.CommandMeta; import com.velocitypowered.api.command.CommandSource; import com.velocitypowered.api.proxy.ConsoleCommandSource; -import com.velocitypowered.api.proxy.Player; import java.util.ArrayList; -import java.util.concurrent.CompletableFuture; @Singleton public class MCDReforgedCommand implements Command { diff --git a/src/main/java/com/plusls/llsmanager/whitelist/LlsBlacklistCommand.java b/src/main/java/com/plusls/llsmanager/whitelist/LlsBlacklistCommand.java index ff0d152..0925494 100644 --- a/src/main/java/com/plusls/llsmanager/whitelist/LlsBlacklistCommand.java +++ b/src/main/java/com/plusls/llsmanager/whitelist/LlsBlacklistCommand.java @@ -18,7 +18,6 @@ import net.kyori.adventure.text.format.NamedTextColor; import javax.annotation.Nullable; -import javax.sound.midi.spi.SoundbankReader; import java.util.UUID; import java.util.concurrent.CompletableFuture; diff --git a/src/main/java/com/plusls/llsmanager/whitelist/LlsWhitelistCommand.java b/src/main/java/com/plusls/llsmanager/whitelist/LlsWhitelistCommand.java index 5e5f7bb..a977f56 100644 --- a/src/main/java/com/plusls/llsmanager/whitelist/LlsWhitelistCommand.java +++ b/src/main/java/com/plusls/llsmanager/whitelist/LlsWhitelistCommand.java @@ -2,37 +2,24 @@ import com.google.inject.Inject; import com.google.inject.Singleton; -import com.mojang.brigadier.arguments.BoolArgumentType; import com.mojang.brigadier.arguments.StringArgumentType; import com.mojang.brigadier.builder.LiteralArgumentBuilder; import com.mojang.brigadier.builder.RequiredArgumentBuilder; import com.mojang.brigadier.context.CommandContext; -import com.mojang.brigadier.exceptions.CommandSyntaxException; import com.mojang.brigadier.suggestion.Suggestions; import com.mojang.brigadier.suggestion.SuggestionsBuilder; import com.mojang.brigadier.tree.LiteralCommandNode; import com.plusls.llsmanager.LlsManager; import com.plusls.llsmanager.command.Command; -import com.plusls.llsmanager.data.LlsPlayer; -import com.plusls.llsmanager.util.LoadPlayerFailException; -import com.plusls.llsmanager.util.PlayerNotFoundException; import com.plusls.llsmanager.util.TextUtil; import com.velocitypowered.api.command.BrigadierCommand; import com.velocitypowered.api.command.CommandSource; import net.kyori.adventure.text.Component; -import net.kyori.adventure.text.TextComponent; -import net.kyori.adventure.text.event.ClickEvent; -import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.format.NamedTextColor; -import org.slf4j.Logger; import javax.annotation.Nullable; -import javax.naming.Name; -import java.io.IOException; -import java.util.Collections; import java.util.UUID; import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ConcurrentSkipListSet; @Singleton public class LlsWhitelistCommand { diff --git a/src/main/java/com/plusls/llsmanager/whitelist/UUIDUtil.java b/src/main/java/com/plusls/llsmanager/whitelist/UUIDUtil.java index addf22a..621f7b4 100644 --- a/src/main/java/com/plusls/llsmanager/whitelist/UUIDUtil.java +++ b/src/main/java/com/plusls/llsmanager/whitelist/UUIDUtil.java @@ -10,13 +10,8 @@ import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.StandardCharsets; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.text.MessageFormat; import java.util.UUID; -import com.plusls.llsmanager.LlsManager; - public class UUIDUtil { public static LlsManager llsManager;