Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update velocity shutdown command (PaperMc/Velocity#1427) #493

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 message provided starts with `"`, `[`, or `{`, Then the message will tried to be parsed as JSON.
456dev marked this conversation as resolved.
Show resolved Hide resolved
If this parsing fails, or the message starts with anything else, the message will be parsed as MiniMessage.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra newline


## `/glist`

Expand Down