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:
@@ -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() {
|
||||
|
||||
|
Reference in New Issue
Block a user