Rename task classes to correspond to config values and use minutes as the unit for human readability and thinking.

This commit is contained in:
Olof Larsson
2013-04-24 08:45:52 +02:00
parent 825d937c84
commit cb1926c5c1
5 changed files with 26 additions and 25 deletions

View File

@ -9,7 +9,6 @@ import org.bukkit.event.EventPriority;
import com.massivecraft.factions.listeners.FactionsListenerChat;
import com.massivecraft.mcore.store.Entity;
import com.massivecraft.mcore.util.TimeUnit;
public class MConf extends Entity<MConf>
{
@ -38,9 +37,9 @@ public class MConf extends Entity<MConf>
// TASKS
// -------------------------------------------- //
public long taskPowerMillis = TimeUnit.MILLIS_PER_MINUTE;
public long taskEconMillis = 20 * TimeUnit.MILLIS_PER_MINUTE;
public long taskAutoLeaveMillis = 5 * TimeUnit.MILLIS_PER_MINUTE;
public double taskPlayerPowerUpdateMinutes = 1;
public double taskPlayerDataRemoveMinutes = 5;
public double taskEconLandRewardMinutes = 20;
// -------------------------------------------- //
// REMOVE DATA