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:
parent
f948a05bd3
commit
8d90f50fa9
1 changed files with 7 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue