]> git.deb.at Git - rhonda/impostor.git/commitdiff
Delete full-config-example.json and merge it into config.json
authorBilibili_MengChu <2133404320@qq.com>
Fri, 9 Aug 2024 07:28:44 +0000 (15:28 +0800)
committerminiduikboot <mini@duikbo.at>
Sat, 10 Aug 2024 16:50:57 +0000 (18:50 +0200)
src/Impostor.Server/config.json
src/Impostor.Server/full-config-example.json [deleted file]

index a26a7b1d8d630e25a7559be10414c876815a1806..0a93548fb7cb78494dd9b291f065aeb157b26463 100644 (file)
@@ -1,4 +1,4 @@
-{
+{
   "Server": {
     "PublicIp": "127.0.0.1",
     "PublicPort": 22023,
   },
   "AntiCheat": {
     "Enabled": true,
-    "BanIpFromGame": true
+    "BanIpFromGame": true,
+    "AllowCheatingHosts": "Never",
+    "EnableGameFlowChecks": true,
+    "EnableMustBeHostChecks": true,
+    "EnableColorLimitChecks": true,
+    "EnableNameLimitChecks": true,
+    "EnableOwnershipChecks": true,
+    "EnableRoleChecks": true,
+    "EnableTargetChecks": true,
+    "ForbidProtocolExtensions": true
+  },
+  "Timeout": {
+    "SpawnTimeout": 2500,
+    "ConnectionTimeout": 2500
+  },
+  "Compatibility": {
+    "AllowFutureGameVersions": false,
+    "AllowHostAuthority": false,
+    "AllowVersionMixing": false
+  },
+  "Debug": {
+    "GameRecorderEnabled": true,
+    "GameRecorderPath": ""
   }
 }
diff --git a/src/Impostor.Server/full-config-example.json b/src/Impostor.Server/full-config-example.json
deleted file mode 100644 (file)
index 0a93548..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-{
-  "Server": {
-    "PublicIp": "127.0.0.1",
-    "PublicPort": 22023,
-    "ListenIp": "0.0.0.0",
-    "ListenPort": 22023
-  },
-  "HttpServer": {
-    "Enabled": true,
-    "ListenIp": "0.0.0.0",
-    "ListenPort": 22023
-  },
-  "AntiCheat": {
-    "Enabled": true,
-    "BanIpFromGame": true,
-    "AllowCheatingHosts": "Never",
-    "EnableGameFlowChecks": true,
-    "EnableMustBeHostChecks": true,
-    "EnableColorLimitChecks": true,
-    "EnableNameLimitChecks": true,
-    "EnableOwnershipChecks": true,
-    "EnableRoleChecks": true,
-    "EnableTargetChecks": true,
-    "ForbidProtocolExtensions": true
-  },
-  "Timeout": {
-    "SpawnTimeout": 2500,
-    "ConnectionTimeout": 2500
-  },
-  "Compatibility": {
-    "AllowFutureGameVersions": false,
-    "AllowHostAuthority": false,
-    "AllowVersionMixing": false
-  },
-  "Debug": {
-    "GameRecorderEnabled": true,
-    "GameRecorderPath": ""
-  }
-}