Virtual Currencies #
Define any number of currencies to be used in your game. Each currency can be either soft or hard currency. Soft currency is currency that can be obtained by the player through gameplay, and hard currency is currency that can be obtained by the player through real money purchases.
New players can be initialized with a set number of each currency, if desired, and currencies can be granted as part of a reward.
Customization parameters #
The following JSON represents the customization parameters you can use to initialize user’s currencies.
|
|
Initialize User #
Property | Type | Description |
---|---|---|
currencies | string:int64 | A map of currency IDs and quantities that a user account should be created with. |
items | string:int64 | A map of item IDs and quantities that a user account should be created with. |