This plugin allows a server owner to assign cooldown time to any item/command.

For instance, add a cooldown to:
  • the use of EnderPearl
  • the use of GodApple
  • the use of /fix command

Cooldwonable items are checked under the following player actions:
  • block placement
  • item consume (eating, drinking)
  • shooting a projectile

Video Demo:




Commands:
  • /simmerdown help : displays the help menu
  • /simmerdown reload : reloads config.yml file

Permissions:
  • simmerdown.reload : allows a user to use /sd reload command.
  • simmerdown.bypass : allow a user to bypass cooldown setting.

if a player has the following permission node, the cooldown value specified in the permission node will be used.  If the player does not have such permission nodes, then the default cooldown value specified in the config.yml will be used.
  • simmerdown.xxxx.yyyy : xxxx is the "key" used to register cooldown command/items in the config.yml and yyyy is an integer number in 'seconds' representing the cooldown.  (ex: simmerdown.ENDER_PEARL.40. will let the player to have cooldowin 40 seconds on the use of ENDER_PEARL)

Installation:
Just install SimmerDown.jar in the plugins folder. Then you can either "restart the server" or "reload the plugin".

Configuration:

Messages:
  ErrorMsg : "&c [SimmerDown] : Some error occured."
  CooldownWait: "&a[SimmerDown] You have to wait for &b%remaining% &aseconds."

HelpMessages:
  banner:
    msg: "=== &e[&aSimmerDown Commands List (%version%)&e] &r==="
  help:
    msg: "&a/simmerdown help : displays this help menu."
  reload:
    msg: "&a/simmerdown reload : reloads config file."
    permission: "simmerdown.reload"
  debug:
    msg: "&a/simmerdown debug <true|false> : turn on / off the debug mode."
    permission: "simmerdown.debug"

# item display name format
DisplayNameFormat: "&r%item% &cCooldown : %ticks% &e%time% &c[sec]"

ActionOnColor: "&a"
ActionOffColor: "&4"

#
SimmerList:
  # if it's an item, name it as the same as "item:"
  ENDER_PEARL:
    item:
      type: ENDER_PEARL
      name:
      lore:
    cooldown: 10 # in seconds
  GOLDEN_APPLE:
    item:
      type: GOLDEN_APPLE
      data: 1
      name:
      lore:
    cooldown: 10 # in seconds
  # if it's a command, name it as the same as "cmd:"
  fix:
    cmd: "fix"
    aliases:
      - fix
      - repair
      - erepair
    cooldown: 10 # in seconds
  fix_all:
    cmd: "fix all"
    aliases:
      - "efix all"
    cooldown:
      - 60 # in seconds
      - 20
      - 40