1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 03:03:02 +01:00

Add hidden options for uuid conversion

This commit is contained in:
TfT_02
2014-07-11 15:24:34 +02:00
parent 8d6f151a54
commit e7d5aa17bf
4 changed files with 20 additions and 2 deletions

View File

@@ -460,7 +460,8 @@ public class mcMMO extends JavaPlugin {
new SaveTimerTask().runTaskTimer(this, saveIntervalTicks, saveIntervalTicks);
// Slowly update every entry in the database with UUIDs
new UUIDUpdateAsyncTask(this).runTaskTimerAsynchronously(this, 5 * Misc.TICK_CONVERSION_FACTOR, 30 * Misc.TICK_CONVERSION_FACTOR);
int uuidConvertInterval = HiddenConfig.getInstance().getUUIDConvertInterval();
new UUIDUpdateAsyncTask(this).runTaskTimerAsynchronously(this, uuidConvertInterval * Misc.TICK_CONVERSION_FACTOR, uuidConvertInterval * Misc.TICK_CONVERSION_FACTOR);
// Cleanup the backups folder
new CleanBackupsTask().runTaskAsynchronously(mcMMO.p);