1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-02 17:16:59 +02:00

Added data.save.hours setting to config. This allow control over how

long backups are retained.
This commit is contained in:
ElgarL
2011-10-16 08:58:45 +01:00
parent e049364557
commit 569af0bcf0
6 changed files with 14 additions and 4 deletions

View File

@@ -70,6 +70,10 @@ public class GMConfiguration {
public Integer getSaveInterval() {
return GMconfig.getInt("settings.data.save.minutes", 10);
}
public Integer getBackupDuration() {
return GMconfig.getInt("settings.data.save.hours", 24);
}
public void adjustLoggerLevel() {