#requirement comparators not working..?

1 messages · Page 1 of 1 (latest)

red turret
#

Im sure im doing something wrong, but for the last 36 minutes ive been going back and fourth on the wiki, and i cant seem to figure out what im doing wrong? ive as well scouraged through the requirement channels here to see if i could solve it through another persons troubles and it doesnt seem to work. The placeholder does work, as ive ran it on myself using /papi parse, what the issue is, is my mining level is under 3, yet the click_commands still operate, and the deny_commands doesn't ever run...

  'dungeon2':
    material: PAPER
    model_data: 1250
    slot: 37
    display_name: "&a&lᴡʜɪᴛᴇ ʜᴏʟʟᴏᴡ"
    lore:
      - "&7 In order to unlock the white hollow dungeon,"
      - "&7 you'll need to get access by me. So that you"
      - "&7 may be able to mine the ores there, and survive!"
    click_requirement:
    requirements:
      meets_requirements:
        type: ">="
        input: "%mmocore_profession_mining%"
        output: 3
    deny_commands:
      - "[message] &c&l(!) You do not meet requirements to unlock! (!)"
    click_commands:
      - "[message] &eYou meet the mining level 3 requirement, here's access to Grey Den!"
      - "[console] lp user %cmi_player_name% permission set regen.region.grey_den true"
tranquil idol
#
  'dungeon2':
    material: PAPER
    model_data: 1250
    slot: 37
    display_name: "&a&lᴡʜɪᴛᴇ ʜᴏʟʟᴏᴡ"
    lore:
      - "&7 In order to unlock the white hollow dungeon,"
      - "&7 you'll need to get access by me. So that you"
      - "&7 may be able to mine the ores there, and survive!"
    click_requirement:
      requirements:
        meets_requirements:
          type: ">="
          input: "%mmocore_profession_mining%"
          output: 3
          deny_commands:
            - "[message] &c&l(!) You do not meet requirements to unlock! (!)"
    click_commands:
      - "[message] &eYou meet the mining level 3 requirement, here's access to Grey Den!"
      - "[console] lp user %cmi_player_name% permission set regen.region.grey_den true"
#

wasn't aligned correctly

red turret
#

Thank you!

#

i see now! the requirement section was misaligned, i appreciate you!

red turret
#
  'Summon-Base':
    material: BOOK
    data: 1
    slot: 12
    display_name: "&c&lBase Lich King"
    lore:
      - "&7Difficulty: &aNormal"
      - ""
      - "&7Loot Drops:"
      - "&a+250 EXP &7(To the final blow user)"
      - "&7-&a 0-32 Rotten Flesh &7(100%)"
      - "&7-&a 0-16 Bones &7(100%)"
      - "&7-&a 0-16 Gold Ingots &7(50%)"
      - "&7-&b 1 Lich King's Scythe &7(0.1%)"
    click_requirement:
      requirements:
        type: ">="
        input: "%mmocore_level%"
        output: 15
        deny_commands:
          - "[message] &c&l(!) &cYou don't have access!"
          - '[close]'
    click_commands:
      - "[console] mm mobs spawn -s Lich_King:1 1 Eldritch_World,347,24,246<delay=55>"
      - "[console] mm mobs spawn -s Skeleton_Warrior:1 3 Eldritch_World,348,25,227<delay=205>"
      - "[console] mm mobs spawn -s Skeleton_Archer:1 3 Eldritch_World,356,24,259<delay=205>"
      - "[console] mm mobs spawn -s Skeleton_Shaman:1 3 Eldritch_World,333,23,252<delay=205>"
      - '[close]'
#

just posting since im running into the same issue again, so imma see if i formatted it wrong

tranquil idol
#

you forgot the requirement name

red turret
#

yuup

#

i noticed that just now lol