** Existing cumulative rewards must be changed **
If you are using MySQL in the plugin you may have noticed an issue with the most recent update which was not initially noticed during testing. It caused some players data to be deleted when reducing the cache for the players online. This update should prevent this issue and optimizes the caching.
Cumulative Rewards:
This update also fixes cumulative rewards as there was a case-sensitive error when checking whether or not they were toggled on or not.
The cumulative system has also been slightly changed as I have removed the "lifetime" boolean and changed it to a "type" section to address the fact there are 4 different types of votes stats (Daily, Weekly, Monthly, Lifetime). Below is an example of how they will look now:
Code (Text):
cumulative_rewards:
default:
amount: 5
type: LIFETIME
actions:
- '[Message] &eCumulative vote action'
New Commands:
- /pvotes setdaily <player> <amount> - Sets the players daily votes
- /pvotes setweekly <player> <amount> - Sets the players weekly votes
- /pvotes setmonthly <player> <amount> - Sets the players monthly votes
- /pvotes setvotes <player> <amount> - Sets the players total votes