Closed synrg closed 2 years ago
FYI, there is no built in "alert" command for Velocity, so plugin.shutdown.alert-command=alert %s
does nothing and should probably be removed. https://velocitypowered.com/wiki/users/built-in-commands/
I'm investigating whether whatever this is supposed to accomplish (warn people in advance of a scheduled shutdown, I assume?) can be done with a Velocity plugin.
edit: I installed Velocity Utils and tested with ~stop 1m
. I have updated the config in my original post to indicate that plugin should be installed to support shutdown alert command setting.
Generally the JVM args would not be included in the sample. As for alerts, it's probably not needed as you generally don't restart your proxy often and when you do, alerting the proxy server doesn't do much since it doesn't always go to the other servers, I think it was just there to show how you can do that with mark2. I'd encourage making a pull request instead of an issue 😉
I have started playing with Velocity, a more modern, secure, featureful BungeeCord proxy replacement. I think mark2 should include a sample configuration. I include my mark2.properties so far below to kick off the discussion. I'm sure it can be improved upon.