Skip to content

Comments

feat(placeholder): expand custom placeholders and integrate MiniPlaceholders#4

Merged
Chiloven945 merged 1 commit intomasterfrom
feat-placeholders
Feb 3, 2026
Merged

feat(placeholder): expand custom placeholders and integrate MiniPlaceholders#4
Chiloven945 merged 1 commit intomasterfrom
feat-placeholders

Conversation

@Chiloven945
Copy link
Contributor

…holders

  • centralize placeholder processing into a single pipeline (remove scattered handling)
  • add parameterized unit placeholders: {days: suffix} {hours: suffix} {minutes: suffix} {seconds: suffix}
    • hide token when value is 0 if suffix is provided
  • add formatted remaining placeholder: {remaining:} (e.g. {remaining:hh:mm:ss}, {remaining:d天 hh:mm:ss})
    • suppress zero-valued units when a unit suffix is present
  • enable {animation:} frames to pass through the same placeholder + MiniMessage pipeline
  • integrate MiniPlaceholders as an optional dependency via TagResolver (no reflection)
    • render per-player where applicable (bossbar/title) for audience-aware placeholders
  • update config comments and wiki/docs to describe new placeholder formats

BREAKING CHANGE: placeholder rendering has been refactored into a unified pipeline; any custom code that depended on old scattered render paths must be updated.

…holders

- centralize placeholder processing into a single pipeline (remove scattered handling)
- add parameterized unit placeholders: {days: suffix} {hours: suffix} {minutes: suffix} {seconds: suffix}
  - hide token when value is 0 if suffix is provided
- add formatted remaining placeholder: {remaining:<pattern>} (e.g. {remaining:hh:mm:ss}, {remaining:d天 hh:mm:ss})
  - suppress zero-valued units when a unit suffix is present
- enable {animation:<id>} frames to pass through the same placeholder + MiniMessage pipeline
- integrate MiniPlaceholders as an optional dependency via TagResolver (no reflection)
  - render per-player where applicable (bossbar/title) for audience-aware placeholders
- update config comments and wiki/docs to describe new placeholder formats

BREAKING CHANGE: placeholder rendering has been refactored into a unified pipeline; any custom code that depended on old scattered render paths must be updated.
@Chiloven945 Chiloven945 self-assigned this Feb 3, 2026
@Chiloven945 Chiloven945 merged commit e7d2f47 into master Feb 3, 2026
3 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