SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

SMAPI not ''reading'' edited config.json files

PublicMenace opened this issue ยท 8 comments

commented

When I edit the config.json of any mod SMAPI ignores that and just reads the standard config settings.
I'm on Mac OS and I think this could be a PEBKAC.

commented

When I close and reopen the given config file the settings that I made are saved so i think it must be SMAPI not recognising the changes.
Thanks in advance,
Johan

commented

most mods only read the config once in Entry(IModHelper helper) and write it if the mod gets unloaded. If SMAPI is running your changes would be lost

commented

Does that mean I can't just edit the config.json to apply changes?

commented

if your game is running i don't think so

commented

My game is always closed when i edit the config files so it should work...

commented

maybe the mod you are using is buggy i just checked config on my own mod and it works as expected

commented

I tried on many mods and it didn't work. I'll try again later. Thanks anyways :)

commented

Hi @PublicMenace. If this is still happening, come ask on Discord and we'll help figure it out. I'll close this since the GitHub issues are really for planned tasks. :)