Add 'stop' command alias for 'off' and 'exit'

This commit is contained in:
Lucas Nicodemus 2016-10-23 04:38:25 -06:00
parent c905a086d1
commit 28cd87cea0
No known key found for this signature in database
GPG key ID: CEE668CCE1BF2C7C
2 changed files with 3 additions and 2 deletions

View file

@ -330,11 +330,11 @@ namespace TShockAPI
{
HelpText = "Checks for TShock updates."
});
add(new Command(Permissions.maintenance, Off, "off", "exit")
add(new Command(Permissions.maintenance, Off, "off", "exit", "stop")
{
HelpText = "Shuts down the server while saving."
});
add(new Command(Permissions.maintenance, OffNoSave, "off-nosave", "exit-nosave")
add(new Command(Permissions.maintenance, OffNoSave, "off-nosave", "exit-nosave", "stop-nosave")
{
HelpText = "Shuts down the server without saving."
});