feat(protection): add configurable Strength effect
Release / release (push) Successful in 2m26s
CI / build (push) Successful in 56s

This commit is contained in:
dmg
2026-08-10 22:58:18 -04:00
parent e064c7398c
commit 5609a0a656
17 changed files with 279 additions and 71 deletions
@@ -21,7 +21,10 @@ As a **server administrator**, I want to control Leaf globally and per player so
- [x] A locked player receives a clear explanation when `/leaf on` or `/leaf off` is denied.
- [x] PvP-triggered opt-out remains authoritative even for a locked player.
- [x] Player targets resolve online names, previously known names, and UUIDs without confusing two players who used the same name.
- [x] `/leaf strength <1-5>` changes the live Resistance level and immediately updates protected online players.
- [x] `/leaf strength <1-5>` remains a deprecated compatibility alias that changes the live Resistance level.
- [x] `/leaf effect resistance <1-5>` changes the live Resistance level and immediately updates protected online players.
- [x] `/leaf effect strength <1-5>` changes the live Strength level and immediately updates protected online players.
- [x] Effect-command autocomplete suggests effect names and valid levels for the current argument position.
- [x] Administrative autocomplete is permission-aware and suggests valid subcommands, known player targets, properties, levels, and `on` or `off` values for the current argument position.
- [x] Every successful mutation reports exactly what changed, and invalid requests make no partial changes.