#I need help whit cooldowns
1 messages · Page 1 of 1 (latest)
I need to add a 24 hour cooldown to that one, so I can guide myself with the others.
i recommend u this:
when a player claims a reward he receives a temp permission (use luckperms), and in order to see the reward item u need to create a view_requirment
view_requirment:
requirment1:
type: '!has permission'
permission: claimed reward
u can give a player a temp perm like this
click_commands:
- 'lp user %player_name% permission settemp claimed.reward.basic 1d'
Thanks
And how can I show you the remaining time to claim?
%luckperms_expiry_time%
Yes yes
but then how do I know that the permission that was assigned will be displayed?
U mean how do u know that %luckperms_expiry_time% will show the time remaining of the perm u want?
Yes
Ex. %luckperms_expiry_time_claimed.reward.basic%
Yep
Thanks
No problem
Hey
I'm a little confused, can you help me? I have the view requirement to show when it's locked, but I need to show the one when it's on cooldown.
Send the menu
And I'll look into it
I can't really understand the language, the first one is when it's locked and the second one when it s on cooldown?
The menu is in Spanish, but there it is when it is blocked and then where does the view say that the cooling would be required?
Can you reformulate please?
So as not to confuse you I will use a changeoutpout
Okie dokie