Skip to content

Refuse to load known-incompatible mod versions #192

@Pathoschild

Description

@Pathoschild

Some mods are abandoned and known to be incompatible with the latest version of the game. That especially includes CJB Cheats Menu 1.12, which is the reason for a significant fraction of SMAPI support requests.

When a player tries to load a known-incompatible mod version, SMAPI should output a warning like this:

Can't load mod "CJB Cheats Menu" 1.12, because this mod version is not compatible with the latest version of the game. Please check for a newer mod version in one of these places:
— official page: http://www.nexusmods.com/stardewvalley/mods/4/
— unofficial update: http://community.playstarbound.com/threads/125031/

This would probably use data stored in a StardewModdingAPI-data.json file like this:

{
   "IncompatibleMods": [
      {
         "ID": "<mod id>",
         "Name": "CJB Cheats Menu",
         "Version": "1.12",
         "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/4/",
         "UnofficialUpdateUrl": "http://community.playstarbound.com/threads/125031/"
      }
   ]
}

Metadata

Metadata

Assignees

Labels

enhancementThis is a general improvement that can be addressed with specific development changes.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions