COWMODSКаталог модов

ItemCooldowns

Cooldowns for mace, spear, trident, end crystals and respawn anchors. Works on Paper, Spigot, Bukkit and other Bukkit forks, 1.21 – 26.x.

Автор: sooqwess7551обновлён 27 авг. 2026 г.
Механики игрыУтилиты

Описание

ItemCooldowns

Cooldowns for PvP items: mace, spear, trident, end crystals and respawn anchors. When a player tries to use an item during its cooldown, the action is cancelled and a chat message is shown.

Features

  • Mace — 45 second cooldown between attacks
  • Spear (1.21.11+, all 7 variants) — 5 second cooldown between lunges (Jab/Charge) and attacks
  • Trident — 5 second cooldown between throws, Riptide dashes and attacks
  • End Crystal — 45 second cooldown per use
  • Respawn Anchor — 45 second cooldown per use
  • Ender pearl style visual cooldown: the inventory slot is covered by a translucent white square that shrinks over time — works on every item of that type in the inventory
  • Chat message when a player tries to use an item during its cooldown
  • Fully configurable: duration, action cancel, overlay, messages
  • pvp-only: mace/spear/trident attacks only trigger cooldowns against players (default)
  • World whitelist (disabled by default — works everywhere)

Compatibility

  • Server software: Paper, Spigot, Bukkit, Purpur, Pufferfish, Leaves and any other Bukkit fork. On Fabric/Quilt it works through Banner/CardBoard
  • Minecraft versions: 1.21 – 26.x (Java 21+). The spear only exists since 1.21.11 — on older versions that rule automatically disables itself
  • Folia: the plugin uses no schedulers, fully compatible
  • LuckPerms: plugin permissions are managed through LuckPerms

Permissions (LuckPerms)

Bypass permissions are not granted by default to anyone, even operators — grant them manually:

PermissionDescription
itemcooldowns.bypass.maceBypass mace cooldown
itemcooldowns.bypass.spearBypass spear cooldown
itemcooldowns.bypass.tridentBypass trident cooldown
itemcooldowns.bypass.end-crystalBypass end crystal cooldown
itemcooldowns.bypass.respawn-anchorBypass respawn anchor cooldown
itemcooldowns.bypassBypass all cooldowns (parent permission)
itemcooldowns.adminAccess to /itemcooldowns reload (default: operators)

Example:

/lp user Sooqwess permission set itemcooldowns.bypass.mace true
/lp group vip permission set itemcooldowns.bypass true

Commands

CommandDescription
/itemcooldowns help (alias: /icd)Help
/itemcooldowns reloadReload config and locale files

Configuration

locale: en            # message language: en, ru or your own

pvp-only: true        # attack cooldowns only against players

worlds:
  enabled: false      # enable world whitelist
  list:
    - world
    - world_pvp

messages:
  enabled: true       # chat messages
  notify-start: false # message when a cooldown starts

mace:
  enabled: true
  cooldown-seconds: 45   # cooldown length
  cancel-action: true    # cancel the action during cooldown
  overlay: true          # white cooldown overlay on the slot
  bypass-permission: itemcooldowns.bypass.mace

Identical sections exist for spear, trident, end-crystal, respawn-anchor.

Localization

The plugins/ItemCooldowns/lang/ folder contains messages-en.yml and messages-ru.yml (both are extracted on first start). To add your own language, copy a file as messages-<code>.yml, edit it and set locale: <code> in the config. Missing strings fall back to the bundled English template, then to Russian.

Placeholders in messages: {item} — item name, {seconds} — remaining seconds.

Notes

  • Cooldowns reset when a player leaves the server
  • Crystals/anchors start the cooldown on right-click use (attempt)

License

MIT. Author: Sooqwess.

Последние версии

Все версии →
release

ItemCooldowns 1.01

1.01
27 авг. 2026 г.729Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, bungeecord, folia, paper, purpur, spigot, waterfall
Скачать
Что нового
### v1.01 - **PvPManager integration** (SpigotMC #25420, including the ChanceSD fork v4): attacks blocked by PvPManager (newbie protection, respawn protection, PvP mode disabled) do **not** apply cooldowns and do **not** trigger the gamemode switch. Configurable via `pvpmanager.enabled` - New `use-mode` option for **spear** and **trident**: - `block` — the lunge/throw is fully blocked during the cooldown - `damage` (default) — the lunge/throw works, all damage is blocked during the cooldown - `no-damage` — the lunge/throw always works as movement but deals no damage; attacks still have the cooldown - Trident cooldown now starts on **actual throw** (`ProjectileLaunchEvent`) instead of on right-click charge — charging is no longer cancelled - Removed off-hand attack checks (vanilla melee always uses the main hand — a fist with a trident in the off hand no longer triggers cooldowns) - Cooldowns are cleared when a player leaves the server - New config keys are added automatically to existing installations (`ensureConfigDefaults`) - `creative-to-survival-on-player-hit` option (old `gamemode.switch-creative-to-survival` still supported) - `folia-supported: true`, thread-safe cooldown tracking - Mace smash protection (multi-target hit in one swing) now uses a time window instead of world ticks - Fixed: cooldown triggered by opening chests/doors with a gated item in hand - Fixed: phantom end-crystal cooldowns - Fixed: anchor clicks no longer cancel block placement on the anchor - Fixed: message spam during cooldown (throttled to once per 3 seconds) - Creative→survival switch respects `itemcooldowns.bypass`
release

ItemCooldowns 1.00

1.00
24 авг. 2026 г.26Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, bungeecord, folia, paper, purpur, spigot, waterfall
Скачать
Что нового
v1.00 — initial release Cooldowns for mace (45s), spear (5s, all 7 variants, 1.21.11+), trident (5s), end crystal (45s) and respawn anchor (45s) Ender pearl style cooldown overlay on inventory slots Chat messages with remaining seconds LuckPerms integration, bypass permissions NOT granted by default (even to operators) Fully configurable config.yml: durations, cancel-action, overlay, messages, pvp-only, world whitelist Localization: locale: en by default, messages-en.yml and messages-ru.yml bundled, custom languages supported Works on Paper, Spigot, Bukkit, Purpur, Pufferfish, Leaves and other Bukkit forks Minecraft 1.21 – 26.x, Folia compatible