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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCollect upkeep due from all nations.voidCollect taxes for all nations due from their member townsprotected voidcollectNationTaxes(Nation nation) Collect taxes due to the nation from it's member towns.voidCollect or pay upkeep for all towns.voidCollect taxes for all towns due from their residents.protected voidcollectTownTaxes(Town town) Collect taxes due to the town from it's residents.voiddoNewDay()voidrun()
-
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.
-