Discord-Linker
MCLinker 的服务端插件/模组 —— 将你的 Minecraft 服务器与 Discord 连接的最简单方式。 无需创建自定义机器人或配置文件!
功能
- 聊天桥接 — 在 Minecraft 和 Discord 之间双向中继消息
- 玩家统计 — 从 Discord 查看玩家统计数据、进度和物品栏
- 命令执行 — 直接从 Discord 运行 Minecraft 命令,并支持 Tab 补全
- 服务器管理 — 从 Discord 封禁、踢出和管理玩家
- 账号绑定 — 将 Discord 账号与 Minecraft 玩家关联
- 状态频道 — 在 Discord 中显示实时在线玩家数量
- 同步角色 — 将 Discord 角色与 Minecraft 队伍或 LuckPerms 组别同步
- 控制台转发 — 将服务器控制台输出转发到 Discord 频道
设置
- 从 应用目录 或 Top.gg 邀请 MC Linker Discord 机器人
- 下载插件
- 将其安装到你的 Minecraft 服务器并重启
- 在 Discord 中运行
/connect plugin并按照说明操作 - 你现在可以在 Discord 中运行
/chatchannel add #channel来设置聊天桥接
游戏内命令
| 命令 | 描述 |
|---|---|
/linker reload |
重新加载配置并重新连接 |
/linker connect <code> |
将服务器连接到 Discord 机器人 |
/linker disconnect |
将服务器从 Discord 断开连接 |
/linker bot_port [port] |
获取或设置机器人端口(用于自定义机器人连接) |
/linker debug |
切换调试模式 |
/verify <code> |
验证你的 Minecraft 账号与 Discord 的关联 |
/discord |
获取 Discord 服务器的邀请链接 |
/dm <user> <message> |
向用户发送 Discord 私信(接受 Discord 用户名/id,或者如果已关联,则接受 MC 用户名/uuid) |
插件集成 (Hooks)
Discord-Linker 支持与流行的权限插件进行可选集成,以启用 同步角色 功能:
| Hook | 平台 | 描述 |
|---|---|---|
| LuckPerms | 所有平台 | 将 Discord 角色与 LuckPerms 组别同步。支持实时的组别变更事件。 |
| Vault | 仅限 Spigot | 将 Discord 角色与任何兼容 Vault 的权限插件的组别同步。 |
如果同时存在 LuckPerms 和 Vault,LuckPerms 具有优先权。当没有可用 Hook 时,将使用原版 Minecraft 队伍作为回退方案。
Discord 机器人命令
在 Discord 中运行 /help 以获取完整的命令列表,或查看 MC Linker 指南 了解更多详情。
Discord-Linker
The server-side plugin/mod for MC Linker — the easiest way to connect your Minecraft server with Discord. No custom bot creation or configuration files needed!
Features
- Chat Bridge — Relay messages bidirectionally between Minecraft and Discord
- Player Stats — View player statistics, advancements, and inventories from Discord
- Command Execution — Run Minecraft commands directly from Discord with tab completions
- Server Moderation — Ban, kick, and manage players from Discord
- Account Linking — Connect Discord accounts with Minecraft players
- Status Channels — Display live online player counts in Discord
- Synced Roles — Sync Discord roles with Minecraft teams or LuckPerms groups
- Console Forwarding — Forward your server console output to a Discord channel
Setup
- Invite the MC Linker Discord bot from the App Directory or from Top.gg
- Download the plugin
- Install it on your Minecraft server and restart
- Run
/connect pluginin Discord and follow the instructions - You can now run
/chatchannel add #channelin Discord to set up a chat bridge
In-Game Commands
| Command | Description |
|---|---|
/linker reload |
Reload configuration and reconnect |
/linker connect <code> |
Connect server to Discord bot |
/linker disconnect |
Disconnect server from Discord |
/linker bot_port [port] |
Get or set the bot port (for custom-bot connections) |
/linker debug |
Toggle debug mode |
/verify <code> |
Verify your Minecraft account with Discord |
/discord |
Get the Discord server invite link |
/dm <user> <message> |
Send a Discord DM to a user (accepts Discord username/id or, if linked, MC username/uuid) |
Plugin Integrations (Hooks)
Discord-Linker supports optional integrations with popular permission plugins to power the Synced Roles feature:
| Hook | Platform | Description |
|---|---|---|
| LuckPerms | All platforms | Sync Discord roles with LuckPerms groups. Supports live group change events. |
| Vault | Spigot only | Sync Discord roles with any Vault-compatible permission plugin's groups. |
If both LuckPerms and Vault are present, LuckPerms takes priority. Vanilla Minecraft teams are used as a fallback when neither hook is available.
Discord Bot Commands
Run /help in Discord for a full list of commands, or check the MC Linker Guide for more details.
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
下载 Discord-Linker
- 支持 26.3
- 新增对 Fabric 和 NeoForge 上 Minecraft 26.2 的支持
- 恢复 Fabric 和 NeoForge 的 1.21/1.21.1 构建版本
- 修复在 26.1 及更高版本中世界文件夹被错误检测的问题,此前主世界会被移入维度子文件夹
- 修复服务器版本号附带了构建后缀(例如
26.1.2.build.53)的问题 - 修复私有玩家命令通过聊天桥接转发的问题
- 修复在 26.1 及更高版本中聊天消息颜色未正确转换的问题
- 重连 Discord 机器人时现在采用逐步退避策略,而非以固定速率重试
- 更新 LuckPerms 集成至 API 5.5
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧