Hi, Guys.
I'm wondering the best way to add user virtual currency.
Should i use Cloud Script or just use built-in function (AddVirtualCurrency) from Playfab Client API?
Thankyou!
Hi, Guys.
I'm wondering the best way to add user virtual currency.
Should i use Cloud Script or just use built-in function (AddVirtualCurrency) from Playfab Client API?
Thankyou!
The reason the Client API call is de-activated by default is because the majority of games need their virtual currency to be secure from cheating. Turning on that API gives the client control over the VC balance, making it trivial for a hacker to cheat. So in general, we recommend only updating VC as a result of the PurchaseItem API call and server authoritative actions (like Cloud Script that you've written adequate cheat checks into).
2 People are following this question.
How to use Economy v2 on legacy CloudScript?
Virtual Currency subtract / add cause recalculation of the recharge rate
Grant Items from Azure on Economy V2
Is there a way to get the number of the revoked items in the player's inventory?
Reward certain amount of virtual currency to the user after game