Hello, I have a question regarding the menu I created:
How can I prevent "click_commands" from executing anything? If I simply remove the "click_commands" section, my configuration stops working correctly.
For a bit more context, my configuration is based on an item for job joining/exit and job limits using the JobsReborn plugin.
My config:
items:
# === MINER ===
miner_available:
material: golden_pickaxe
slot: 10
priority: 1
item_flags:
- HIDE_ATTRIBUTES
display_name: "	F89E5&lᴍɪɴᴇʀ &8• &7(ᴡᴏʀᴋᴇʀs &f%jobsr_totalplayers_minero%&7)"
lore:
- ""
- "&7Earn money and job points"
- "&7by breaking ores of any type."
- ""
- "&7Level: &f%jobsr_user_jlevel_minero%&7/&f%jobsr_maxlvl_minero%"
- "&7Next level: &#F19C0B%jobsr_user_jexp_minero%/%jobsr_user_jmaxexp_minero% EXP"
- "%progress_bar_{jobsr_user_jexp_minero}_c:&a&l▀_p:&a&l▀_r:&7&l▀_l:12_m:{jobsr_user_jmaxexp_minero}_fullbar:&8&l▀▀▀▀▀▀▀▀▀▀▀▀%"
- ""
- "&7Paid actions:"
- "&7- &fBreaking ores with TNT or a pickaxe"
- ""
- "%utils_parse_changeoutput_equals_input:{jobsr_user_joinedjobcount}_matcher:{jobsr_maxjobs}_ifmatch:&6⚠ You have reached the job limit!\n\n&c► Click to leave!_else:{changeoutput_equals_input:{jobsr_user_isin_minero}_matcher:§6True_ifmatch:&c► Click to leave!_else:&e► Click to join!}%"
click_requirement:
requirements:
requirement-1:
type: string equals
input: "%jobsr_user_isin_minero%"
output: "§cFalse"
success_commands:
- "[player] jobs join minero"
- "[refresh]"
deny_commands:
- "[player] jobs leave minero"
- "[refresh]"
click_commands:
- ""