[SPIGOT-7653] api-version in plugin.yml dont accept 1.20.6 Created: 01/May/24  Updated: 25/Dec/24  Resolved: 01/May/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Eisbaer Shirokuma Assignee: Doc
Resolution: Fixed Votes: 0
Labels: None

Version: 4137-Spigot-e2c1eee-666f091 (MC: 1.20.6)
Guidelines Read: Yes

 Description   

org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.20.6
    at org.bukkit.craftbukkit.v1_20_R4.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:298) ~[spigot-1.20.6-R0.1-SNAPSHOT.jar:4137-Spigot-e2c1eee-666f091]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[spigot-api-1.20.6-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:405) ~[spigot-api-1.20.6-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:312) ~[spigot-api-1.20.6-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:121) ~[spigot-api-1.20.6-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R4.CraftServer.loadPlugins(CraftServer.java:430) ~[spigot-1.20.6-R0.1-SNAPSHOT.jar:4137-Spigot-e2c1eee-666f091]
    at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:232) ~[spigot-1.20.6-R0.1-SNAPSHOT.jar:4137-Spigot-e2c1eee-666f091]
    at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1010) ~[spigot-1.20.6-R0.1-SNAPSHOT.jar:4137-Spigot-e2c1eee-666f091]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:311) ~[spigot-1.20.6-R0.1-SNAPSHOT.jar:4137-Spigot-e2c1eee-666f091]
    at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]



 Comments   
Comment by Doc [ 01/May/24 ]

PR Created for fix this.

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1392/overview

 

Comment by Doc [ 01/May/24 ]

Okay i think the issue is here https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/util/ApiVersion.java#18

in the recent 1.20.6 this field was not updated.

Comment by Eisbaer Shirokuma [ 01/May/24 ]

But in https://www.spigotmc.org/threads/spigot-bungeecord-1-20-5-1-20-6.645069/ its say 

  • api-version in plugin.yml now accepts minor versions (eg, 1.20.6). 

and 1.20.5 works but not 1.20.6

Comment by Doc [ 01/May/24 ]

Currently only support major versions like: 1.19, 1.20 not "minor" versions like 1.20.1, 1.20.2

Generated at Sat Dec 13 15:19:46 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.