As of v1.4 Calendars now have Numbers
As of v1.5, added a two day New Years Calendar.
As of v1.5, added a two day New Years Calendar.
The way i do it is, i have my Advanced Achievements plugin give my Players the Permission to open the Calendar, when your Players redeem their reward on the last day of the Calendar, they are rewarded their last Reward, then their Integer is reset ready for the next Calendar and the Permission to open the Calendar is revoked. It's down to you to decide how you will gift your Players the Calendar open Permission but, the permission has to be awarded to the player, not the group they are in, as when the calendar revokes the permission it's from the player. Revoking the permission on the last day means the player can not claim rewards a second time after their integers are reset on the last day.
I use Luckperms to deal with Permissions so naturally the permission command is a Luckperms command but any Permission plugin that has a Permission Removing Command should do fine. Luckperms is free.
CHRISTMAS example
Make sure you download the latest Deluxemenu's Dev Build.
https://ci.extendedclip.com/job/DeluxeMenus/
PLACEHOLDERAPI
Make sure to download and install the servertime expansion Papi servertime expansion and upload it to
plugins/placeholderapi/expansions
or
/papi ecloud download Server
followed by /papi reload
in your server console, then restart server
REWARDSEach Day runs a command of your choice, you will need to set the command to what ever you like i.e. run a give item command or run a command to give a player a potion effect for a extended time, dependent on which plugins you use your options are various.
DATES
All you need to do is update/edit the year i.e. from whatever date it's set at like 2021 to 2022
Have a question? Contact me on Discord - sircraftypants#4875
Proof of Ownership: currently no where else to be seen at time of submission.
Please read the Terms and Conditions before purchasing any of my resources.