Changes

Jump to navigation Jump to search
→‎Dependencies: use generic example mod
Line 85: Line 85:     
===Dependencies===
 
===Dependencies===
The <tt>Dependencies</tt> field specifies other mods required to use this mod. If a player tries to use the mod and the dependencies aren't installed, the mod won't be loaded and they'll see a friendly message saying they need to install those. Example:
+
The <tt>Dependencies</tt> field specifies other mods required to use this mod. If a player tries to use the mod and the dependencies aren't installed, the mod won't be loaded and they'll see a friendly message saying they need to install those. For example:
 
<source lang="javascript">
 
<source lang="javascript">
 
"Dependencies": [
 
"Dependencies": [
 
   {
 
   {
       "UniqueID": "Entoarox.Framework",
+
       "UniqueID": "SMAPI.ConsoleCommands",
       "MinimumVersion": "1.7.9" // optional. If specified, older versions won't meet the requirement.
+
       "MinimumVersion": "3.8.0" // optional. If specified, older versions won't meet the requirement.
 
   }
 
   }
 
]
 
]
Line 99: Line 99:  
"Dependencies": [
 
"Dependencies": [
 
   {
 
   {
       "UniqueID": "Entoarox.Framework",
+
       "UniqueID": "SMAPI.ConsoleCommands",
 
       "IsRequired": false
 
       "IsRequired": false
 
   }
 
   }
translators
8,446

edits

Navigation menu