-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Server Environment
Server Type: MohistMC (Forge + Bukkit hybrid)
Forge Version: 1.20.1-47.4.0-universal
ImageFrame Version: 1.8.2.0
Minecraft Version: 1.20.1
What Happened
When starting the server with ImageFrame installed, the plugin enters its onEnable() phase but throws an exception and immediately disables itself. As a result, none of the /imageframe commands are available in-game.
Relevant Console Output
[14:24:47] [Server thread/INFO] [com.mohistmc.MohistMC]: Enabling ImageFrame v1.8.2.0
[14:24:48] [Server thread/ERROR] [com.mohistmc.MohistMC]: Error occurred while enabling ImageFrame v1.8.2.0 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
at com.loohp.imageframe.objectholders.ImageMapManager.(ImageMapManager.java:96)
at com.loohp.imageframe.ImageFrame.onEnable(ImageFrame.java:325)
...
Caused by: java.lang.IllegalArgumentException: Unable to find suitable implementation of PlatformScheduler
at com.loohp.interactivechat.libs.com.loohp.platformscheduler.Scheduler.initializePlatformScheduler(Scheduler.java:66)
at com.loohp.interactivechat.libs.com.loohp.platformscheduler.Scheduler.(Scheduler.java:42)
... 13 more
[14:24:48] [Server thread/INFO] [com.loohp.imageframe.ImageFrame]: [ImageFrame] Disabling ImageFrame v1.8.2.0
Steps to Reproduce
Download and run Mohist Minecraft server.
Place ImageFrame-1.8.2.0.jar in the plugins/ folder.
Start the server and observe the console logs.
Expected Behavior
ImageFrame should successfully register its scheduler and enable all commands. The console should show something like:
[ImageFrame] Enabling ImageFrame v1.8.2.0
[ImageFrame] ImageFrame has been enabled successfully.
Actual Behavior
Plugin fails to find a PlatformScheduler implementation, throws IllegalArgumentException, and disables itself immediately.
Additional Notes
This issue does not occur on a standard Paper or Spigot 1.20.1 server.
It appears MohistMC’s Bukkit API layer does not include a compatible implementation for the PlatformScheduler used by InteractiveChat/ImageFrame.
Request
Could you advise whether MohistMC compatibility will be officially supported in a future release?
Are there any known workarounds or configuration changes to supply a valid PlatformScheduler under MohistMC?