You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
MythicMobsHandler) to encapsulate version-specific API calls.