Skip to content

Add debug logging for item loading and fix economy plugin - #259

Merged
Maxlego08 merged 5 commits into
Maxlego08:developfrom
1robie:developement
Aug 8, 2026
Merged

Add debug logging for item loading and fix economy plugin#259
Maxlego08 merged 5 commits into
Maxlego08:developfrom
1robie:developement

Conversation

@1robie

@1robie 1robie commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces improved error logging for eco item loading, adds support for a new mechanic, and expands the list of supported economy plugins. The most important changes are summarized below.

Improved error handling and logging

  • Enhanced error logging in EcoLoader: When an eco item fails to load, a detailed message is now logged if debug mode is enabled, including the item name, player, and exception reason.

Mechanics support

  • Registered OnClickMechanicFactory: The ZItemManager now registers the OnClickMechanicFactory, enabling support for "on click" mechanics in the plugin.

Economy plugin integration

  • Added economy plugins to paper-plugin.yml: Multiple economy plugins (such as Vault, BeastTokens, PlayerPoints, and others) are now listed as optional dependencies, allowing for broader compatibility with different server economies.

Codebase improvements

  • Imported necessary classes: Added imports for Configuration and Logger to EcoLoader, ensuring proper access to configuration and logging utilities.
  • Imported OnClickMechanicFactory in ZItemManager to support the new mechanic registration.

@Maxlego08
Maxlego08 merged commit 91fc958 into Maxlego08:develop Aug 8, 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.

2 participants