I'd like to suggest checking server version if it corresponds to the modrinth or hangar version.
It can either be configurable in config to check the version based on the server version, or as an argument like ?versionCheck=true
this way it won't happen that fot server running on 1.21.8 it won't auto update to 26.1 if the latest version doesn't support this MC version.
Or if the server is on 1.8 it won't download updates that do not support this version
etc
I'd like to suggest checking server version if it corresponds to the modrinth or hangar version.
It can either be configurable in config to check the version based on the server version, or as an argument like ?versionCheck=true
this way it won't happen that fot server running on 1.21.8 it won't auto update to 26.1 if the latest version doesn't support this MC version.
Or if the server is on 1.8 it won't download updates that do not support this version
etc