Azuriom / Plugin-Vote

A vote plugin to reward players when they vote.
https://market.azuriom.com/resources/2
MIT License
0 stars 27 forks source link

Suggested Improvement for Voting Reset Times #99

Open KnightWorldfr opened 2 weeks ago

KnightWorldfr commented 2 weeks ago

Some voting sites don't use a fixed delay, like every 1h30 or so, but instead reset at a specific time, such as midnight or 6 a.m. It would be helpful to have an option to check a box labeled "Every day at: X" and define "X" as the time when the vote resets. Currently, we can only set a fixed time interval. For example, if the votes reset every day at midnight and I vote at 11 p.m., I should be able to vote again after midnight.

MrMicky-FR commented 2 weeks ago

For which voting site?

KnightWorldfr commented 2 weeks ago

Unfortunately, I know there are at least 4 or 5 sites, including some already verified with Azuriom, but I wouldn't be able to name them. It would be complex to add options to the voting site edit page on Azuriom, such as "every..." and "every day at...". The idea would be to select these checkboxes to adjust the comparison method based on the time specified below. Currently, the "every..." option is set in minutes, and it would be up to you to determine how to handle the "every day at..." option