diff --git a/MultiClient.py b/MultiClient.py index 32d3535b..dad4b70d 100644 --- a/MultiClient.py +++ b/MultiClient.py @@ -676,6 +676,10 @@ async def process_server_cmd(ctx : Context, cmd, args): logging.info("Server protocol tags: " + ", ".join(args["tags"])) if args['password']: logging.info('Password required') + if "forfeit_mode" in args: # could also be version > 2.2.1, but going with implicit content here + logging.info("Forfeit setting: "+args["forfeit_mode"]) + logging.info("Remaining setting: "+args["remaining_mode"]) + logging.info(f"A !hint costs {args['hint_cost']} points and you get {args['location_check_points']} for each location checked.") if len(args['players']) < 1: logging.info('No player connected') else: diff --git a/MultiServer.py b/MultiServer.py index 9f0f1bbb..8d293b1d 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -250,7 +250,11 @@ async def on_client_connected(ctx: Context, client: Client): # tags are for additional features in the communication. # Name them by feature or fork, as you feel is appropriate. 'tags': ['Berserker'], - 'version': Utils._version_tuple + 'version': Utils._version_tuple, + 'forfeit_mode': ctx.forfeit_mode, + 'remaining_mode': ctx.remaining_mode, + 'hint_cost' : ctx.hint_cost, + 'location_check_points': ctx.location_check_points }]]) async def on_client_disconnected(ctx: Context, client: Client):