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!
Answer by Brendan · Aug 04, 2020 at 12:28 AM
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).
Reward certain amount of virtual currency to the user after game 2 Answers
CustomData in Catalog and ItemInstances Questions 1 Answer
Is there a way to get Limited Edition Count Available from server or client API? 1 Answer
Getting item,How to get ItemInstanceId in GrantItemsToUse 1 Answer
Is there a way to get the number of the revoked items in the player's inventory? 1 Answer