Jump to content

JAVA: Spigot, Unsupported API version 1.20.1-R0.1-SNAPSHOT.

HydrogenOS

I am running a spigot server as a Dev server on windows and I have made a plugin but when I run it I will start the server but not the plugin with the error codes blow:

[13:55:14] [Server thread/ERROR]: Could not load 'plugins\ALand-1.1-INDEV.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.20.1-R0.1-SNAPSHOT
        at org.bukkit.craftbukkit.v1_20_R1.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:317) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3914-Spigot-d2eba2c-2fa7644]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.CraftServer.loadPlugins(CraftServer.java:435) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3914-Spigot-d2eba2c-2fa7644]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:219) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3914-Spigot-d2eba2c-2fa7644]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:972) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3914-Spigot-d2eba2c-2fa7644]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:303) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3914-Spigot-d2eba2c-2fa7644]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]

 

Link to comment
Share on other sites

Link to post
Share on other sites

I got it working now

You aren't suppost to use the of the spiggot api version it tells you instead you are suppost to use the first to numbers of the Minecraft version (in my case 1.20)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×