Class TownyTimerHandler

java.lang.Object
com.palmergames.bukkit.towny.TownyTimerHandler

public class TownyTimerHandler extends Object
Handler for all running timers
Author:
ElgarL
  • Constructor Details

    • TownyTimerHandler

      public TownyTimerHandler()
  • Method Details

    • initialize

      public static void initialize(Towny plugin)
    • newHour

      public static void newHour()
    • toggleTownyRepeatingTimer

      public static void toggleTownyRepeatingTimer(boolean on)
    • toggleMobRemoval

      public static void toggleMobRemoval(boolean on)
    • toggleDailyTimer

      public static void toggleDailyTimer(boolean on)
    • toggleHourlyTimer

      public static void toggleHourlyTimer(boolean on)
    • toggleShortTimer

      public static void toggleShortTimer(boolean on)
    • toggleHealthRegen

      public static void toggleHealthRegen(boolean on)
    • toggleTeleportWarmup

      public static void toggleTeleportWarmup(boolean on)
    • toggleCooldownTimer

      public static void toggleCooldownTimer(boolean on)
    • toggleDrawSmokeTask

      public static void toggleDrawSmokeTask(boolean on)
    • toggleDrawSpointsTask

      public static void toggleDrawSpointsTask(boolean on)
    • isTownyRepeatingTaskRunning

      public static boolean isTownyRepeatingTaskRunning()
    • isMobRemovalRunning

      public static boolean isMobRemovalRunning()
    • isHourlyTimerRunning

      public static boolean isHourlyTimerRunning()
    • isShortTimerRunning

      public static boolean isShortTimerRunning()
    • isHealthRegenRunning

      public static boolean isHealthRegenRunning()
    • isTeleportWarmupRunning

      public static boolean isTeleportWarmupRunning()
    • isCooldownTimerRunning

      public static boolean isCooldownTimerRunning()
    • isDrawSmokeTaskRunning

      public static boolean isDrawSmokeTaskRunning()
    • isDrawSpawnPointsTaskRunning

      public static boolean isDrawSpawnPointsTaskRunning()
    • getTimeUntilNextHourInSeconds

      public static Long getTimeUntilNextHourInSeconds()