▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/dclink
dclink

dclink

Minecraft Plugin for linking Minecraft Accounts with Discord Accounts using a Discord Bot

1.3K
10

DCLink

DCLink is a Minecraft plugin that enables you to link your Minecraft 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 Minecraft accounts.

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

Compatibility

DCLink is compatible with Geyser & Floodgate, so Bedrock players can use the same auth system as Java players.

Commands

CommandDescriptionPermissionsPlatform
/discord (player)Sends you the linked Discord Accountdclink.command.discordMinecraft
/unlink [player]Remove link between the Minecraft account and Discorddclink.command.unlinkMinecraft
/alts [player]Shows alternative accounts linked with the same Discord accountdclink.command.altsMinecraft
/linkSends you your linking Code (Is only registered if require-link is off)dclink.command.linkMinecraft
/link [discordAccount] [minecraftAccount]Manually links a Discord account with the given Minecraft AccountCan be changed in Discords Integration settings (Default: Only Admins)Discord
/unlink [minecraftAccount] (discordAccount)Removes all (or the specified) linked Minecraft Account(s) with the given Discord AccountCan be changed in Discords Integration settings (Default: Only Admins)Discord
/lookup discord [discordAccount]Shows all linked Minecraft AccountsCan be changed in Discords Integration settings (Default: Only Admins)Discord
/lookup minecraft [minecraftName]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. Add the Bot to your Discord guild (with the applications.commands scope) and give it permission to Pin Messages & Send Messages.

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

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x1.15.x1.14.x1.13.x1.12.x1.11.x1.10.x1.9.x1.8.x1.7.x

Детали

Лицензия:MIT
Опубликован:2 года назад
Обновлён:1 месяц назад
Главная