Class DailyTimerTask

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

public class DailyTimerTask extends TownyTimerTask
  • Constructor Details

    • DailyTimerTask

      public DailyTimerTask(Towny plugin)
  • Method Details

    • run

      public void run()
    • doNewDay

      public void doNewDay()
    • collectNationTaxes

      public void collectNationTaxes()
      Collect taxes for all nations due from their member towns
    • collectNationTaxes

      protected void collectNationTaxes(Nation nation)
      Collect taxes due to the nation from it's member towns.
      Parameters:
      nation - - Nation to collect taxes from.
    • collectTownTaxes

      public void collectTownTaxes()
      Collect taxes for all towns due from their residents.
    • collectTownTaxes

      protected void collectTownTaxes(Town town)
      Collect taxes due to the town from it's residents.
      Parameters:
      town - - Town to collect taxes from
    • collectTownCosts

      public void collectTownCosts()
      Collect or pay upkeep for all towns.
    • collectNationCosts

      public void collectNationCosts()
      Collect upkeep due from all nations.