add more room info

This commit is contained in:
Fabian Dill
2020-05-30 11:36:59 +02:00
parent 10bced3d68
commit 0cb80eadf1
2 changed files with 9 additions and 1 deletions

View File

@@ -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: