mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 13:24:34 +01:00
Update config
This commit is contained in:
@@ -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"];
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user