Knowledge Base / Account Linking / Discord Account Linking
Account Linking · 2 min read

Discord Account Linking

Discord is the most popular linking provider on Servycore. Players verify their identity and receive automatic roles and in-game rewards.

Prerequisites

  • A Discord server where your community is active
  • The Servycore Discord bot added to your server
  • Admin access to your Servycore project

Configuration

Navigate to Panel > Your Project > Providers > Discord.

Discord Provider Settings

Required Settings

Setting Description
Discord Guild ID Your Discord server's ID. Enable Developer Mode in Discord, right-click your server name, and click "Copy Server ID"
Discord Role ID The role to assign to linked members. Right-click the role in Server Settings > Roles and click "Copy Role ID"

Optional Settings

Setting Description
Auto-assign Role Automatically give the configured role when a player links their Discord
Check Guild Membership Verify the player is actually in your Discord server
Check Server Booster Verify if the player is boosting your Discord server

How It Works for Players

  1. A player visits your project page and clicks Link Discord
  2. They authorize with their Discord account via OAuth2
  3. Servycore verifies they are in your Discord server (if enabled)
  4. The configured role is automatically assigned (if enabled)
  5. Any linked auth commands are executed on your game servers

Important Notes

  • The Servycore bot's role must be higher in the Discord role hierarchy than the roles it assigns
  • If you change the role ID, existing players won't be updated until their next verification
  • Unlinking removes the assigned role and triggers deauth commands