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
|
|
@ -10,6 +10,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
|||
* Removed TShock color parsing from MOTDs (@WhiteXZ).
|
||||
* Fixed butterfly statues spawning catchable butterflies (@DogooFalchion).
|
||||
* Implemented some missing balance changes lost in prior version patches (@DogooFalchion).
|
||||
* Added alias for server shutdown command: stop (@nicatronTg).
|
||||
|
||||
## TShock 4.3.20
|
||||
* Security improvement: The auth system is now automatically disabled if a superadmin exists in the database (@Enerdy).
|
||||
|
|
|
|||
|
|
@ -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