vincss/mcsleepingserverstarter

1.20.1 not supported

Qesaru opened this issue · 6 comments

Qesaru commented

Hey,
I'm running the latest Version 1.5.11 and want to use it with Minecraft Version 1.20.
When I want to use your program with "Version: 1.20" set in the .yml file, I get this error:

2023-06-13 00:47:15 info: ................................. 
2023-06-13 00:47:15 info: ... A new story begin v1.5.11 ... 
2023-06-13 00:47:15 info: ................................. 
2023-06-13 00:47:15 info: Retrieved settings:{"serverName":"Server in sleep. A connection will wake it up!","serverPort":25566,"maxPlayers":20,"loginMessage":"...Waking server up, connect again in a minute...","serverOnlineMode":false,"webPort":0,"webStopOnStart":false,"startMinecraft":1,"minecraftCommand":"java -Xms2048M -Xmx6144M -Dterminal.jline=false -Dterminal.ansi=true -jar paper-1.20-14.jar","version":"1.20.","bedrockPort":19132,"favIcon":"data:image/png;base64,iVBORw0KGgoAAAAN..."} 
2023-06-13 00:47:15 info: [Main] Waiting for 'quit' in CLI. 
2023-06-13 00:47:15 error: [Main] Something bad happened. unsupported protocol version: 1.20.

When I tell it to use an older Version (like 1.18.2, which I've used before) it cannot start the server, but tells me about Chunk Sizes just as in #164

Has this to do with #128 and we are waiting for node-minecraft-protocol to update to 1.20?

vincss commented

Hi !
Yes, we need to wait for a compatible version from : https://github.com/PrismarineJS/node-minecraft-protocol

vincss commented

If you leave the "version":"false", it seems to work on my side.

Qesaru commented

Hey,
This workaround worked fine for version 1.20, but sadly it doesn't work anymore for 1.20.1.
If I set "version: 1.20.1" it complains about an unsupported protocol version. If I set the "version: false", it complains about chunksizes again.

As you've closed this issue and you've updated the "Compatible Versions" in the README to: "Minecraft Java: up to 1.20.1", I guess you've made an update, but it doesn't seem to be public yet. The newest release is still 1.5.11.

vincss commented

You're wright, they released a new version for compatibility, I will integrate it soon :
https://github.com/PrismarineJS/node-minecraft-protocol/releases/tag/1.43.0

Qesaru commented

Works perfectly. Thank you very much!