feat: some first changes

Add placeholders for time values, new formatting function and call for new function.
This commit is contained in:
sebampuero
2025-03-14 01:47:15 +01:00
committed by hyperdefined
parent 4fe4c2be25
commit d5324b5db6
3 changed files with 40 additions and 3 deletions

View File

@@ -196,7 +196,7 @@ messages:
dropped-by: "&7Dropped by: &8{name}" # name will be player/mob name
damage-taken: "&7Damage taken: &8{damage}"
arrows-shot: "&7Arrows shot: &8{arrows}"
flight-time: "&7Flight time: &8{time}"
flight-time: "&7Flight time: &8{years}y {months}m {days}d {hours}h {minutes}m {seconds}s"
damage-done: "&7Damage done: &8{damage}"
# Set display name for mobs. See: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
mobs: