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

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

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



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]
Resource Information
Author:
----------
Total Downloads: 1,742
First Release: Aug 18, 2020
Last Update: Dec 9, 2020
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings