steves-underwater-paradise / restart-server

Minecraft Fabric mod that adds a restart command to dedicated servers.
https://www.curseforge.com/minecraft/mc-mods/restart-server
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Auto-reconnect players when restarting #20

Open danila-schelkov opened 1 year ago

danila-schelkov commented 1 year ago

I've seen this feature on some servers before, I guess it would be better if players haven't to reconnect by themselves

Steveplays28 commented 1 year ago

I can look into it, though it would also require me to add a client part to the mod. Interesting idea, though it won't be a priority at the moment.

Thanks for checking out the mod!

ShuitOnDiscord commented 8 months ago

bump

John-Paul-R commented 1 month ago

The really crazy play would be to somehow keep the connections to clients alive during the restart, that way it works with any client. That sounds... highly complicated, though.

Steveplays28 commented 1 month ago

@John-Paul-R That's an interesting idea, could work by emulating keep alive packets, though it'd require a separate program to send them while the server starts or the keep alive packets would have to be sent early.