CountdownTickEvent

Fired periodically while a countdown is running to indicate remaining time.

  • Package: com.skyblockexp.ezcountdown.api.event
  • Class: CountdownTickEvent
  • Extends: org.bukkit.event.Event

Fields / accessors:

  • Countdown getCountdown() - the countdown instance.
  • long getRemainingSeconds() - remaining seconds until the countdown ends.

Usage:

@EventHandler
public void onTick(CountdownTickEvent e) {
    Countdown c = e.getCountdown();
    long remaining = e.getRemainingSeconds();
    // update UI or react
}

Copyright © 2024–2026 Gyvex. Distributed under the MIT License.

This site uses Just the Docs, a documentation theme for Jekyll.