McBot
McBot copied to clipboard
[Bug/漏洞] 2.2.2版本无Release发布且代码无法通过编译
Checks / 检查
- [X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
- [X] I confirm that I followed the Docs and read the Changelog, but this problem still exists./我确认我按照文档配置并阅读了Changelog,但这个问题仍然存在。
- [X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。
Java Version / Java版本
17
Minecraft Version / Minecraft版本
1.20.4
McBot Version / McBot版本
2.2.1.1
Description / 描述
无法通过编译
To Reproduce / 重现
使用idea打开项目后gradle初始化失败
Log / 日志
Build file 'C:\Users\Administrator\Downloads\McBot-2.2.2-fabric\fabric\build.gradle' line: 3
Plugin [id: 'com.replaymod.preprocess', version: 'SNAPSHOT'] was not found in any of the following sources:
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org.
Config / 配置
通用
[common] group-on = true # 开启q群功能 enable = true # 是否启用 debug = false # 是否开发模式,将显示事件信息操作 language-select = "zh_cn" # 选择语言系统 auto-open = true # 自动连接 image-on = false # 是否开启聊天栏图片功能 bind-on = false # 是否开启绑定校验 group-id-list = [114514] # 支持多个q群
状态
[status] r-enable = true # 全局接收 r-cmd-enable = true # 命令接收 r-chat-enable = true # 消息接收 s-enable = true # 发送消息 s-qq-welcome-enable = true # 发送欢迎玩家入群消息 s-qq-leave-enable = true # 发送玩家退群消息 s-join-enable = true # 发送加入服务器消息 s-leave-enable = true # 发送离开服务器消息 s-death-enable = true # 发送玩家死亡消息 s-chat-enable = true # 发送服务器聊天 s-advance-enable = true # 发送成就消息
命令
[cmd] welcome-notice = "欢迎加群~" # 自定义q群加入事件消息 leave-notice = "离开了我们qwq" # 自定义q群离开消息 cmd-start = "!" # q群中使用命令的关键符号 game-prefix-on = true # 是否开启显示到游戏中的前缀 id-game-prefix-on = true # 是否开启显示到游戏中的id前缀 qq-game-prefix = "群聊" # 来自q群显示到游戏中的前缀 guild-game-prefix = "频道" # 来自频道显示到游戏中的前缀 group-nick-on = false # 是否开启显示到游戏中的昵称为群昵称 mc-prefix-on = true # 是否开启来自游戏的消息显示到群中的前缀 mc-prefix = "MC" # 来自游戏的消息显示到群中的前缀 mc-chat-prefix-on = false # 是否开启游戏中自定义关键词 qq-chat-prefix-on = false # 是否开启qq中自定义关键词 mc-chat-prefix = "q" # 游戏中自定义的消息头文本 qq-chat-prefix = "m" # qq中自定义的消息头文本
机器人
[bot_config] url = "ws://127.0.0.1:3001" # 地址(支持域名和ipv6) token = "" # 鉴权 mirai = false # mirai鉴权方式不一样 bot-id = 1145141919810 # 机器人qq reconnect = true # 重连(未实现) max-reconnect-attempts = 20 # 重连次数(未实现)