#Shop with DeluxeMenus - Cooldown

1 messages · Page 1 of 1 (latest)

midnight cypress
#

Is it possible to add a cooldown for sell/buy items in the shop?

weak hatchBOT
#
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.