#I need help whit cooldowns

1 messages · Page 1 of 1 (latest)

scarlet wolf
#

I need to add a 24 hour cooldown to that one, so I can guide myself with the others.

coral dagger
#

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'
scarlet wolf
#

Thanks

scarlet wolf
#

%luckperms_expiry_time%

coral dagger
scarlet wolf
coral dagger
coral dagger
#

Try %luckperms_expiry_time_<perm>%

#

Holy

scarlet wolf
#

Ex. %luckperms_expiry_time_claimed.reward.basic%

scarlet wolf
#

Thanks

coral dagger
#

No problem

scarlet wolf
coral dagger
#

The papi doesn't work?

#

It should work according to the wiki...

scarlet wolf
#

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.

coral dagger
#

And I'll look into it

scarlet wolf
#

That's the one I had before changing the permit.

coral dagger
#

I can't really understand the language, the first one is when it's locked and the second one when it s on cooldown?

scarlet wolf
#

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?

coral dagger
#

Can you reformulate please?

scarlet wolf
#

So as not to confuse you I will use a changeoutpout

coral dagger
#

Okie dokie