SadShrimpyy / StarMail

Spigot plugin - adds mailboxes, letters, and packages.
3 stars 0 forks source link

error loading on 1.20.1 "Unsupported API version 1.17.1" #12

Closed Spookyboopz closed 1 month ago

Spookyboopz commented 1 month ago

installed the plugin, during startup plugin failed to load with error

[03:04:31 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'StarMail-2.0.4-dev.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.17.1
    at org.bukkit.craftbukkit.v1_20_R1.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:380) ~[paper-1.20.1.jar:git-Paper-196]
    at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:119) ~[paper-1.20.1.jar:git-Paper-196]
    at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[paper-1.20.1.jar:git-Paper-196]
    at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[paper-1.20.1.jar:git-Paper-196]
    at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[paper-1.20.1.jar:git-Paper-196]
    at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[paper-1.20.1.jar:git-Paper-196]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:510) ~[paper-1.20.1.jar:git-Paper-196]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:273) ~[paper-1.20.1.jar:git-Paper-196]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.20.1.jar:git-Paper-196]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
    at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Server info:

plugins:

[03:11:45 INFO]:  Server Plugins (17): 
[03:11:45 INFO]:  Bukkit Plugins: 
[03:11:45 INFO]:   -   BetterEconomy ,  CommandPanels ,  DecentHolograms ,  FastAsyncWorldEdit ,  GWarp ,  * Invsee ,  LuckPerms ,  PlaceholderAPI ,  * PlayTime ,  ProtocolLib 
[03:11:45 INFO]:   setHome ,  * SimpleTabList ,  * SimpleTpa ,  StarMail ,  SuperVanish ,  Vault ,  ViaVersion 

Your client setup

love the work shrimpy

SadShrimpyy commented 1 month ago

Hi Spookyboopz. At the moment StarMail didn't support Paper fork, but Spigot only.

Btw I have on my schedule to work on a compatibility layer, so the issue can remain open until done.

Thanks for your report! 👍

Spookyboopz commented 1 month ago

when do you plan on adding support?

SadShrimpyy commented 1 month ago

Well, for a few days now I’m not at home for work reasons.

When I get home, we’re talking about days, I’ll be able to pay attention to StarMail.

Spookyboopz commented 1 month ago

okay thank you :3

Spookyboopz commented 1 month ago

Any progress on this?

SadShrimpyy commented 1 month ago

Hi Spookyboopz. At the moment I’m still studying how to implement compatibility for Paper, without disrupting the plugin too much in terms of: size, complexity, end-user experience and code effectiveness.

I’m sorry but this is not a job that I can do in a short time, especially because StarMail is my hobby, having a full-time job that occupies most of the day...

However, with a little patience, StarMail will also be present on your Paper servers!

I apologize for the inconvenience 🙏

Spookyboopz commented 1 month ago

all good, perfectly understandable, take your time :3

SadShrimpyy commented 1 month ago

Hi Spookyboopz,

The compatibility layer with Paper is on! You can find in the latest version.

Regards