initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
namespace Crysome.Server.Data;
|
||||
|
||||
public class ServerSettings
|
||||
{
|
||||
public int Port { get; set; } = 7777;
|
||||
|
||||
public int QuicPort { get; set; } = 7778;
|
||||
|
||||
public bool KeepAlive { get; set; } = true;
|
||||
|
||||
public int KeepAliveInterval { get; set; } = 15000;
|
||||
|
||||
public int InfoPollInterval { get; set; } = 3000;
|
||||
|
||||
public int MaxEndpoints { get; set; }
|
||||
|
||||
public int MaxSendFileSizeMB { get; set; } = 150;
|
||||
|
||||
public bool NotifyConnect { get; set; } = true;
|
||||
|
||||
public bool NotifyDisconnect { get; set; } = true;
|
||||
|
||||
public bool LogPaused { get; set; }
|
||||
|
||||
public bool LogToFile { get; set; }
|
||||
|
||||
public bool TelegramEnabled { get; set; }
|
||||
|
||||
public string TelegramToken { get; set; } = "";
|
||||
|
||||
public string TelegramChatId { get; set; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user