promotional bannermobile promotional banner

DCLink

Whitelist plugin for Hytale and Discord that enables players to link their accounts. An integrated Discord bot is used to authenticate users and grant whitelist access.

DCLink (Hytale)

DCLink is a Hytale plugin that enables you to link your Hytale and Discord accounts on a server. By default, only linked accounts can join, meaning players need a Discord account to play on the server.

Players only need to authenticate when they first join; after that, they are added to a local SQLite database.

As defined in the configuration file, a Discord account can be linked to one or more Hytale accounts.

There are lookup commands both in-game and on Discord to see which players are linked to which Discord accounts, and vice versa.

Commands

Command Description Permissions Platform
/discord (player) Sends you the linked Discord Account dclink.command.discord Hytale
/unlink [player] Remove link between the Hytale account and Discord dclink.command.unlink Hytale
/alts [player] Shows alternative accounts linked with the same Discord account dclink.command.alts Hytale
/link Sends you your linking Code (Is only registered if require-link is off) dclink.command.link Hytale
/link [discordAccount] [hytaleAccount] Manually links a Discord account with the given Hytale Account Can be changed in Discords Integration settings (Default: Only Admins) Discord
/unlink discordAccount Removes all (or the specified) linked Hytale Account(s) with the given Discord Account Can be changed in Discords Integration settings (Default: Only Admins) Discord
/lookup discord [discordAccount] Shows all linked Hytale Accounts Can be changed in Discords Integration settings (Default: Only Admins) Discord
/lookup Hytale [HytaleName] Shows the linked Discord Account (if any account is linked) Can be changed in Discords Integration settings (Default: Only Admins) Discord

Bot Setup

  1. Go to Discord's Developer Portal and create a new Application

  2. Click on Bot and create a new Bot (Click on Reset Token to get the token and put it into the config file)

  3. Enable Server Member's Intent and Message Content Intent

  4. Create an Invite URL with the following settings and add the Bot to your server. screenshot

  5. Create/Select a Channel where the Bot should post its message. Copy the Channel's ID and put it into the config.

Done :)

The DCLink Team

profile avatar
  • 2
    Followers
  • 1
    Projects
  • 239
    Downloads