#Delay

1 messages · Page 1 of 1 (latest)

tacit saffron
#

I wanted to add a delay on a command

tacit saffron
#

wait

#

i mean cooldown

fair rapids
#

?dm-cooldown

low coralBOT
#
FAQ Answer:

An easy way to add cooldowns to DeluxeMenus

How to create cooldowns using MasterCooldowns:

  1. Start by creating a requirement (view/click/open)
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!'
  1. Add the cooldown (e.g. on click)
    [console] mcd add %player_name% COOLDOWN-ID duration

This is not the only way to create cooldowns for DM, you can also use stuff like temp permissions.

fair rapids
#

best option, i use it too

tacit saffron
#

okay thank you

#

whats wrong with this? thats its not showing up

#
size: 54
menu_title: '&8ꜱʜᴀʀᴅꜱʜᴏᴘ &7| &8ᴄʀᴀᴛᴇ ᴋᴇʏꜱ'

items:

  'filler':
    material: GRAY_STAINED_GLASS_PANE
    display_name: "&f"
    data: 1
    slots: [0-54]

  'back':
    material: hdb-9382
    data: 1
    slot: 53
    hide_effects: true
    display_name: "&c&lɢᴏ ʙᴀᴄᴋ"

    click_commands:
      - '[openmenu] shardshop'

  'shrineexplain':
    material: YELLOW_SHULKER
    data: 1
    slot: 11
    amount: 1
    display_name: "&#F8FB61&lꜱʜʀɪɴᴇ ᴄʀᴀᴛᴇ ᴋᴇʏꜱ"
    enchantments:
      - DURABILITY;1
    hide_enchantments: true
    lore:
      - "&8ᴄʀᴀᴛᴇ ᴋᴇʏꜱ ᴄᴀᴛᴇɢᴏʀʏ"
      - ""
      - "&7Purcahse these keys to win"
      - "&7prizes from the shrine crate!"
      - ""
      - "&fPurchase shards from:"
      - "&#F8FB61&nꜱᴛᴏʀᴇ.ᴠᴏɪᴅꜱᴜʀᴠɪᴠᴀʟ.ɴᴇᴛ"
      - ""
      - "&#F8FB61→ &fʏᴏᴜʀ ꜱʜᴀʀᴅꜱ: &#F8FB61%playerpoints_points_formatted%⭐"

    click_commands:
      - '[console] crate key give %player_name% rare_key 1'
      - '[console] points take %player_name% 300'
      - '[message] &8&l[&a&l!&8&l] &#7AFE77You successfully bought &#ADD8E61x Rare Key&#7AFE77!'
      - '[close]'

    click_requirement:
      requirements:
        check_balance:
          type: '>='
          input: '%playerpoints_points%'
          output: '300'
          deny_commands:
            - "[message] &8&l[&c&l!&8&l] &#FF7C7CYou don't have enough shards to purchase this item!"
            - "[message] &8&l[&c&l!&8&l] &#FF7C7CYou need &f300 &#FF7C7Cbut you only have &f%playerpoints_points_formatted%&#FF7C7C."
            - '[close]'```