From 2de08da14df8b6a7db51067690f67fddb3db4baf Mon Sep 17 00:00:00 2001 From: miniduikboot Date: Sun, 28 Aug 2022 18:02:38 +0200 Subject: [PATCH] Add documentation for the compatibility options --- docs/Server-configuration.md | 9 +++++++++ src/Impostor.Server/config-full.json | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/docs/Server-configuration.md b/docs/Server-configuration.md index 056adc6..5acc343 100644 --- a/docs/Server-configuration.md +++ b/docs/Server-configuration.md @@ -22,6 +22,15 @@ Impostor has an Anticheat that makes it possible to kick cheaters from games aut | **Enabled** | `true` | Whether the anticheat should be enabled. | | **BanIpFromGame** | `true` | When anticheat is enabled and a player is caught hacking, they will be kicked from the server. If this value is set to `true`, the player will be banned instead and will not be able to rejoin that specific game. | +### Compatibility + +Impostor has two compatibility options which allow some extra flexibility but may not work properly. Enabling either of these options is not recommended. + +| Key | Default | Value | +| ------------------------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| **AllowNewGameVersions** | `false` | Warning: Setting this option to `true` is unsupported and may cause issues when large updates to Among Us are released. Allow future versions of Among Us to join your server. | +| **AllowVersionMixing** | `false` | Allow players using different game versions to play in one lobby. | + ### Debug The Debug configuration is used to enable the game recorder. This is mostly useful when developing Impostor. diff --git a/src/Impostor.Server/config-full.json b/src/Impostor.Server/config-full.json index 8334aae..5e583fb 100644 --- a/src/Impostor.Server/config-full.json +++ b/src/Impostor.Server/config-full.json @@ -23,6 +23,10 @@ } ] }, + "Compatibility": { + "AllowFutureGameVersions": false, + "AllowVersionMixing": false + }, "Debug": { "GameRecorderEnabled": true, "GameRecorderPath": "" -- 2.39.5