This how-to connects a Twitch Drops campaign to LootLocker, so claimed Twitch rewards are automatically granted to players in your game.
Prerequisites
- An organization, game, and application in the Twitch Developer Console.
- Unified Player Accounts configured for your game — used to authenticate players during the Twitch account link process.
Configure Twitch Drops in the Web Console
Navigate to the Twitch Drops settings page in the Web Console and configure LootLocker for Twitch Drops.
Set Up a Drops Campaign in Twitch
In the Twitch Developer Console, create a new campaign, then set up its rewards and campaign settings.
Link Twitch Rewards to LootLocker Rewards
Navigate to the Twitch Rewards page in the Web Console and create a LootLocker reward for each reward you created on Twitch.
Handle Claimed Rewards In-Game
After a player claims a reward on Twitch, LootLocker automatically grants it to their account. Depending on the reward type, you may need extra logic in your game to use it:
- Assets: use the Asset system.
- Progression: use the Progression system.
- Currency: use the Currency system.
To notify players of a claimed reward in-game, implement LootLocker Notifications — the notification source is twitch_drop.
Conclusion
You've connected Twitch Drops to LootLocker, so players can link their Twitch account, claim rewards, and receive them automatically in your game.