This commit is contained in:
tyuXX 2026-10-10 16:40:35 +00:00
commit f25ba8adcd
64 changed files with 5959 additions and 0 deletions

View file

@ -0,0 +1,16 @@
namespace GsDChat.Server.Configuration;
public class ServerOptions
{
public string Host { get; set; } = "0.0.0.0";
public int Port { get; set; } = 5000;
public bool UseTls { get; set; } = false;
public string? CertificatePath { get; set; }
public string? CertificatePassword { get; set; }
public string? ServerWidePassword { get; set; }
public string RegistrationMode { get; set; } = "Open"; // Open or InviteOnly
public string DataDirectory { get; set; } = "data";
public long MaxFileSizeMb { get; set; } = 50;
public string ServerName { get; set; } = "GsDChat Community Server";
public string Motd { get; set; } = "Welcome to GsDChat! Enjoy private, modular messaging.";
}