From: Bilibili_MengChu <2133404320@qq.com> Date: Fri, 9 Aug 2024 07:28:44 +0000 (+0800) Subject: Delete full-config-example.json and merge it into config.json X-Git-Tag: v1.10.0~12 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=cfa66fa5cbd23ee3e9db16f3a69a1f07809e23a0;p=rhonda%2Fimpostor.git Delete full-config-example.json and merge it into config.json --- diff --git a/src/Impostor.Server/config.json b/src/Impostor.Server/config.json index a26a7b1..0a93548 100644 --- a/src/Impostor.Server/config.json +++ b/src/Impostor.Server/config.json @@ -1,4 +1,4 @@ -{ +{ "Server": { "PublicIp": "127.0.0.1", "PublicPort": 22023, @@ -12,6 +12,28 @@ }, "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 index 0a93548..0000000 --- a/src/Impostor.Server/full-config-example.json +++ /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": "" - } -}