#Click Commands no worky with multiple requirements?
1 messages ยท Page 1 of 1 (latest)
click_commands should be in-line with click_requirement
also, if you want minimum_requirements: 1 you need to add optional: true to each requirement you want optional
If I wanted all the requirements met, would I leave it the same?
Also thank you very much โค๏ธ
u don't need the optional and minimum requirements if u want all of em to be required
Ah ok tysm
np :d
https://paste.helpch.at/iwovijucab.vbnet
I'm back with more questions ๐ญ
Firstly am I using the [givepermission] node/function correctly?
Secondly is there an easier way to deny access to a button after it's been used/pressed/claimed etc?
What I'm trying to do is click once, if player meets requirements, give perms /rank/rewards/whatever, but then when you go to press it a second time it checks for the perm denying the player if already accepted/claimed/pressed
ye the give permission seems fine
but personally i prefer the console command cause it doesn't give a debug msg
just letting u know about that
ok poggers
ye for that u r gonna make a new requirement
also the last deny command should be a lil more in
cause it acts like global now(i think)
do a requirement that is
type: '!has permission'
permission: 'permission'
and use um idk ๐
the perm u give with the luckperms
the smaa.rank.larva
any questions @paper nimbus ?
also how do u have the ip in your status o.O
I dont even know what I'm doing wrong at this point ๐ญ
the deny commands aren't working
does the spacing look right? ๐
click_requirement:
requirements:
voteCount:
type: 'integer equals'
input: '%votingplugin_total_alltime%'```
```yaml
resettrue:
type: 'has permission'
permission:
- 'smaa.rank.Reset'
deny_commands:
- '[message] im just a placeholder'
click_commands:
- '[takepermission] smaa.rank.Reset'```