EzSeasons
Table of contents
EzSeasons is a companion plugin that manages periodic server seasons. When installed alongside EzLifesteal, season-end events automatically trigger a full heart reset for all players — no manual admin command required.
What it enables
- Automatic heart reset on season end — when EzSeasons fires a
SeasonEndEvent, EzLifesteal resets every stored player profile back to the configureddefault-heartsvalue.
How it works
EzLifesteal registers a Bukkit event listener for SeasonEndEvent. When the event fires:
- EzLifesteal iterates over all stored player profiles.
- Each profile’s heart count is set to the
default-heartsvalue defined inlifesteal-core.yml. - Changes are persisted to the active storage backend (YAML or MySQL).
The reset is equivalent to running /lifesteal resetall — it affects every player, including offline ones.
When absent
Season resets must be triggered manually by an admin:
/lifesteal resetall
No warnings or errors are logged at startup if EzSeasons is not installed. The integration check is silent.
Setup
- Install EzSeasons on the same server.
- Configure seasons in EzSeasons as normal.
- No additional configuration is needed in EzLifesteal. The integration activates automatically when EzSeasons is detected at startup.
Related pages
- Lifesteal — heart mechanics and
default-heartssetting - Storage — how player profiles are persisted
- Lifesteal core config (
lifesteal-core.yml) —default-heartsand related keys