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:
@@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user