← Назад к ресурсам

dclink

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

Modrinth management social utility

Описание

# 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 | Command |Description |Permissions |Platform | | -------------------------------------- |-------------------------------------------------------------------------------------- |---------------------------------------------------------------------- |-------- | | /discord (player) |Sends you the linked Discord Account |dclink.command.discord |Minecraft | | /unlink [player] |Remove link between the Minecraft account and Discord |dclink.command.unlink |Minecraft | | /alts [player] |Shows alternative accounts linked with the same Discord account |dclink.command.alts |Minecraft | | /link |Sends you your linking Code (Is only registered if require-link is off) |dclink.command.link |Minecraft | | /link \[discordAccount\] \[minecraftAccount\] |Manually links a Discord account with the given Minecraft Account |Can 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 Account |Can be changed in Discords Integration settings (Default: Only Admins) |Discord | | /lookup discord [discordAccount] |Shows all linked Minecraft Accounts |Can 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](https://discord.com/developers/applications) 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.