Skip to content

Distribute Platform Keys Via Discord

This how-to creates a Platform Keys campaign in the Web Console and distributes and redeems keys through Discord. Redemptions are automatically linked to authenticated Player accounts.

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

In the Web Console, select Platform Keys from the Content Management menu.

Platform Keys option in the Content Management menu

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 are used exclusively for this campaign.
Create Campaign form with Platform, Name, Key, Status, and Available Keys fields

Once a campaign is active and keys have been uploaded, you can distribute keys through Discord.

Platform Keys campaign announcement posted in a Discord channel

You can announce a campaign in any Discord channel to notify users that keys are available.

Click Announce Campaign when viewing the campaign in the Web Console and select which channel to announce the campaign in. You can click this as many times as you want — every time you click Announce, Squire announces the campaign in the selected Discord channel.

In the desired Discord channel, use:

/campaign announce <campaign_key>

Players can redeem a key either by clicking the Claim button in the campaign announcement, or by using the /redeem <platform> command.

Once a player clicks Claim or runs /redeem, the following happens:

  1. If multiple games exist in the same LootLocker organization, the player selects which game they want a key for.
  2. If multiple campaigns exist for the selected game, the player selects a campaign.
  3. The player is prompted to log in using their chosen platform via QR code or link.
Player authentication flow via QR code or link when redeeming a key

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

Redeemed key delivered to the player as a Discord whisper

The Redemptions tab shows all redeemed keys and player activity.

Redemptions tab showing redeemed keys and player activity

For each redemption, you can see:

  • Which key was redeemed
  • The redemption date
  • Last Seen status (the Player's most recent session start)
  • The full Player profile (via View Player)

This lets you track not just who received keys, but who actually played your game.

Available to Users with the Redemption Role

Section titled “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.
  • /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.

You've created a Platform Keys campaign and distributed keys to your players through Discord. Next, add the LootLocker SDK to your game to track which players have actually played the game they received a key for and how long they've played.