javalent / fantasy-statblocks

Create Dungeons and Dragons style statblocks for Obsidian.md
MIT License
339 stars 68 forks source link

Everytime that the plugin updates, I lose my configs #385

Open Sponchiatto opened 2 months ago

Sponchiatto commented 2 months ago

Scope

I use statblocks for a diferent system of RPG, I changed the layout to match my custom monsters. But everytime that the plugin updates I have to get my layout backup, import, then go to my creatures, save one by one again. I don't know if its a config or if the update overwrite everthing.

Discovery

Maintain user custom settings, the layout, his custom monsters

Validate

I tested in obsidian, and I use Microsoft One Drive Cloud to store my vault backup, maybe this can influence in something.

Thanks in advance

valentine195 commented 2 months ago

This only happens when you update the plugin? It doesn't happen if you close and reopen obsidian?

Sponchiatto commented 2 months ago

Yes, because when i went to configurations, community plugins menu, and clicked in check for updates and updated all plugins (fantasy statblock included), the problem of happened

It doesn't happen when I close and reopen obsidian, tried this right now.

valentine195 commented 2 months ago

@Sponchiatto do you have the Atomic Write setting on?

Sponchiatto commented 2 months ago

@valentine195 It is a config from obsidian or the plugin?

valentine195 commented 2 months ago

The plugin, under the “Advanced” section.

Sponchiatto commented 2 months ago

@valentine195 under "Advenced Settings" section there is the option: "Try to Save Data Automatically" that is cheked. And next is layout, import homebrew creatures and Bestiary. I didn't find Atomic Write option.

valentine195 commented 2 months ago

That is the setting I was talking about. Can you please try disabling it? I think that might be what is causing it.

Sponchiatto commented 2 months ago

Okay, I disabled this option. Do I need to test something?