From d59d4505cbd16759355c34bd8cb79354927de831 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 8 Apr 2022 23:00:03 -0400 Subject: [PATCH] Add stop command alias for ShutdownCommand Fixes #678 --- .../main/java/com/velocitypowered/proxy/VelocityServer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java index 82093801e..935b75291 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java @@ -209,7 +209,8 @@ public class VelocityServer implements ProxyServer, ForwardingAudience { // Initialize commands first commandManager.register("velocity", new VelocityCommand(this)); commandManager.register("server", new ServerCommand(this)); - commandManager.register("shutdown", ShutdownCommand.command(this), "end"); + commandManager.register("shutdown", ShutdownCommand.command(this), + "end", "stop"); new GlistCommand(this).register(); this.doStartupConfigLoad();