diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a71244..2b14bd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * TShock now writes its log files to the `logs` folder inside the `tshock` folder by default, as opposed to just the `tshock` folder. (@QuiCM) * The default MOTD is now prettier. The MOTD format can now contain `%specifier%` to send the command specifier. (@moisterrific) * The buff commands now support `-1` as a time option to set buffs that last 415 days (the maximum buff time the game supports). (@moisterrific) +* TShock defaults to saving backups every 10 minutes, and defaults to keeping backups for 4 hours. (@hakusaro) ## TShock 4.5.2 * Added preliminary support for Terraria 1.4.2.2. (@hakusaro) diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index 47a45aff..e02ad808 100644 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -93,11 +93,11 @@ namespace TShockAPI /// The interval between backups, in minutes. Backups are stored in the tshock/backups folder. [Description("The interval between backups, in minutes. Backups are stored in the tshock/backups folder.")] - public int BackupInterval; + public int BackupInterval = 10; /// For how long backups are kept in minutes. [Description("For how long backups are kept in minutes.\neg. 2880 = 2 days.")] - public int BackupKeepFor = 60; + public int BackupKeepFor = 240; /// Whether or not to save the world if the server crashes from an unhandled exception. [Description("Whether or not to save the world if the server crashes from an unhandled exception.")]