Class NewDayScheduler

java.lang.Object
com.palmergames.bukkit.towny.tasks.TownyTimerTask
com.palmergames.bukkit.towny.tasks.NewDayScheduler
All Implemented Interfaces:
Runnable

public class NewDayScheduler extends TownyTimerTask
  • Constructor Details

    • NewDayScheduler

      public NewDayScheduler(Towny plugin)
  • Method Details

    • run

      public void run()
    • isNewDaySchedulerRunning

      public static boolean isNewDaySchedulerRunning()
    • isNewDayScheduled

      public static boolean isNewDayScheduled()
    • isNewDayRunning

      public static boolean isNewDayRunning()
    • cancelScheduledNewDay

      public static void cancelScheduledNewDay()
    • newDay

      public static void newDay()
      Fires a newday to collect taxes and upkeep and other daily activities. Does not disturb any already scheduled new day timers.
    • logTime

      public static void logTime()