Modinfo: Difference between revisions

From Vintage Story Wiki
312 bytes added ,  2 years ago
fixes and clarifications ("author" is not a valid property)
m (Fix contributors tag (authors -> contributors))
(fixes and clarifications ("author" is not a valid property))
Line 8: Line 8:
   "modid": "mycoolmod",
   "modid": "mycoolmod",
   "name": "My Cool Mod (very cool)",
   "name": "My Cool Mod (very cool)",
   "author": "SakuraSpiritKid69",
   "authors": ["SakuraSpiritKid69"],
   "description": "Mod that is so cool it freezes you.",
   "description": "Mod that is so cool it freezes you.",
   "version": "1.2.3",
   "version": "1.2.3",
   "dependencies": {
   "dependencies": {
     "game": "",
     "game": "1.14.10",
   }
   }
}
}
Line 47: Line 47:
| requiredOnClient|| "requiredOnClient" = True ||If set to false and the mod is universal, clients don't need the mod to join. Default value = True
| requiredOnClient|| "requiredOnClient" = True ||If set to false and the mod is universal, clients don't need the mod to join. Default value = True
|-
|-
| dependencies || "dependencies": { "game": "1.12.14", "survival": "1.12.14"} ||  List of mods (and versions) this mod depends on.
| dependencies || "dependencies": { "game": "1.12.14", "survival": "1.12.14"} ||  List of mods (and versions) this mod depends on.<br>The game uses SemVer to compare using logic described here: [https://semver.org/], so for example 1.15.0 > 1.15.0-rc.3 > 1.15.0-rc.2<br>For example, if you set your mod to have a dependency of "game": "1.15.0-rc.2", it will be compatible with that version and all versions released at a later date.
|}
|}
Confirmedusers, editor
104

edits