Skip to content

Commit

Permalink
chore: update Velocity shutdown command (#493)
Browse files Browse the repository at this point in the history
* Update velocity shutdown command docs

* Update docs/velocity/admin/reference/commands.md

Co-authored-by: Matouš Kučera <[email protected]>

---------

Co-authored-by: Matouš Kučera <[email protected]>
  • Loading branch information
456dev and zlataovce authored Jan 27, 2025
1 parent 83fda70 commit 38a16fc
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/velocity/admin/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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.


## `/glist`

Expand Down

0 comments on commit 38a16fc

Please sign in to comment.