Modinfo: Difference between revisions
From Vintage Story Wiki
(fixes and clarifications ("author" is not a valid property)) |
mNo edit summary |
||
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.<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. | | 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.<br>You can set the value to an asterisk ("game": "*") to allow compatibility with all versions. | ||
|} | |} |