#dm cooldown help

1 messages · Page 1 of 1 (latest)

tacit vine
#

I’m not sure what I did wrong here but after I added the cooldown requirements it stopped showing the item in the gui.

'goldhearts':
    material: Totem_of_undying
    slot: 13
    display_name: '&5&lBonus Health'
    lore:
      - ' '
      - '&eLeft click to get 20 golden hearts (10m)'
    view_requirement:
      requirements:
        cooldown:
          type: string equals
          input: '%mcd_isinactive_COOLDOWN-ID%'
          output: 'yes'
        deny_commands:
          - '[message] &cTry again in %mcd_left_formatted_COOLDOWN-ID%, you are on cooldown!'
    left_click_commands:
      - '[sound] ITEM_TOTEM_USE'
      - '[console] effect give %player_name% minecraft:absorption 600 9'
      - '[console] mcd add %player_name% COOLDOWN-ID 10'
      - '[close]'

tidal quartz
#

oh wait u actually use that as your cooldown name?

#

bruh 💀

tacit vine
tidal quartz
#

anywho, the issue is that deny_commands shouldnt be there

#

space before them twice

tacit vine
#

I don’t understand what to do

tacit vine
#

Pls