Distribute Platform Keys via Discord
Squire allows you to manage and distribute your game’s platform keys directly through Discord while linking redemptions to authenticated player accounts.
Prerequisites
Enabled platforms in Unified Player Accounts settings
Squire invited and configured in your Discord server
Create a Platform Keys Campaign
Platform Keys are distributed through campaigns. Each campaign is platform-specific and contains its own set of keys. For example:
Steam Early Access
PlayStation North America
PlayStation Europe
Create a Campaign
In the Web Console, navigate to Content Management and select Platform Keys.

Click Create Campaign and fill in the following fields:
Platform: Select the platform the keys apply to (Steam, Xbox, PlayStation, etc.).
Name: The campaign name displayed to Discord users when selecting a campaign.
Key: A unique identifier used when referencing the campaign in Discord commands.
Status: Toggle whether the campaign is active or inactive.
Available Keys: Paste keys (one per line) or upload a .txt or .csv file. These keys will be used exclusively for this campaign.

Distribute Keys in Discord
Once a campaign is active and keys have been uploaded, keys can be distributed through Discord.

Campaigns can be announced in any Discord channel to notify users that keys are available.
Announce via LootLocker
Click Announce Campaign when viewing the campaign in the Web Console and select which channel to announce the campaign in. This can be clicked as many times as you wish. Every time you click Announce, Squire will announce the campaign in the selected Discord channel.
Announce via Discord
In the desired Discord channel, use:
/campaign announce <campaign_key>
Claiming a Key in Discord
Players can redeem a key in one of two ways, either by clicking the Claim button in the campaign announcement, or by using the following command:
/redeem <platform>
Redemption Flow
Once a player clicks the Claim button or runs the /redeem command, the following steps will occur:
If multiple games exist in the same LootLocker organization, the player selects which game they want a key for.
If multiple campaigns exist for the selected game, the player selects a campaign.
The player is then prompted to login using their chosen platform via QR code or link.

Once authenticated, a key is generated and sent to the user as a Discord whisper. Each user can redeem one key per campaign.

Redemptions
The Redemptions tab shows all redeemed keys and player activity.

For each redemption, you can see:
Which key was redeemed
Redemption date
Last Seen status (most recent LootLocker session start)
Full player profile (via View Player)
This allows you to track not just who received keys, but who actually played your game.
Discord Commands
Available to Users with the Redemption Role
/redeem <platform> Start the key redemption flow. If multiple campaigns are active, the user selects one.
/keys View all keys previously redeemed by the Discord user.
Admin-Only Commands
/campaign enable <campaign_key> Enable a campaign.
/campaign disable <campaign_key> Disable a campaign.
/campaign announce <campaign_key> Announce a campaign in the current channel.
Conclusion
You now have created a Platform Key campaign and distrubted keys to your players. Next, you can add the LootLocker SDK to your game to track which players have actually played the game they recieved a key for.
Last updated
Was this helpful?
