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

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

    • Ligthweight, no perfomance loss.
    • Customizable.
    • Cooldown option for PlayerInteractEvent.
    • Cooldown option for InventoryClickEvent.
    • Cooldown option for NPCRightClickEvent. (requires Citizens)
    • Packet level protection. (requires HamsterAPI)
    • There is more information in configuration.
    COMMANDS
    • /hcooldown reload (Permission: hcooldown.usage)
    CONFIGURATION

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

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

    # WARN TYPES
    # 1 = ACTIONBAR, 2 = CHAT
    warn-type
    : 1

    interact
    :
      enabled
    : true
      cooldown
    : 3
      check
    :
        item-meta
    : true
      warn
    :
        enabled
    : true
        message
    : '&e&lYOU HAVE TO WAIT &d&l%seconds% SECONDS &e&lBEFORE INTERACT AGAIN!'

    inventory-click
    :
      enabled
    : true
      cooldown
    : 3
      check
    :
        item-meta
    : true
      warn
    :
        enabled
    : true
        message
    : '&e&lYOU HAVE TO WAIT &d&l%seconds% SECONDS &e&lBEFORE INTERACT AGAIN!'

    citizens-click
    :
      enabled
    : false
      cooldown
    : 3
      check
    :
        right-click
    : true
        left-click
    : false # TODO
      warn
    :
        enabled
    : true
        message
    : '&e&lYOU HAVE TO WAIT &d&l%seconds% SECONDS &e&lBEFORE INTERACT AGAIN!'

    PICTURES

    [​IMG]

    [​IMG]

    [​IMG]
    Qwe2390 likes this.

Recent Updates

  1. 0.0.5
  2. 0.0.4
  3. 0.0.3

Recent Reviews

  1. HalilEmreK
    HalilEmreK
    5/5,
    Version: 0.0.5
    ------------------------------------------------------------------
    Eline sağlık reis <3
    ------------------------------------------------------------------