accessing player name in Python AZNB
When I try to access player names using world.players I get a restricted output involving the bound method.
I only have one player in the world.
Is there a way for me to get the name of the player in Python AZNB? I know I can use /list, but there is no way to transfer the info into Python
Please and thanks.
-
Bumpity bump, Andrew-L =]
0 -
Hey, Micah-M
I am wanting some way to access the person's name who is playing the game.
What is available to me? I can use world.player, but I cannot handle the data it gives me.
Please and thanks!
0 -
Dominick are you familiar with this? I am getting down to $name and other values but I am hoping to get a string with whatever player is playing the game. (I am working in Notebooks)
0 -
I am not sorry. Ill ping Justin to see if he might.
0 -
Hey Debbie Alexander, sorry we've missed this post for so long! I'll send this to our test team right now and see if they know.
0 -
Debbie Alexander Our team mentioned that
player._key
returns a string of the player's in-game name. I hope that helps!1 -
Happy Dance!!! Thank you!!!
0
Please sign in to leave a comment.
Comments
7 comments