Skip to content

PaperMC migration, Entities and Logging#3

Merged
integr-dev merged 5 commits intomasterfrom
develop
Feb 22, 2026
Merged

PaperMC migration, Entities and Logging#3
integr-dev merged 5 commits intomasterfrom
develop

Conversation

@integr-dev
Copy link
Owner

This pull request introduces several improvements and refactors across the codebase, focusing on modernizing APIs, improving logging, and simplifying code. The most significant changes are the migration from BungeeCord to Adventure text components, a complete overhaul of the logging system for better formatting and clarity, and the removal of the example item TestItem. Minor improvements include utility additions and API updates for command arguments and server access.

API Modernization and Refactoring

  • Migrated text component system from BungeeCord (BaseComponent, ComponentBuilder) to PaperMC's Adventure (net.kyori.adventure.text.Component), including updated usage in the README.md and command code. This affects how hover and click events are handled and how colors are applied. [1] [2] [3] [4] [5]
  • Refactored server access throughout the codebase to use Backbone.SERVER instead of directly referencing Bukkit, improving testability and abstraction. This change is reflected in command arguments and core logic. [1] [2] [3]

Logging Improvements

  • Replaced the previous logger implementation with a custom BackboneLogger that formats log output with ANSI colors and timestamps, and disables parent handlers for cleaner output.
  • Added log messages for registering and unregistering event listeners for better traceability.

Codebase Simplification and Utility

  • Removed the example/test item TestItem and related registration logic to streamline the codebase and focus on production features. [1] [2]
  • Added a Utils.tryOrNull helper function for safe exception handling, used in plugin initialization. [1] [2]

Documentation and Presentation

  • Updated README.md to reflect the new text component system and GUI framework, and added status badges for CI, release, commit, and license. [1] [2] [3]

Minor Improvements

  • Improved error handling and control flow in item replication commands.
  • Updated copyright headers.

These changes collectively modernize the project, improve developer experience, and lay the groundwork for future enhancements.

@integr-dev integr-dev merged commit 9a92e19 into master Feb 22, 2026
2 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