From 1216d0bc8e7065bc3d51a15a301258000164c5a8 Mon Sep 17 00:00:00 2001 From: Isaac - The456 Date: Thu, 31 Oct 2024 20:09:47 +0000 Subject: [PATCH 1/2] Update velocity shutdown command docs --- docs/velocity/admin/reference/commands.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/velocity/admin/reference/commands.md b/docs/velocity/admin/reference/commands.md index 5597b8a24..c805df230 100644 --- a/docs/velocity/admin/reference/commands.md +++ b/docs/velocity/admin/reference/commands.md @@ -62,9 +62,19 @@ If a server name has been provided, Velocity will attempt to connect to the serv ## `/shutdown` -When executed from the console, this will gracefully shut down the Velocity proxy. All players will -be disconnected from the proxy and plugins will have a chance to finish up before the proxy shuts -down. An optional reason can be given, either as JSON or with [MiniMessage Format](https://docs.advntr.dev/minimessage/format.html). +:::info + +This command can only be executed from console. + +::: + +When run, this will gracefully shut down the Velocity proxy. +All players will be disconnected from the proxy, and plugins will have a chance to finish up before the proxy shuts down. +An optional reason can be given, either as JSON or with [MiniMessage Format](https://docs.advntr.dev/minimessage/format.html). + +If the message provided starts with `"`, `[`, or `{`, Then the message will tried to be parsed as JSON. +If this parsing fails, or the message starts with anything else, the message will be parsed as MiniMessage. + ## `/glist` From 9c6b099b89c7551fcd9145cb902c8e884b055866 Mon Sep 17 00:00:00 2001 From: Isaac - The456 Date: Thu, 31 Oct 2024 23:30:34 +0000 Subject: [PATCH 2/2] Update docs/velocity/admin/reference/commands.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matouš Kučera --- docs/velocity/admin/reference/commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/velocity/admin/reference/commands.md b/docs/velocity/admin/reference/commands.md index c805df230..658ed40a8 100644 --- a/docs/velocity/admin/reference/commands.md +++ b/docs/velocity/admin/reference/commands.md @@ -72,7 +72,7 @@ When run, this will gracefully shut down the Velocity proxy. All players will be disconnected from the proxy, and plugins will have a chance to finish up before the proxy shuts down. An optional reason can be given, either as JSON or with [MiniMessage Format](https://docs.advntr.dev/minimessage/format.html). -If the message provided starts with `"`, `[`, or `{`, Then the message will tried to be parsed as JSON. +If the provided message starts with `"`, `[`, or `{`, then the message is attempted to be parsed as JSON. If this parsing fails, or the message starts with anything else, the message will be parsed as MiniMessage.