
FoDiscordBot 通过账号绑定、可配置的奖励、个人资料嵌入、排行榜、聊天中继、加速者奖励、等级角色同步以及用于多模式服务器的网络模式 MySQL 存储,将 Minecraft 和 Discord 连接起来。
功能
- 使用安全的游戏内代码关联 Minecraft 和 Discord 账号。
- 通过共享的 MySQL/MariaDB 存储,在一个 Discord 机器人中跨多个游戏模式服务器运行。
- 按游戏模式向已绑定的玩家发放奖励,并拥有领取追踪功能以防止解绑滥用。
- 使用 PlaceholderAPI 值显示可配置的 Discord
/profile(个人资料)嵌入内容。 - 从可配置的 PlaceholderAPI 行显示 Discord
/leaderboard(排行榜)嵌入内容。 - 将 Minecraft 聊天中继到 Discord,包含玩家名称、游戏模式标签和皮肤头像。
- 通过游戏内配置编辑器管理常规设置,而无需手动编辑每个值。


Discord 个人资料与聊天
在 Discord 中使用 /profile 命令显示已绑定的 Minecraft 玩家、在线状态以及任何基于 PlaceholderAPI 配置的字段。

Minecraft 聊天也可以中继到 Discord,并附带玩家的游戏内名称和皮肤头像。

网络模式
- 在所有游戏模式中共享已绑定的账号。
- 在整个网络中,确保一个 Minecraft 账号和一个 Discord 账号仅绑定一次。
- 通过 MySQL/MariaDB 同步个人资料、排行榜、FoAdvancements、加速者和奖励状态。
- 使用一个主要的 Discord 节点,而次要服务器则持续发布数据。
- 通过共享数据库队列处理跨服务器的 Minecraft 聊天中继消息。
命令
/discord- 显示配置好的 Discord 邀请链接。/link- 生成 Minecraft 账号绑定代码。/unlink- 解除玩家的 Discord 账号绑定。/fodiscordbotadmin version- 检查已安装版本与 Modrinth 上的版本差异。/fodiscordbotadmin editor- 打开游戏内配置编辑器。/fodiscordbotadmin reload- 重载插件配置。/fodiscordbotadmin resetrewards <linked|booster> <player|all> [gamemode]- 重置绑定或加速者奖励的领取状态。
别名:/discordbotadmin、/fodiscord 和 /fodiscordbot。
Discord 命令
/link <code>- 将 Discord 账号绑定到 Minecraft 账号。/unlink- 解除 Discord 账号绑定。/profile <target> <gamemode>- 显示可配置的 Minecraft 个人资料嵌入内容。/leaderboard <gamemode> <board>- 显示配置好的排行榜嵌入内容。/advancements <gamemode> <player>- 当启用钩子时,显示 FoAdvancements 进度。/ip- 当启用时,显示配置好的服务器 IP。
权限
fodiscord.use- 允许普通玩家使用/link、/unlink和/discord。fodiscordbot.admin- 允许管理员使用 FoDiscordBot 的管理员命令。fodiscord.admin- 为旧版设置保留的传统管理员权限。
FoAdvancements 钩子
FoDiscordBot 可以通过 /advancements <gamemode> <player> 直接在 Discord 中显示 FoAdvancements 的进度。该嵌入内容包括总进度、积分、选项卡摘要、每页选项卡内容以及用于在概览页和成就页之间切换的按钮。
在网络模式下,游戏模式服务器可以将 FoAdvancements 快照发布到 MySQL,以便主要的 Discord 节点能够从共享数据中响应查询请求。

依赖项
- PlaceholderAPI 是可选的,但需要它来支持基于 PlaceholderAPI 的个人资料字段和排行榜行。
- FoAdvancements 是可选的,但需要在希望发布成就进度的游戏模式服务器上安装。
- 仅在启用网络模式时才需要 MySQL/MariaDB。

FoDiscordBot connects Minecraft and Discord with account linking, configurable rewards, profile embeds, leaderboards, chat relay, booster rewards, rank role sync, and network-mode MySQL storage for multi-gamemode servers.
Features
- Link Minecraft and Discord accounts with secure in-game codes.
- Run one Discord bot across multiple gamemode servers through shared MySQL/MariaDB storage.
- Reward linked players per gamemode, with claim tracking to prevent unlink abuse.
- Show configurable Discord
/profileembeds using PlaceholderAPI values. - Show Discord
/leaderboardembeds from configurable PlaceholderAPI lines. - Relay Minecraft chat into Discord with player names, gamemode labels, and skin avatars.
- Manage common setup from the in-game config editor instead of editing every value by hand.


Discord Profiles And Chat
Use /profile in Discord to show a linked Minecraft player, online status, and any configured PlaceholderAPI-backed fields.

Minecraft chat can also be relayed to Discord with the player's in-game name and skin avatar.

Network Mode
- Share linked accounts across every gamemode.
- Keep one Minecraft account and one Discord account linked only once across the network.
- Sync profile, leaderboard, FoAdvancements, booster, and reward state through MySQL/MariaDB.
- Use one primary Discord node while secondary servers keep publishing data.
- Queue cross-server Minecraft chat relay messages through the shared database.
Commands
/discord- Shows the configured Discord invite./link- Generates a Minecraft account link code./unlink- Unlinks the player's Discord account./fodiscordbotadmin version- Checks the installed version against Modrinth./fodiscordbotadmin editor- Opens the in-game config editor./fodiscordbotadmin reload- Reloads the plugin config./fodiscordbotadmin resetrewards <linked|booster> <player|all> [gamemode]- Resets link or booster reward claims.
Aliases: /discordbotadmin, /fodiscord, and /fodiscordbot.
Discord Commands
/link <code>- Links a Discord account to a Minecraft account./unlink- Unlinks the Discord account./profile <target> <gamemode>- Shows a configurable Minecraft profile embed./leaderboard <gamemode> <board>- Shows a configured leaderboard embed./advancements <gamemode> <player>- Shows FoAdvancements progress when the hook is enabled./ip- Shows the configured server IP when enabled.
Permissions
fodiscord.use- Allows normal players to use/link,/unlink, and/discord.fodiscordbot.admin- Allows admins to use the FoDiscordBot admin command.fodiscord.admin- Legacy admin permission kept for older setups.
FoAdvancements Hook
FoDiscordBot can show FoAdvancements progress directly in Discord with /advancements <gamemode> <player>. The embed includes total progress, points, tab summaries, per-tab pages, and buttons for switching between overview and advancement pages.
In network mode, gamemode servers can publish FoAdvancements snapshots to MySQL so the primary Discord node can answer lookups from shared data.

Dependencies
- PlaceholderAPI is optional, but needed for PlaceholderAPI-backed profile fields and leaderboard lines.
- FoAdvancements is optional, but needed on gamemode servers that should publish advancement progress.
- MySQL/MariaDB is required only when network mode is enabled.
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FoDiscordBot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
为其他插件开发者添加了可接入的 API 和事件!
- 添加了可配置的关联账号奖励、解绑命令以及排行榜重置控制。
- 改进了个人资料同步,支持缓存查找和离线模式下的皮肤/头像回退机制。
- 改进了管理员编辑器、重载处理以及游戏内反馈。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
自定义你的Minecraft头像!
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
允许基岩版(Geyser)玩家使用自定义铁砧和锻造台配方。
评论 0
登录后参与评分
还没有评论,来抢沙发吧