From 1f3ad231caa98bcdbaf946c52a331afbd293e05d Mon Sep 17 00:00:00 2001 From: bivashy Date: Mon, 16 Oct 2023 21:50:56 +0600 Subject: [PATCH] Add '/auth import' subcommand --- .../me/mastercapexd/auth/server/commands/AuthCommand.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/me/mastercapexd/auth/server/commands/AuthCommand.java b/core/src/main/java/me/mastercapexd/auth/server/commands/AuthCommand.java index 0a2a482e..3b183e5e 100644 --- a/core/src/main/java/me/mastercapexd/auth/server/commands/AuthCommand.java +++ b/core/src/main/java/me/mastercapexd/auth/server/commands/AuthCommand.java @@ -100,4 +100,9 @@ public void migrateConfig(ServerCommandActor actor) throws IOException, URISynta } actor.reply(config.getServerMessages().getMessage("config-migrated")); } + + @Subcommand("import") + public void importFromPlugin(ServerCommandActor actor) { + // TODO: PluginSourceType argument, then convert that into ImportSource using ImportSourceProvider. Then define ImportSourceExecutor + } } \ No newline at end of file