#Get players info from server client
1 messages · Page 1 of 1 (latest)
Or i can do it through Cloudcode
So you essentially want to use this api on a server? https://services.docs.unity.com/player-auth/v1/#tag/Player-Authentication/operation/GetPlayer
Yes, i think would be nice to have it, i make you an example:
I'm making a card game with 1v1 battle on dedicated server, on the battleground the players' name are displayed. But at that moment i realized that i can not retrieve players information on the server, i need to pass the information when the client connects or use cloud code to retrieve the information
At least a way to get the play name
I think the player info you can just use the game client. It's an operation that does not require authorization. I haven't tested this though yet.
For player names, that's a really good point. I'll add it for the server client
I will likely be able to get a new version out tomorrow with some changes including the player names added to the Server & Trusted clients
Sorry man i just used the GetPlayerNames API but it gaves me these names, i never saw them, what are they?, they are not the account names
I thought it was getting players account names