saveToDisk

Saves player settings to the YAML file synchronously. This should only be called from async context or during shutdown.

Parameters

data

The settings data to save