Skip to content

How do I get the event that start collecting upkeepocst? #5195

Answered by LlmDl
LunarECL asked this question in Q&A
Discussion options

You must be logged in to vote

Towny uses the following when /towny time is used:

TownyMessaging.sendMsg(Translation.of("msg_time_until_a_new_day") + TimeMgmt.formatCountdownTime(TownyTimerHandler.townyTime()));

There is also a PreNewDayEvent thrown before the upkeep/newday code is run, and a NewDayEvent when it is done.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LlmDl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants