Back to mods

Vintage Story Mod DB · Vintage Story mod

Client Settings Save Spam Check

You probably don't need this mod. This was inspired by a discussion in the official discord #mod-development channel about a client settings corruption issue I experienced. This bug was brought up: https://github.com/anegostudios/VintageStory-Issues/issues/4

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Client Settings Save Spam Check release should I use?

Updated last month
Latest stable file 1.0.0
Game version 1.22.3
Loader Built-in Vintage Story mod system

Client Settings Save Spam Check 1.0.0 targets 1.22.3. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Client Settings Save Spam Check required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This Vintage Story file is marked client-only.

What else does Client Settings Save Spam Check 1.0.0 need?

1.0.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Client Settings Save Spam Check without breaking your instance.

Built for Client Settings Save Spam Check 1.0.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.22.3; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does Client Settings Save Spam Check add?

You probably don't need this mod.

This was inspired by a discussion in the official discord #mod-development channel about a client settings corruption issue I experienced. This bug was brought up:

https://github.com/anegostudios/VintageStory-Issues/issues/4920 (clientsettings appears to be constantly overwriting/changing itself)

I couldn't reproduce the bug in the current version, but discovered that under the right circumstances through a bad mod interaction or even a vanilla bug the client settings json could be rewritten every 2 seconds, increasing the chances of a corrupted settings in the event of something like as power loss. The game checks every 2 seconds if the settings are "dirty", and if they are it rewrites the file. The "dirty" flag is set any time any property of the ClientSettings class is altered.

This mod warns with a chat message and a log entry if this happens 5 consecutive times in a row, and if that happens it saves a stacktrace in the log for every call that caused the config to be marked dirty. If something is causing this to happen, this will hopefully point the finger right at what is doing it.

This mod was hastily thrown together and could break things. Only use it if you understand what it is doing and why you would want it. I'm not posting this on github or anything, so I included the source code in the zip disguised as a txt file so the game doesn't try to compile it. Consider the code and this mod in the public domain.

Project description from Vintage Story Mod DB.

Pick your setup

Client Settings Save Spam Check releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Client Settings Save Spam Check versions and loaders

1 of 1 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.