Since the cumulative checks only see if the player has exactly the correct amount of votes, players do not receive cumulative rewards if they were offline for the last vote. This could be fixed in one of two ways:
Keep track of the cumulative rewards a player did receive and change the cumulative check to check for greater than or equal to the required amount of votes.
The check cumulative functions (
checkDailyCumulative
,checkWeeklyCumulative
, etc.) in https://github.com/darbyjack/VoteParty/blob/01a0d4e184bec29913fb931c41e9ce589700180c/src/main/kotlin/me/clip/voteparty/handler/VotesHandler.kt#L100 are only called when a player is online due to this check https://github.com/darbyjack/VoteParty/blob/01a0d4e184bec29913fb931c41e9ce589700180c/src/main/kotlin/me/clip/voteparty/listener/VotesListener.kt#L53Since the cumulative checks only see if the player has exactly the correct amount of votes, players do not receive cumulative rewards if they were offline for the last vote. This could be fixed in one of two ways: