hCooldown | Protection for interact/click spam! | 1.7 - 1.16.2 0.0.3

A lightweight cooldown plugin that adds cooldown to interact and click events to prevent lag.

  1. HKNGLGN
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/HakanGulgen/hCooldown
    Contributors:
    HKNGLGN (Developer)
    ABOUT

    A lightweight cooldown plugin that adds cooldown to interact and click events to prevent server lag.

    FEATURES

    - Lightweight.
    - Customizable.
    - Cooldown option for PlayerInteractEvent
    - Cooldown option for InventoryClickEvent
    - Cooldown option for NPCRightClickEvent (Citizens)
    - There is more info in configuration.

    COMMANDS

    /hcooldown reload (Permission: hcooldown.usage)


    CONFIGURATION

    Code (YAML):
    # hCooldown by HKNGLGN (hknn)
    # Discord: hknn#1229
    # A lightweight cooldown plugin that adds cooldown to interact and click events to prevent lag.

    messages
    :
      prefix
    : '&8[&3hCooldown&8]&r'
      noPermission
    : '%prefix% &cYou do not have permission to do that.'
      pluginReloaded
    : '%prefix% &aPlugin has been reloaded.'

    # Warning message types: 'chat' or 'actionbar'.
    warningType
    : 'actionbar'

    # Protection for PlayerInteractEvent
    interact
    :
     # Enable this if you want to cancel interact when player interacts too fast.
      enabled
    : true

      # If you enable this the plugin will check only items that has item meta.
      checkItemMeta
    : true

      # Time before interact (seconds)
      cooldown
    : 3

      # Warning message when player interacts too fast.
      warningMessage
    :
        enabled
    : true
        message
    : '%prefix% &cYou have to wait &b%seconds% &cseconds before interact again!'

    # Protection for InventoryClickEvent
    inventoryClick
    :
     # Enable this if you want to cancel inventory click when player clicks too fast.
      enabled
    : true

      # If you enable this the plugin will check only items that has item meta.
      checkItemMeta
    : true

      # Time before click (seconds)
      cooldown
    : 3

      # Warning message when player clicks too fast.
      warningMessage
    :
        enabled
    : true
        message
    : '%prefix% &cYou have to wait &b%seconds% &cseconds before click again!'

    # Protection for Citizens's NPCRightClickEvent
    citizensRightClick
    :
     # Enable this if you want to cancel right click when player clicks too fast.
      enabled
    : false

      # Time before click (seconds)
      cooldown
    : 3

      # Warning message when player clicks too fast.
      warningMessage
    :
        enabled
    : true
        message
    : '%prefix% &cYou have to wait &b%seconds% &cseconds before click again!'

    PICTURES

    [​IMG]

    [​IMG]

    [​IMG]

Recent Updates

  1. 0.0.3
  2. 0.0.2