mcsleepingserverstarter icon indicating copy to clipboard operation
mcsleepingserverstarter copied to clipboard

1.21+ support?

Open bitwise74 opened this issue 1 year ago • 4 comments

Currently mcsleepingserver for minecraft 1.21+ is broken, it's impossible to start the server on this version. Is it possible to bring support to 1.21+ or is it not planned/impossible for now?

bitwise74 avatar Jun 21 '24 19:06 bitwise74

fr

GamerNation12 avatar Sep 10 '24 03:09 GamerNation12

I am running bungeecord on 1.21.1 and it does kind of work for me, albeit the messages on refused connections are only errors now. Instead of the "server starting now" messages

Gamogamer avatar Oct 03 '24 21:10 Gamogamer

same doesn't work with 1.21+

JamesDAdams avatar Oct 29 '24 17:10 JamesDAdams

I know, I opened a bug on minecraft-protocol side : https://github.com/PrismarineJS/node-minecraft-protocol/issues/1340

vincss avatar Oct 30 '24 09:10 vincss

Same. Im on 1.21.1 PaperMC and it doesn't work :(

AdriPlaysz avatar Nov 09 '24 17:11 AdriPlaysz

A temporary workaround for the issues with newer Minecraft versions is to change/add the following lines in your "sleepingSettings.yml" while we wait for an official fix:

serverOnlineMode: false
useLegacyLogin: true

This works for me on 1.21.1.

Her0brineCreeper avatar Nov 20 '24 00:11 Her0brineCreeper

@vincss would it be fine to ask if you can at least update the java version of Docker? Trying to use 1.21+ on docker seems to be causing an issue since it needs java version 20+ to run even with the mentioned workaround. Thanks!

sepiisagun avatar Jan 21 '25 17:01 sepiisagun

@vincss would it be fine to ask if you can at least update the java version of Docker? Trying to use 1.21+ on docker seems to be causing an issue since it needs java version 20+ to run even with the mentioned workaround. Thanks!

I think this is not relevant to this ticket. Isn't it Can you create another one ?

vincss avatar Jan 22 '25 09:01 vincss

I wasn't sure either if a new ticket was needed too cause its kinda in line with the suggested solution here. But I will be more than glad to do so..

sepiisagun avatar Jan 22 '25 10:01 sepiisagun

Is there any news on whether the program will be expanded to 1.21.8?

DRATHARR avatar Sep 20 '25 23:09 DRATHARR

Hi, It should work with the latest package of minecraft-protocol : https://github.com/PrismarineJS/node-minecraft-protocol

But I can't make it work out of the box : [Main] Something bad happened. unsupported protocol version: 1.21.8

A deeper investigation would be required.

vincss avatar Sep 21 '25 12:09 vincss

I believe in you, you will do it. I started making a plugin for my velocity that shows the player a message that the server is sleeping and it will start now. And a timer of 30-60 seconds that does not allow the player to enter the server and a message that the player should wait. And it also monitors the MOTD of the server backend. And if there is the word "Sleeping" then the plugin turns on again and waits for the player to wake it up.

DRATHARR avatar Sep 21 '25 14:09 DRATHARR

@vincss Hello, if you're not busy, any news? Were you able to figure out why it doesn't work on 1.21.8? 1.21.9 has already been released and servers will soon be switching to the new version. If you manage to adapt your program to 1.21.9, that would be really great. If you're short on time, please use the free version of Cursor AI. It might help you quickly find the problem, and then you can fix it manually.

DRATHARR avatar Oct 06 '25 23:10 DRATHARR