Time frame for cooldowns
nikitushu2 opened this issue ยท 1 comments
Hey, I'd like to suggest adding the ability to choose the time frame for all types of cooldowns (use, command, etc). Right now only seconds can be defined. It would be very useful if you could choose whether you can do cooldown in seconds, minutes or hours.
Also, if hours are added. It would be nice to be able to make a cooldown allowing to use items/execute a command once a day NOT in terms of 24h period. What I mean by that is that if I execute a command at 6pm on Thursday, and if there is a 1 day cooldown, then I could execute the command at 2pm on Friday (not every 24hours but every day). For this, the plugin must automatically determine the time zone of the player, which may be complex though.
Ref; https://www.spigotmc.org/resources/api-geoip.28015/