add moon persistence settings

This commit is contained in:
Jack Baron 2022-07-22 17:39:41 +01:00 committed by Sanae
parent f948a05bd3
commit 8d90f50fa9
1 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class Settings {
public ScenarioTable Scenario { get; set; } = new ScenarioTable();
public BannedPlayers BanList { get; set; } = new BannedPlayers();
public DiscordTable Discord { get; set; } = new DiscordTable();
public PersistShinesTable PersistShines { get; set; } = new PersistShinesTable();
public class ServerTable {
public string Address { get; set; } = IPAddress.Any.ToString();
@ -73,4 +74,10 @@ public class Settings {
public string Prefix { get; set; } = "$";
public string? LogChannel { get; set; }
}
public class PersistShinesTable
{
public bool Enabled { get; set; } = false;
public string Filename { get; set; } = "./moons.json";
}
}