Automatically back up the world by default

Backups run every 10 minutes for up to 4 hours of backups to prevent
against accidental data loss.
This commit is contained in:
Lucas Nicodemus 2021-05-20 03:31:37 -07:00
parent d7bc4fdbda
commit 39147355c1
2 changed files with 3 additions and 2 deletions

View file

@ -93,11 +93,11 @@ namespace TShockAPI
/// <summary>The interval between backups, in minutes. Backups are stored in the tshock/backups folder.</summary>
[Description("The interval between backups, in minutes. Backups are stored in the tshock/backups folder.")]
public int BackupInterval;
public int BackupInterval = 10;
/// <summary>For how long backups are kept in minutes.</summary>
[Description("For how long backups are kept in minutes.\neg. 2880 = 2 days.")]
public int BackupKeepFor = 60;
public int BackupKeepFor = 240;
/// <summary>Whether or not to save the world if the server crashes from an unhandled exception.</summary>
[Description("Whether or not to save the world if the server crashes from an unhandled exception.")]