Confirmedusers, editor
749
edits
Mirotworez (talk | contribs) (Marked this version for translation) |
(More clearly SemVer info) |
||
Line 52: | Line 52: | ||
| requiredOnServer|| <code>"requiredOnServer": true</code> ||If set to false and the mod is universal, the mod is not disabled if it's not present on the server. Default value = True | | requiredOnServer|| <code>"requiredOnServer": true</code> ||If set to false and the mod is universal, the mod is not disabled if it's not present on the server. Default value = True | ||
|- | |- | ||
| dependencies || <code>"dependencies": { "game": "1.12.14", "survival": "1.12.14"}</code> || List of mods (and versions) this mod depends on.<br>The game uses | | dependencies || <code>"dependencies": { "game": "1.12.14", "survival": "1.12.14"}</code> || List of mods (and versions) this mod depends on.<br><br>The game uses [https://semver.org/ SemVer] to compare, so for example "1.15.0" > "1.15.0-rc.3" > "1.15.0-rc.2" > "1.15.0-pre.1". You can set the value to an empty string or an asterisk ("game": "*") to allow compatibility with all versions.<br><br>Although the game follows the general logic of SemVer, it does not fully implement it. So for <prerelease> you can only use rc > pre > dev and <metadata> is not supported. | ||
|} | |} | ||