Changes

Using a real example for the manifest.json file instead of fake data.
Line 4: Line 4:     
==Basic examples==
 
==Basic examples==
Here's the basic format (see below for details on each field):
+
Here's an example of the basic format from version 1.29.1 of the CJB Cheats Menu mod (see below for details on each field):
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 12: Line 12:  
| <syntaxhighlight lang="javascript">
 
| <syntaxhighlight lang="javascript">
 
{
 
{
  "Name": "Your Project Name",
+
    "Name": "CJB Cheats Menu",
  "Author": "your name",
+
    "Author": "CJBok and Pathoschild",
  "Version": "1.0.0",
+
    "Version": "1.29.1",
  "Description": "One or two sentences about the mod.",
+
    "Description": "Simple in-game cheats menu!",
  "UniqueID": "YourName.YourProjectName",
+
    "UniqueID": "CJBok.CheatsMenu",
  "EntryDll": "YourDllFileName.dll",
+
    "EntryDll": "CJBCheatsMenu.dll",
  "UpdateKeys": []
+
    "MinimumApiVersion": "3.12.6",
 +
    "UpdateKeys": [ "Nexus:4" ]
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 64: Line 65:  
|-
 
|-
 
| <samp>UniqueID</samp>
 
| <samp>UniqueID</samp>
| A unique identifier for your mod. The recommended format is <samp>&lt;your name&gt;.&lt;mod name&gt;</samp>, with no spaces or special characters. SMAPI uses this for update checks, mod dependencies, and compatibility blacklists (if the mod breaks in a future version of the game). When another mod needs to reference this mod, it uses the unique ID. Example: <syntaxhighlight lang="javascript">"UniqueID": "Pathoschild.LookupAnything"</syntaxhighlight>
+
| A unique identifier for your mod. The recommended format is <samp>&lt;your name&gt;.&lt;mod name&gt;</samp>, with no spaces or special characters. SMAPI uses this for update checks, mod dependencies, and compatibility blacklists (if the mod breaks in a future version of the game). When another mod needs to reference this mod, it uses the unique ID. For this reason, once you've published your mod, do not change this unique ID in future versions of the same mod. Example: <syntaxhighlight lang="javascript">"UniqueID": "Pathoschild.LookupAnything"</syntaxhighlight>
 
|-
 
|-
 
| <samp>EntryDll</samp> '''or''' <samp>ContentPackFor</samp>
 
| <samp>EntryDll</samp> '''or''' <samp>ContentPackFor</samp>
32

edits