Skip to content

Commit 38a16fc

Browse files
456devzlataovce
andauthored
chore: update Velocity shutdown command (#493)
* Update velocity shutdown command docs * Update docs/velocity/admin/reference/commands.md Co-authored-by: Matouš Kučera <mk@kcra.me> --------- Co-authored-by: Matouš Kučera <mk@kcra.me>
1 parent 83fda70 commit 38a16fc

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

docs/velocity/admin/reference/commands.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,19 @@ If a server name has been provided, Velocity will attempt to connect to the serv
6262

6363
## `/shutdown`
6464

65-
When executed from the console, this will gracefully shut down the Velocity proxy. All players will
66-
be disconnected from the proxy and plugins will have a chance to finish up before the proxy shuts
67-
down. An optional reason can be given, either as JSON or with [MiniMessage Format](https://docs.advntr.dev/minimessage/format.html).
65+
:::info
66+
67+
This command can only be executed from console.
68+
69+
:::
70+
71+
When run, this will gracefully shut down the Velocity proxy.
72+
All players will be disconnected from the proxy, and plugins will have a chance to finish up before the proxy shuts down.
73+
An optional reason can be given, either as JSON or with [MiniMessage Format](https://docs.advntr.dev/minimessage/format.html).
74+
75+
If the provided message starts with `"`, `[`, or `{`, then the message is attempted to be parsed as JSON.
76+
If this parsing fails, or the message starts with anything else, the message will be parsed as MiniMessage.
77+
6878

6979
## `/glist`
7080

0 commit comments

Comments
 (0)