Changes

Jump to navigation Jump to search
Line 83: Line 83:     
That's it! When the player launches the game, SMAPI will create the <samp>config.json</samp> file automatically if it doesn't exist yet, using the default config options you provided in your model. If you need to save some changes, you can use <samp>this.Helper.WriteConfig(this.Config)</samp>.
 
That's it! When the player launches the game, SMAPI will create the <samp>config.json</samp> file automatically if it doesn't exist yet, using the default config options you provided in your model. If you need to save some changes, you can use <samp>this.Helper.WriteConfig(this.Config)</samp>.
 +
 +
Note that <samp>ReadConfig</samp> will raise an exception if the user does not provide a valid JSON.
    
==Keybind settings==
 
==Keybind settings==
528

edits

Navigation menu