#One time use
1 messages · Page 1 of 1 (latest)
You could require the user NOT to have a permission/meta value, then give it to them upon click
I thought about this, what do you mean by meta exactly
Oh okay I found what you mean, ok i’ll try it
I personally find the update release notes very helpful for meta information https://www.spigotmc.org/resources/deluxemenus.11734/update?update=333346
click_requirement:
requirements:
onetime:
type: '!has meta'
key: 'item1'
meta_type: 'INTEGER'
value: 1
click_commands:
- '[meta] add item1 INTEGER 1'
might work, though not 100% sure if add will work if the meta doesn't exist yet, but you can just use set instead
I used add as a little bit of example making a "10 times use" item
I know that luckperms use meta will this add meta to the player via [meta] add ?
luckperms meta and the meta dm uses will be separate, dm has their own tag on it
if you use luckperms for meta, it will work too
Oh
so really it's like DELUXEMENUS-onetime-item1 or something (don't quote me)
Can player even execute the click_command if the player does not have value of 1 on item1
the idea of this is they can only click it if the value is less than 1 <1
so once they buy it, the value gets set to 1, then they can't click it again
essentially you could store how many they buy in the meta, just by adding it
and the maximum value they are allowed to by, is determined by the value: 1 in the requirement
Could I ask once again?
Is there way to add more than one requirement? maybe permission and also meta
?dm-multireq
click_requirement:
requirements:
requirement1:
type: TYPE
requirement2:
type: TYPE
requirement3:
type: TYPE
requirement4:
type: TYPE
@broken hedge 
thx
Is there way to make clickable text when using [message] ? 
Yes
😮 how
[message] put whatever you want here, you also can use color code and hex code
There should be [minimessage] @broken hedge
Yeah thats why I said [message]
Cause i know what that is
Am I able to make link text?
With that?
With minimessage?
yes
Ok