itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
9.18k stars 1.52k forks source link

Feature Request: latest optifine version #2214

Open inputoutput1126 opened 1 year ago

inputoutput1126 commented 1 year ago

Enhancement Type

Improve an existing feature

Describe the enhancement

as in title, it would be nice to have a version option that updates to latest version supported by optifine.

itzg commented 1 year ago

How are you getting optifine so far into the container? Also, optifine is a client-side mod, so I'm not sure why this would be a server-side, container concern.

inputoutput1126 commented 1 year ago

I don't run optifine in the container, but running vanilla with version "latest" tends to update the server past the latest version of optifine, thus no optifine clients can connect to it.

itzg commented 1 year ago

In that case, just pin the VERSION as described here

https://docker-minecraft-server.readthedocs.io/versions/minecraft/

itzg commented 1 year ago

...and just wanted to note that it is not feasible to query the latest Minecraft/Forge version supported by Optifine since they don't provide a web API to query for that.