Add 'stop' command alias for 'off' and 'exit'
This commit is contained in:
parent
c905a086d1
commit
28cd87cea0
2 changed files with 3 additions and 2 deletions
|
|
@ -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."
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue