
这是广受欢迎的 Paper/Spigot 插件 DiscordSRV 的 Forge 版本。本模组并非由 DiscordSRV 的开发团队制作

本模组专为 Forge 1.20.1 打造,更新或更旧版本的发布也将在近期推出,同时即将支持 Fabric 等其他模组加载器。
要进行设置,你需要前往 Discord 开发者门户。
点击 New Application(新建应用),按照你的喜好配置机器人的外观(此处不深入探讨完整的 Discord 机器人相关设置,请观看 YouTube 上的教程)。当所有设置完成并将机器人邀请至你想要它所在的 Discord 服务器后,进入 Bot(机器人)选项卡,你会看到一个名为 Token(令牌)的部分。
点击 Reset Token(重置令牌),然后会生成一串字符。点击复制令牌,接着在你的服务器文件中,进入 config 文件夹,找到 forgediscord-common.toml。在文件顶部,有一行写着 token: "YOUR_TOKEN_HERE",将 Discord 提供的令牌粘贴进去,保存文件,然后重启服务器。要检查模组是否已连接到机器人,你可以在游戏中输入 /discord bot,或者查看 Discord 服务器中的成员列表以确认机器人已在线。

想下载插件版本?点击这里
衷心感谢 Scarsz、granny 和 Vankka 制作了原版插件。

This is the forge version of the popular Paper/Spigot plugin, DiscordSRV. This mod was not made by the DiscordSRV developers

This mod is made for Forge 1.20.1, with newer/older versions releasing soon, as well as soon to support other mod loaders like Fabric.
To set this up, you will need to go to the Discord Developer Portal.
Click New Application, set everything how you want the bot to look like (not going to go in depth of the full Discord bot stuff here, watch a tutorial on YouTube.), when everything is setup and the bot is invited to the discord server you want it in, go the the Bot tab, and you'll see a section called Token.
Click Reset Token, then a string of characters will be generated. Click copy token, then in your server files, go into the config folder, and look for forgediscord-common.toml. At the top of the file, there will be a line saying token: "YOUR_TOKEN_HERE", paste in the token that Discord gave you, save the file, then restart the server. To see if the mod connected to the bot, you can type /discord bot in game, or you can look at the member list in the Discord server to see that the bot is online.

Want to download the plugin version? Click Here
Full credits to Scarsz, granny, and Vankka to making the original plugin.
评论 0
登录后参与评分
还没有评论,来抢沙发吧