1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-30 08:09:03 +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

@@ -163,6 +163,7 @@ public class GroupManager extends JavaPlugin {
int minutes = getGMConfig().getSaveInterval();
scheduler.scheduleAtFixedRate(commiter, minutes, minutes, TimeUnit.MINUTES);
GroupManager.logger.info("Scheduled Data Saving is set for every " + minutes + " minutes!");
GroupManager.logger.info("Backups will be retained for " + getGMConfig().getBackupDuration() + " hours!");
}
}