Hola, me gustaría saber cómo hacer un sistema de moderador. Tengo mi aplicación con usuarios y quiero crear otro proyecto en unidad para no comprometer el acceso a la moderación. ¿Cómo puedo cambiar las estadísticas del jugador que quiero / elijo en la unidad?
,
Hello, I would like to know how to make a moderator system. I have my application with users and I want to create another project in unity so as not to compromise access to moderation. How can I change the statistics of the player I want / choose in unit
Answer by Sarah Zhang · Nov 17, 2020 at 06:19 AM
Could you please provide the detailed application scenario about the moderation system? Do you mean you want to make an administrative tool using Unity to update the player’s statistics? If so, you can call the PlayFab Server API method UpdatePlayerStatistics to achieve this feature. To call the Server API on Unity, you need to enable Ssrver API on the PlayFab Unity Extension first. Then you can provide the specific player’s PlayFabId and the corresponding StatisticName and Value to this API to update the player’s statistics.