MultiServer/WebHost: rename all references to forfeit and deprecate it (#1243)

* Webhost: rename all references to forfeit and deprecate it

* needed some renames in multiserver for all the commands to function

* remove forfeit commands

* support forfeit_mode for clients

* rename `forfeit_player` to `release_player`
This commit is contained in:
alwaysintreble
2023-01-02 12:29:21 -06:00
committed by GitHub
parent d899e918b4
commit 72fa19ee1f
4 changed files with 48 additions and 54 deletions

View File

@@ -33,7 +33,7 @@ def get_meta(options_source: dict) -> dict:
server_options = {
"hint_cost": int(options_source.get("hint_cost", 10)),
"forfeit_mode": options_source.get("forfeit_mode", "goal"),
"release_mode": options_source.get("release_mode", "goal"),
"remaining_mode": options_source.get("remaining_mode", "disabled"),
"collect_mode": options_source.get("collect_mode", "disabled"),
"item_cheat": bool(int(options_source.get("item_cheat", 1))),