I’m using a deluxe menu system, where once you click something, you gain a permission and reward. The permission activated a view requirement which stops you from being able to claim it. However, if you spam left click, you are able to get the reward multiple times before the permission is set, despite the permission setting before the reward is given out in terms of chronological order. Is there a way to make it so you can only left click it once, or add a delay between clicks so that it cannot be spammed before the permission is set?
#Small Deluxe Menus question
1 messages · Page 1 of 1 (latest)
use <delay> so set delay
click_commands:
- '[close]<delay=20>' # 1 second
- '[console] your command<delay=100>' # 5 seconds
Surely if I add a delay they can still spam click, but they’d just get the rewards later
That was my thinking anyway
just give the player perm and set the gift later
Will test later, Ty
yeah this just doesnt work. Even if the perm has 0 delay, they can still claim it at least 2 times before the permission is set. Adding a delay to the close and command to give the rewards does nothing, all it does it give them the multiple rewards later than it did before
try using mastercooldowns
Think I found a solution dw. I was using console to set luckperms permissions, which caused the delay, so I changed the permission system to Meta, which has no delay and so stopped the duping