aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Server/Console/commands/ban/CliCommandBan.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Server/Console/commands/ban/CliCommandBan.h')
-rw-r--r--Minecraft.Server/Console/commands/ban/CliCommandBan.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Minecraft.Server/Console/commands/ban/CliCommandBan.h b/Minecraft.Server/Console/commands/ban/CliCommandBan.h
new file mode 100644
index 00000000..8605474c
--- /dev/null
+++ b/Minecraft.Server/Console/commands/ban/CliCommandBan.h
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "..\IServerCliCommand.h"
+
+namespace ServerRuntime
+{
+ /**
+ * Applies a dedicated-server player ban using Java Edition style syntax and Access-backed persistence
+ * Java Edition 風の ban コマンドで永続プレイヤーBANを行う
+ */
+ class CliCommandBan : public IServerCliCommand
+ {
+ public:
+ virtual const char *Name() const;
+ virtual const char *Usage() const;
+ virtual const char *Description() const;
+ virtual bool Execute(const ServerCliParsedLine &line, ServerCliEngine *engine);
+ virtual void Complete(const ServerCliCompletionContext &context, const ServerCliEngine *engine, std::vector<std::string> *out) const;
+ };
+}