You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion: Add a required setting in _meta.json to set the required version of ModLoader.
Requirements:
1 - Add a key to meta.json that specifies the required version of ModLoader.
2 - Add support for this to ModLoader: If ModLoader's version is below the required version, don't load the mod.
3 - Add a const to ModLoader for its current version, eg const MODLOADER_VERSION = "2.0.0"
Since we're using a semantic version string for the version, we will need a custom compare func to check if the ModLoader version matches or is below the mod's specified version.
If it's below, we can check the major versions based on semantic versioning (major.minor.patch, eg. 2.1.16). For example, a mod that requires ModLoader v2.1.0 should still work in v2.2.0, but won't work in v3.0.0.
The text was updated successfully, but these errors were encountered:
Suggestion: Add a required setting in _meta.json to set the required version of ModLoader.
Requirements:
const MODLOADER_VERSION = "2.0.0"
Since we're using a semantic version string for the version, we will need a custom compare func to check if the ModLoader version matches or is below the mod's specified version.
If it's below, we can check the major versions based on semantic versioning (
major.minor.patch
, eg.2.1.16
). For example, a mod that requires ModLoader v2.1.0 should still work in v2.2.0, but won't work in v3.0.0.The text was updated successfully, but these errors were encountered: