Instant Load

Instant Load

676 Downloads

Instant Load

by Platonymous


Simple mod to load directly into your last saved game and for debug purposes.
Not unique but the one I use.

Automaticly loads your last saved game or last hosted farm.

Config:
EnableInstantLoad: Enables or disables the instant loading
LoadHost: if true, host your last hosted Farm instead of starting in singleplayer (false by default)
[/i][i]EnableDebugCommands: Enables or disables the added commands

DebugCommands:
A list of commands that are autoexecuted on Startup ("Event":"Start"), on Load of the Save ("Event":"Load") or Daily ("Event":"Day").
Commands can be console commands ("Target":"Console") or call a method from a specified mod (from the entry class) by setting "Target": "Id.Of.The.Mod".
"Command" is either the main console command like "world_settime" or the name of the method from the mod you want to call.
"Args" provides a list of parameters that are passed to the command or method (all strings)
 
Example:
config.json
{
<br />  "EnableInstantLoad": true,
<br />  "LoadHost": false,
<br />  "EnableDebugCommands": true,
<br />  "DebugCommands": [
<br />    {
<br />      "Target": "Platonymous.InstantLoad",
<br />      "Event": "Start",
<br />      "Command": "RunDebugStart",
<br />      "Args": [
<br />        "Test",
<br />        "Success"
<br />      ]
<br />    },
<br />    {
<br />      "Target": "Console",
<br />      "Event": "Load",
<br />      "Command": "world_settime",
<br />      "Args": [
<br />        "1000"
<br />      ]
<br />    }
<br />  ]
<br />}
<br />
<br />


If you have any questions or feature requests you can usually find me on the Stardew Valley Discord under the username Routine#8715

If you like my mods and want to support me, you can do so via Paypal or on Patreon.