Hello, I am create the reward menu using the luckyperms time placeholder in the deluxemenu plugin, but sometimes there is a problem in refreshing the menu when the reward is received and the player can receive the reward 2 times in a row. How can I fix this?
- "[console] lp user %player_name% permission settemp weeklyrewards.cooldown.1 true 604800s"
- "[refresh]"
- "[console] give %player_name% iron_ingot 16"
- "[console] give %player_name% gold_ingot 12"
- "[console] give %player_name% diamond 4"
- "[sound] ENTITY_FIREWORK_ROCKET_LAUNCH 0.8 1.3"```