Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not usable on servers for minecraft 1.19 or lower #4

Closed
4 tasks done
RappyTV opened this issue Aug 17, 2024 · 1 comment
Closed
4 tasks done

Not usable on servers for minecraft 1.19 or lower #4

RappyTV opened this issue Aug 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RappyTV
Copy link
Contributor

RappyTV commented Aug 17, 2024

General Troubleshooting

  • I am using the latest version of the LabyMod 4 Server API.
  • I am using the latest version of LabyMod.
  • I have checked for similar issues on the Issue-tracker.
  • I have checked for Pull Requests that might already address this issue.

Platforms

Spigot / Bukkit

Affected Minecraft Version(s)

Other / Not Listed (please specify in the additional information text field at the bottom)

Expected Behaviour

I tried to run the API on a 1.16.5 server but it didn't load the API with an error saying that it only supports minecraft >= 1.20

Code Example for Reproduction Steps

N/A

Exception or Error

[15:58:33 ERROR]: Could not load 'plugins/labymod-server-api-bukkit-1.0.2.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.20
        at org.bukkit.craftbukkit.v1_16_R3.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:361) ~[patched_1.16.5.jar:git-Paper-794]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149) ~[patched_1.16.5.jar:git-Paper-794]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:414) ~[patched_1.16.5.jar:git-Paper-794]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:322) ~[patched_1.16.5.jar:git-Paper-794]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.16.5.jar:git-Paper-794]
        at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:269) ~[patched_1.16.5.jar:git-Paper-794]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-794]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
        at java.lang.Thread.run(Thread.java:829) [?:?]

Additional Information

The api-version in the plugin.yml needs to be adjusted to support a wider range of versions

@RappyTV RappyTV added bug Something isn't working pending This issue or pull request still needs to be looked at labels Aug 17, 2024
@jumpingpxl jumpingpxl removed the pending This issue or pull request still needs to be looked at label Sep 2, 2024
@jumpingpxl
Copy link
Member

thank you for the report! This has (hopefully) been fixed in 6ed9e19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants