From 2cbfddaa149bb589f4d1f83ffa70358d43d43c43 Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Thu, 26 Jun 2025 17:08:27 -0400 Subject: [PATCH] Log public id (#1278) ## Description: Log player public id to the console. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors --- src/client/Main.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/Main.ts b/src/client/Main.ts index 8cc6788d8..684881255 100644 --- a/src/client/Main.ts +++ b/src/client/Main.ts @@ -203,6 +203,10 @@ class Client { logoutDiscordButton.hidden = true; return; } + console.log( + `Your player ID is ${userMeResponse.player.publicId}\n` + + "Sharing this ID will allow others to view your game history and stats.", + ); loginDiscordButton.translationKey = "main.logged_in"; loginDiscordButton.hidden = true; const { user, player } = userMeResponse;