Commit graph

5 commits

Author SHA1 Message Date
Lucas Nicodemus
1b306ff39d
Fix SSC dumper not working
Dumper was being called on the wrong thing (the config and not the
settings).
2022-10-18 23:50:01 -07:00
Lucas Nicodemus
fa9717debf
Change dumper to dump to markdown-ish files 2022-10-18 23:50:01 -07:00
Lucas Nicodemus
68ae73ffef Warn players if bypass SSC permission is enabled
If a player has the tshock.ignore.ssc permission, odds are that they may
want to know that their data isn't being saved or not. This change
allows users to be notified if they have SSC data stored in the DB but
they aren't having it loaded due to the aforementioned permission.

This permission causes great confusion, but we can't really change it
because we would break existing setups. This is an easy change that
gives people a reason why they suddenly "have no items."

This new option can be turned off in the config file for SSC if it's not
desired.

This change also modifies some of the log messages so that it's clear
why the SSC save didn't occur for a given player.
2021-05-21 01:16:04 -07:00
Chris
50c1b757be Enforce new() constraint on ConfigFile<TSettings> 2020-12-03 17:50:44 +10:30
Chris
a03647ce38 Genericise configurations
This is a breaking change. Enables easy creation of config files without copy/pasting the Read/Write code all the time
2020-12-03 17:42:46 +10:30