feat(identity): display Leaf protection prefixes

This commit is contained in:
dmg
2026-08-10 18:21:15 -04:00
parent 7deb79ad61
commit 1b622211cb
9 changed files with 215 additions and 15 deletions
+8
View File
@@ -34,3 +34,11 @@
- Added immediate durable opt-in persistence, join-time restoration, and quiet infinite Resistance reconciliation.
- Leaf tracks its live Resistance fingerprint and conservatively preserves a visibly distinct Resistance effect.
- Verified player choice, lock, persistence, command, autocomplete, and build behavior with `./gradlew clean check jar`.
### US-003 identity presentation checkpoint
- Added configurable, color-compatible prefixes to standard chat display names and player-list names.
- Added conservative main-scoreboard team prefixes for overhead names without displacing unrelated teams.
- Name cleanup restores only values Leaf installed; third-party changes are preserved.
- Documented scoreboard, custom chat, tab-list, and per-viewer scoreboard limitations.
- US-003 remains in progress until combat and global administration paths are verified.
@@ -2,7 +2,7 @@
type: User Story
title: "US-003: Identify protected players"
description: Mark actively protected players with a visible leaf prefix wherever Spigot supports it.
status: backlog
status: in-progress
---
# US-003: Identify protected players
@@ -11,14 +11,14 @@ As a **server participant**, I want protected players to be visibly identified s
## Acceptance criteria
- [ ] An actively protected player has a configurable leaf prefix before their name in the player list.
- [ ] An actively protected player has the same prefix before their overhead name where Spigot supports it.
- [ ] An actively protected player has the same prefix in standard Spigot chat where the active chat format supports it.
- [ ] The default prefix uses a leaf symbol with readable spacing and Minecraft-compatible formatting.
- [x] An actively protected player has a configurable leaf prefix before their name in the player list.
- [x] An actively protected player has the same prefix before their overhead name where Spigot supports it.
- [x] An actively protected player has the same prefix in standard Spigot chat where the active chat format supports it.
- [x] The default prefix uses a leaf symbol with readable spacing and Minecraft-compatible formatting.
- [ ] The prefix is removed immediately when the player opts out or is opted out by PvP or an administrator.
- [ ] Prefixes are suppressed while Leaf is globally disabled and restored for online opted-in players when it is re-enabled.
- [ ] Prefix updates do not overwrite unrelated display-name text where the Spigot API allows the values to coexist.
- [ ] Scoreboard-team and third-party chat-plugin compatibility limitations are documented, and unsupported integrations fail without affecting protection state.
- [x] Prefix updates do not overwrite unrelated display-name text where the Spigot API allows the values to coexist.
- [x] Scoreboard-team and third-party chat-plugin compatibility limitations are documented, and unsupported integrations fail without affecting protection state.
## Related