FoxLoader icon indicating copy to clipboard operation
FoxLoader copied to clipboard

Request: getModVersion/hasModId API

Open KingColton1 opened this issue 6 months ago • 4 comments

So that way we can detect mod's version or has a mod using ID to do something such as: turn off if it is on server, or inform to the user that the version is outdated and can be updated to a new version.

(posted to remind you about this)

KingColton1 avatar Jul 19 '25 01:07 KingColton1

ig one of ways to implement is to request a list of mods and their versions during handshake/login part, so server could receive this list at the beginning and later used by mods

tracystacktrace avatar Jul 19 '25 06:07 tracystacktrace

@tracystacktrace FoxLoader already does that.

Fox2Code avatar Jul 19 '25 12:07 Fox2Code

The API itself is what is missing.

Fox2Code avatar Jul 19 '25 12:07 Fox2Code

Update of the API idea: public Map<String, ModInfo> getModInfos(), will reuse the ClientHello system

Fox2Code avatar Jul 24 '25 17:07 Fox2Code