kernitus / BukkitOldCombatMechanics

Spigot plugin to configure combat mechanics for 1.9 onwards
https://www.spigotmc.org/resources/19510/
Mozilla Public License 2.0
173 stars 73 forks source link

Cooldown messages #526

Closed M0diis closed 3 years ago

M0diis commented 3 years ago

Attempt to implement the #484 enhancement.

Added cooldown messages to know how much time (seconds) are left for player to be able to eat normal/enchanted golden apple. The code is functional and has been tested out, though perhaps not implemented in the best way, there might be some changes later.

Perhaps it would be good to implement it to show minutes (and maybe hours) for longer cooldowns, though I haven't found a reliable way to do so.