Economy Requiring Internet

Does the Economy need internet at all times on the user end?

Economy is a Cloud Based service, so the player will need to be connected to download configuration data or update player inventory or currency data.

If you are intending to allow players to play offline, or manage drops in connectivity gracefully, you will want to implement your own caching of configuration and player currency, inventory state, then update Economy the next time the player has connectivity.

Related to this, depending on the type of game you are creating, there are some scenarios where caching the player inventory locally and making periodic updates might be a useful way of reducing the number of network requests. For example, a player running around a field harvesting crops, making a network call each time they pickup a carrot, would generate a lot of Economy network calls. But, the number of calls could be reduced by caching the inventory, using instance data for stacking and periodically updating the Economy state. We are investigating if we can add batch commands to allow you to combine multiple economy operations in a singe command for these types of use cases.

I hope that helps.

1 Like