timvisee / lazymc

💤 Put your Minecraft server to rest when idle.
GNU General Public License v3.0
600 stars 18 forks source link

Update lazymc to support 1.19(.2) #32

Open jlxip opened 2 years ago

jlxip commented 2 years ago

I'm using the docker container. My server is on 1.19.2, and I thought changing the MC_VERSION env var and version and protocol in lazymc.toml would make it work. When the container starts, it tries to download a lazymc release with no version, so I'm guessing there's some changes to be made here.

Edit: logs from the container

--2022-10-10 00:20:21--  https://github.com/timvisee/lazymc/releases/download//lazymc--linux-x64

Resolving github.com (github.com)... 140.82.121.4

Connecting to github.com (github.com)|140.82.121.4|:443... connected.

HTTP request sent, awaiting response... 404 Not Found

2022-10-10 00:20:21 ERROR 404: Not Found.
jlxip commented 2 years ago

Apparently it does work if lazymc.toml is altered after the first execution so that the lazymc binary is already there.