Class DailyTimerTask
java.lang.Object
com.palmergames.bukkit.towny.tasks.TownyTimerTask
com.palmergames.bukkit.towny.tasks.DailyTimerTask
- All Implemented Interfaces:
Runnable
-
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.tasks.TownyTimerTask
plugin, universe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Collect upkeep due from all nations.void
Collect taxes for all nations due from their member townsprotected void
collectNationTaxes
(Nation nation) Collect taxes due to the nation from it's member towns.void
Collect or pay upkeep for all towns.void
Collect taxes for all towns due from their residents.protected void
collectTownTaxes
(Town town) Collect taxes due to the town from it's residents.void
doNewDay()
void
run()
-
Constructor Details
-
DailyTimerTask
-
-
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
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
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.
-