diff --git a/docs/Server-configuration.md b/docs/Server-configuration.md index 4d4c0d60..5a9a4eb0 100644 --- a/docs/Server-configuration.md +++ b/docs/Server-configuration.md @@ -1,6 +1,6 @@ # Server configuration -Some information about all the possible configurations. Click [here](https://github.com/Impostor/Impostor/blob/master/src/Impostor.Server/config-full.json) to see all the possible config options. +Some information about all the possible configurations. Click [here](https://github.com/Impostor/Impostor/blob/master/src/Impostor.Server/full-config-example.json) to see all the possible config options. ## Options @@ -39,7 +39,6 @@ Impostor has an Anticheat that makes it possible to kick cheaters from games aut | **EnableOwnershipChecks** | `true` | Enables checks that check if players are allowed to perform a certain action on themself or another player. | | **EnableRoleChecks** | `true` | Enables checks that check if players have the correct role when performing certain role abilities like venting or murdering. | | **EnableTargetChecks** | `true` | Enables checks that check if certain packets to everyone that should only have been sent to certain players or vice versa. This includes sending votes or network objects. | - | **ForbidProtocolExtensions** | `true` | If disabled allows players to send network packets that go beyond the network packets sent by the vanilla game. This is necessary for most mods that need all players to install it. | ### Compatibility @@ -99,7 +98,7 @@ Other Serilog sinks are also supported, but are out of scope for this documentat ### File -The simplest option to configure is by using the `config.json` file next to the server executable. For all possible options see the [config-full.json](https://github.com/Impostor/Impostor/blob/dev/src/Impostor.Server/config-full.json) file. +The simplest option to configure is by using the `config.json` file next to the server executable. For all possible options see the [full-config-example.json](https://github.com/Impostor/Impostor/blob/master/src/Impostor.Server/full-config-example.json) file. ### Environment variables diff --git a/src/Impostor.Server/config-full.json b/src/Impostor.Server/full-config-example.json similarity index 60% rename from src/Impostor.Server/config-full.json rename to src/Impostor.Server/full-config-example.json index 83625b13..f24570e8 100644 --- a/src/Impostor.Server/config-full.json +++ b/src/Impostor.Server/full-config-example.json @@ -12,7 +12,16 @@ }, "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,