0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-25 04:35:18 +00:00

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

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";
}
}