Skip to content

🐛 Restore legacy color compatibility - #255

Open
NoltoxGit wants to merge 8 commits into
Maxlego08:developfrom
NoltoxGit:fix/legacy-colors
Open

NoltoxGit wants to merge 8 commits into
Maxlego08:developfrom
NoltoxGit:fix/legacy-colors

Conversation

@NoltoxGit

@NoltoxGit NoltoxGit commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Restore support for legacy & and § formatting and hex colors (#RRGGBB, &#RRGGBB and §x…) so existing configurations continue to render correctly after the MiniMessage migration. Bundled configurations and translations keep their MiniMessage syntax.

  • Apply compatibility conversion before MiniMessage parsing across messages, inventories, items, titles, signs and text alignment, while preserving native tags, click arguments and URLs.
  • Support legacy colors in broadcast, mail and public chat; render /msg and /r content using the sender's chat formatting permissions for both participants.
  • Update the changelog to clarify backward compatibility.
  • Align CI with the shared GroupeZ/zMenu setup: pin the reusable workflow to v1.0.0, explicitly select Java 25 and set artifact-glob: "target/*.jar" for the plugin's output directory.

Validation

  • Plugin, API and Discord bot shaded builds passed.
  • 62 runtime assertions passed on each of Paper 1.21.4 / Java 21 and Paper 26.3 / Java 25, including private-message permissions, broadcast routing, stored-mail reading and public-chat rendering.
  • Runtime checks used simulated players on local Paper servers; visual in-game verification remains to be done. No test files or dependencies were added to the repository.
  • Checked the workflow diff and confirmed the configured inputs are supported by GroupeZ actions v1.0.0; execution of the updated CI remains to be confirmed by GitHub Actions.

- Support legacy ampersand, section sign and hex colors alongside MiniMessage.
- Preserve native tags, click arguments, URLs and bundled MiniMessage configurations.
- Render private message colors using sender permissions and retain compatibility across chat, broadcast and mail.
- Update the changelog to clarify backward compatibility.
- Configure the GroupeZ build workflow to find plugin JARs in target/.
- Pin the GroupeZ workflow to v1.0.0 and explicitly select Java 25.
- Preserve main branch runs and filter dependency updates from build changelogs.
- Follow the shared workflow permission configuration and retain target/*.jar artifact discovery.
- Explicitly grant contents read and packages write permissions to the reusable GroupeZ workflow.
- Fix workflow validation when repository defaults only allow packages read access.
@NoltoxGit
NoltoxGit force-pushed the fix/legacy-colors branch 2 times, most recently from a26db1e to 89fd3fb Compare October 24, 2026 16:38
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