#command requirment
1 messages Β· Page 1 of 1 (latest)
use comparator type requirements https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/requirements#comparators
type: ">="
input: "%statistic_hours_played%"
output: 100```
/papi ecloud download Statistic
/papi reload```
Ty so much
π π
left_click_commands:
click_requirement:
type: ">="
input: "%statistic_hours_played%"
output: 100
would it look like that?
yes, little formatting issue
left_click_commands:
click_requirement:
type: ">="
input: "%statistic_hours_played%"
output: 100
this what i did and its not working π¦
left_click_requirement:
requirements:
playtime:
type: ">="
input: %statistic_hours_played%"
output: 100
success_commands:
- "..."
deny_commands:
- "..."```
did you run these commands
/papi reload```
Yes I did
send your menu config
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
β’ HelpChat Paste - How To Use
A easy to use Paste site for Minecraft Server logs.
click_commands:
click_requirements:
requirements:
playtime:
type: ">="
input: "%statistic_hours_played%"
output: 100
success_commands:
- '[message] you have been upgraded'
deny_commands:
- '[message] you dont have enough'
try this π
still nothing
Check this: https://paste.helpch.at/efedanowip.yaml
it dosent do the command
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
β’ HelpChat Paste - How To Use
im trying to make it where if they have more than 100 hours of playtime they get a command
and if they dont they get a message saying u dont have enough playtime
I literally sent you a new menu that should work xd
requirements:
playtime:
type: ">="
input: "%statistic_hours_played%"
output: 100
deny_commands:
- '[message] you dont have enough'
click_commands:
- '[message] you have been upgraded'```