feat(config): add validated durable Leaf state

This commit is contained in:
dmg
2026-08-10 17:57:09 -04:00
parent 5627de6afe
commit f805f9371d
13 changed files with 605 additions and 9 deletions
+15
View File
@@ -0,0 +1,15 @@
# Whether Leaf protection is available server-wide.
enabled: true
# Visible Minecraft Resistance level (I-V).
resistance-level: 1
# Legacy color codes are supported.
prefix: "&a🍃 "
# Calendar-day onboarding window measured from first join.
onboarding-days: 7
welcome-message: "&aLeaf protection is available: /leaf on, /leaf off, or /leaf status. Attacking another player opts you out."
combat-disabled-message: "&cLeaf protection was disabled because you attacked another player."
locked-message: "&cAn administrator locked your Leaf setting."