Skip to content

Implement dynamic handling based on MythicMobs version #2

Description

@albardoo02

Description

Due to API changes between different versions of MythicMobs, implement a system to detect the server's MythicMobs version at runtime and switch the internal processing dynamically to ensure compatibility.

To-Do

  • Implement a utility logic to detect the current MythicMobs version upon plugin enablement.
  • Design an abstraction layer/interface (e.g., MythicMobsHandler) to encapsulate version-specific API calls.
  • Implement concrete handler classes for each targeted MythicMobs major/minor version.
  • Implement a provider/dependency injection flow to instantiate the correct handler depending on the detected version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions