Discord: JustSync
如果你的机器人可见成员总数达到或超过 10,000 人,你需要通过 Discord 验证该机器人!
使用我们网站 tronka.de 上的脚本,轻松从 ErdbeerbaerLP's Discord Integration 迁移。
功能
- 将 Minecraft 聊天消息发送到 Discord
- 将 Discord 消息发送到 Minecraft 聊天
- 通过 Discord 角色自定义白名单
- 配置小号使用情况
- 支持 Webhook 和 Embed,可自定义消息格式
- 支持命令和命令日志记录
集成
该模组可以轻松与以下插件集成:
- Floodgate/Geyser
- Luckperms
- Vanish
更多详情请参阅我们的 wiki 页面。
配置
配置文件位于 <minecraft-folder>/config/discord-js/discord-justsync.toml,
首次启动时会自动创建。
要使用该模组,你必须配置 botToken 为你的 Discord 机器人令牌,并配置 serverChatChannel 为你希望用于 Minecraft 聊道的频道 ID。
否则,Minecraft 将无法启动。
Discord 机器人
机器人需要以下意图(Intents):SERVER_MEMBER、MESSAGE_CONTENT 以及以下权限:发送消息、查看频道、管理 Webhook、管理昵称、嵌入链接
有关更详细的分步教程,请参阅我们的 wiki 页面。
绑定
启用 linking.enableLinking 选项(默认值:true)后,玩家必须将其 Minecraft 账号绑定到 Discord 账号。
你可以通过配置 linking.requiredRoles 来设置加入服务器所需的角色 ID,从而控制哪些玩家可以加入。
默认情况下,每当玩家加入服务器时,其 Discord 账号名称将被更改为游戏内名称(linking.renameOnJoin)。
为此,需要拥有“管理角色”权限。
命令
Minecraft
/discord reload重新加载配置/discord unlink解除你的 Minecraft 账号绑定/discord unlink <player>解除 Discord 用户与 Minecraft 账号的绑定(需要 OP 权限)
Discord
/link <code>用于绑定到你的 Minecraft 账号/justsync get查询你自己的绑定数据/justsync get <player>查询其他玩家的绑定数据(需要“管理成员”权限)/unlink解除自己的绑定/justsync unlink <player>解除某玩家的绑定(需要“管理成员”权限)/list列出当前在线玩家/reload重新加载配置文件(仅限管理员)
问题、建议及一般性问题
如果你遇到任何问题或错误,有建议或对该模组有疑问,欢迎加入我们的 Discord 服务器。
Discord: JustSync
If your bot can see a total of 10k members or more you will need to verify the bot through discord!
Easily migrate from ErdbeerbaerLP's Discord Integration with Scripts on our Website tronka.de.
Features
- Send minecraft chat messages to discord
- Send discord messages to the minecraft chat
- Custom whitelisting through discord roles
- Configure alt account usage
- Webhook and Embed support with configurable message formats
- Commands and command logging support
Integrations
The mod easily integrates with:
- Floodgate/Geyser
- Luckperms
- Vanish
More on our wiki page
Config
The config file is located in <minecraft-folder>/config/discord-js/discord-justsync.toml,
it will be created on first launch.
To use the mod you must configure botToken with you discord bot token and
serverChatChannel with the id of the channel you want to use for the minecraft chat channel.
Without doing so minecraft will fail to start.
The Discord Bot
The bot will need following intents: SERVER_MEMBER, MESSAGE_CONTENT and following permissions: Send Messages, View Channels, Manage Webhooks, Manage Nicknames, Embed Links
For a more detailed step-by-step tutorial refer to our wiki page.
Linking
By enabling the linking.enableLinking option (default: true) players will be required to link their minecraft account to a discord account.
You can control which players can join by configuring linking.requiredRoles with a role id required to join the server.
By default, a player's discord account will be renamed to their ingame name whenever they join (linking.renameOnJoin).
For this to work the manage roles permission is required.
Commands
Minecraft
/discord reloadreload the configs/discord unlinkremove the link of your minecraft account/discord unlink <player>remove a link from a discord user to a minecraft account (op required)
Discord
/link <code>used to link to your minecraft account/justsync getquery link data for yourself/justsync get <player>query link data for other players (moderate member permission required)/unlinkunlink yourself/justsync unlink <player>unlink a player (moderate members permission required)/listList the currently online players/reloadreload the config file (admin only)
Problems, Suggestions and general Questions
If you encounter any problems or bugs, have a suggestion or have a question for this mod feel free please join our Discord Server.
下载 Discord: JustSync
下载 Discord: JustSync
下载 Discord: JustSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Discord: JustSync
下载 Discord: JustSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Discord: JustSync
下载 Discord: JustSync
下载 Discord: JustSync
下载 Discord: JustSync
下载 Discord: JustSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧