Game Overrides
Use Game Overrides with the Economy SDK to show different configurations to different player audiences.
Read time 1 minuteLast updated 6 months ago
Game Overrides in Economy allow you to make changes to your Economy configuration for groups of players, schedule changes, and A/B test them, without releasing new versions of your game.
This documentation covers how to interact with Game Overrides using the Economy SDK.
Game Overrides in the Economy SDK
Game Overrides uses a configuration assignment hash to tell Economy which configuration to show a player, depending on which audience they fall into. The SDK predominately handles this for you: when you fetch your Economy configuration (for example, using ), the Economy SDK automatically stores the most recent configuration assignment hash for that player.
GetCurrenciesAsync()On initialization, you must call one of the fetch configuration methods (for example, ) before using the methods in the , , or namespaces to populate the configuration assignment hash in the SDK.
GetCurrenciesAsync()PlayerBalancesPlayerInventoryPurchasesFuture calls to Economy use this hash to get the correct Economy configuration for the player.
To fetch an updated configuration assignment hash, fetch your configuration again.
Accessing the configuration assignment hash
Please refer to Config Caching