Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug/漏洞] Fabric1.20.4无法正常关闭实例 #153

Open
3 tasks done
LsrlYrsc opened this issue Apr 18, 2024 · 1 comment
Open
3 tasks done

[Bug/漏洞] Fabric1.20.4无法正常关闭实例 #153

LsrlYrsc opened this issue Apr 18, 2024 · 1 comment

Comments

@LsrlYrsc
Copy link

Checks / 检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I followed the Docs and read the Changelog, but this problem still exists./我确认我按照文档配置并阅读了Changelog,但这个问题仍然存在。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

Java Version / Java版本

Zulu 21

Minecraft Version / Minecraft版本

1.20.4

McBot Version / McBot版本

Actions#74获取的2.2.1.1

Description / 描述

Fabric服务器连接bot后无法正常关闭服务器
(例如MCSM在关闭实例后没有变成“未启动”状态)

To Reproduce / 重现

Fabric Loader Version 0.15.10
API Version 0.97.0+1.20.4
配置完config连接bot后进行关闭服务器(stop)

Log / 日志

全部模组的日志
单独放入mcbot的日志

Config / 配置

通用

[common]
group-on = true # 开启q群功能
enable = true # 是否启用
debug = false # 是否开发模式,将显示事件信息操作
language-select = "zh_cn" # 选择语言系统
auto-open = true # 自动连接
image-on = true # 是否开启聊天栏图片功能
bind-on = false # 是否开启绑定校验
group-id-list = [已修改] # 支持多个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 = "已修改" # 地址(支持域名和ipv6)
token = "" # 鉴权
mirai = false # mirai鉴权方式不一样
bot-id = 0 # 机器人qq
reconnect = true # 自动重连
max-reconnect-attempts = 5 # 自动重连次数
timeout-compensation = 5000 # 超时宽容度(毫秒)

@LsrlYrsc
Copy link
Author

我在Floodgate-Fabric也遇到了相同的问题,我没有将两个模组同时放到一个服务端里启动

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant