Skip to content

Unifies message handling and dynamic command aliases - #5

Merged
YusakiDev merged 16 commits into
mainfrom
feat/alias
Oct 9, 2025
Merged

Unifies message handling and dynamic command aliases#5
YusakiDev merged 16 commits into
mainfrom
feat/alias

Conversation

@YusakiDev

Copy link
Copy Markdown
Contributor

Summary

  • Refactors message delivery across commands and GUI to use a unified, Adventure-based message API and consistent prefix handling
  • Updates and centralizes all feedback, input, error, and title messages to leverage new message utilities for colorization and placeholder resolution
  • Migrates command alias configuration to use a new lmb key, deprecating the legacy base key in config
  • Integrates a dynamic CommandAliasManager for robust alias application, allowing primary command and aliases to be updated at runtime
  • Bumps YskLib to version 1.6.6 to utilize improved message and alias APIs, and updates minimum dependency requirements accordingly
  • Increments plugin version to 1.5.3
  • Updates documentation (README) to reflect version and library changes

Motivation

Unifying message logic improves maintainability and ensures consistent player/admin messaging throughout the codebase, while incorporating Adventure components for greater style flexibility. The switch to dynamic alias management and a more robust configuration structure prevents aliasing issues and improves user experience for both admins and plugin users.

Replaces manual command alias logic with centralized CommandAliasManager from updated library, simplifying command registration and reloading. Updates dependency and documentation to require YskLib 1.6.5.

Relates to alias management improvements.
Switches command alias configuration from the legacy 'base' key to a more descriptive 'lmb' key, improving clarity and maintainability.
Adds backward compatibility for loading aliases from the previous key if needed, ensuring smooth migrations for existing users.
Updates project version references and documentation to 1.5.3.
Raises required YskLib version to 1.6.6 to ensure compatibility
with upstream changes and improvements.
Replaces hardcoded library version with automatic detection
to ensure the installed artifact matches the built version and
simplifies version management in the workflow.
Raises the minimum required version to ensure compatibility
with recent features and bug fixes in the dependency.
@YusakiDev
YusakiDev merged commit ec2d8e3 into main Oct 9, 2025
2 checks passed
@YusakiDev
YusakiDev deleted the feat/alias branch October 9, 2025 04:01
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