Stuck in a loop when trying to populate a leaderboard with Firebase

Hi everyone,

I’m hoping someone can help me -

I’m a complete beginner to Gdevelop, but I have been developing a simple game for work. The user plays as an elf who runs around a virtual office collecting objects, which are worth points. The user with the highest points wins.

I have managed to develop a low-res, basic version of this. I willl revisit it later to make the graphics look nice, but I wanted to get the logic correct first.

My issue is with generating leaderboards. I have (sort of) figured out how to use in built-in leaderboard within Gdevelop, but this doesn’t record the username that the player enters within the game. Additionally, I need to record, but not display, email addresses.

The Score and Timer are generated with Global Variables. There is a Text Input Object for the user to enter the name they want in the leaderboard (PlayerName_Entry) and another for email (PlayerEmail_Entry). I want the leaderboard to auto-populate using the player’s score, time, custom name and email address.

I’ve been advised (by AI) that Firebase would be best for this as you can’t store email addresses in the build-in version. However, I’m really struggling with this. I keep going around in circles. I have created the Firebase database and added the ADK key to my properties, but I am stuck on where to go from here. I also DO NOT want the user to have to log in - is this possible?

AI also suggests trying PlayFab but there seems to be even less guidance on this.

Please can someone advise on how to do this? I’m really lost and confused. Screenshots attached of my code for reference.

I have published the first draft of the game for context but can’t add this to my post.