diff --git a/Common/Configuration/ConfigContainer.cs b/Common/Configuration/ConfigContainer.cs index 0b440d9..5b3e1bc 100644 --- a/Common/Configuration/ConfigContainer.cs +++ b/Common/Configuration/ConfigContainer.cs @@ -52,8 +52,6 @@ public class PathConfig public class ServerOption { - public bool EnableMission { get; set; } = false; - public string DefaultGender { get; set; } = "Woman"; public string Language { get; set; } = "EN"; public string FallbackLanguage { get; set; } = "EN"; public string[] DefaultPermissions { get; set; } = ["Admin"]; diff --git a/Config/Config.json b/Config/Config.json index d9b6ffa..31c3009 100644 --- a/Config/Config.json +++ b/Config/Config.json @@ -2,23 +2,16 @@ "HttpServer": { "BindAddress": "0.0.0.0", "PublicAddress": "127.0.0.1", - "Port": 619, - "UseSSL": true - }, - "Key": { - "KeyStoreFile": "FireflyDH.pfx", - "KeyStorePassword": "lethe", - "Ec2bKeyFile": "ClientSecretKey.ec2b" + "Port": 80 }, "GameServer": { "BindAddress": "0.0.0.0", "PublicAddress": "127.0.0.1", - "Port": 2007, + "Port": 21000, "KcpAliveMs": 45000, - "DatabaseName": "firefly.db", - "GameServerId": "FireflyDH", - "GameServerName": "FireflyDH", - "UsePacketEncryption": true + "DatabaseName": "kiana.db", + "GameServerId": "KianaBH", + "GameServerName": "KianaBH" }, "Path": { "ResourcePath": "Resources", @@ -26,23 +19,14 @@ "DatabasePath": "Config/Database", "HandbookPath": "Config/Handbook", "LogPath": "Config/Logs", - "KeyPath": "Config/Keys", "DataPath": "Config/Data" }, "ServerOption": { - "EnableMission": false, - "DefaultGender": "Woman", "Language": "EN", "FallbackLanguage": "EN", - "Region": "BETAOVERSEA", "DefaultPermissions": [ "Admin" ], - "ServerBanner": { - "EnableBanner": true, - "Content": "Welcome to FireflyDH!", - "AdminContent": "Welcome to FireflyDH (Admin Access)!" - }, "ServerProfile": { "Name": "Server", "Uid": 80, @@ -54,11 +38,11 @@ "DisplayAvatarLevel": 1 }, "AutoCreateUser": true, - "UseRealPassword": true, "SavePersonalDebugFile": false, - "UseCache": true - }, - "MuipServer": { - "AdminKey": "8f52aa3f-ad56-4d48-acc8-651151e4d989" + "AutoSendResponseWhenNoHandler": false, + "EnableDebug": true, + "DebugMessage": true, + "DebugDetailMessage": true, + "DebugNoHandlerPacket": true } } \ No newline at end of file diff --git a/KianaBH/Program/KianaBH.cs b/KianaBH/Program/KianaBH.cs index f923eb4..ed91535 100644 --- a/KianaBH/Program/KianaBH.cs +++ b/KianaBH/Program/KianaBH.cs @@ -51,8 +51,6 @@ public class KianaBH var elapsed = DateTime.Now - time; Logger.Info(I18NManager.Translate("Server.ServerInfo.ServerStarted", Math.Round(elapsed.TotalSeconds, 2).ToString(CultureInfo.InvariantCulture))); - if (ConfigManager.Config.ServerOption.EnableMission) - Logger.Warn(I18NManager.Translate("Server.ServerInfo.MissionEnabled")); } # region Exit