Skip to content

Add Graveyard XP recovery modes and localization - #106

Merged
remdui merged 12 commits into
mainfrom
agent/graveyard-xp-localization-v2
Aug 4, 2026
Merged

Add Graveyard XP recovery modes and localization#106
remdui merged 12 commits into
mainfrom
agent/graveyard-xp-localization-v2

Conversation

@remdui

@remdui remdui commented Aug 4, 2026

Copy link
Copy Markdown
Member

What changed

  • add experience.mode with NATIVE and PERCENTAGE options
  • default to NATIVE, storing the exact final PlayerDeathEvent#getDroppedExp() value after Minecraft and other death listeners have modified it
  • keep experience.recovery_percentage for PERCENTAGE mode, clamped to 0..100 and rounded down
  • route hologram titles, hologram timer states, tracking action bars, durations and grave status labels through the localization handler
  • render hologram components per viewer so language selection is respected
  • document the new XP policy and localization keys

Hardcoded text audit

Direct player-facing Graveyard runtime text now uses localization keys. Internal diagnostics, audit reasons and server log messages remain technical strings and are not shown as localized player UI.

Validation

  • tests cover native XP preservation and percentage flooring/clamping
  • timer tests cover second-precision duration decomposition after localization
  • branch is based directly on current main, so the PR contains no duplicate changes from the already merged command argument fix

@remdui
remdui marked this pull request as ready for review August 4, 2026 13:57
@remdui
remdui merged commit c8039e4 into main Aug 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant