Skip to content

[Bug/漏洞] 1.19.2关服后模组不会关闭,服务器无法彻底退出 #193

@tangtina00

Description

@tangtina00

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版本

22.0.1

Minecraft Version / Minecraft版本

1.19.2

McBot Version / McBot版本

2.2.1.2

Description / 描述

输入stop试图关闭服务端后,mod显示"▌ §c正在关闭群服互联"但不会关闭,导致服务端不能彻底退出。如此一来,涉及关闭和重启功能的类似mcdr及其插件不能正常使用。

Image
可见关服后仍在输出“尝试重连”(由于是测试,启动文件没加chcp 65001于是输出乱码)

根据启动文件

Image

Image

正常应该是Press any key to continue后服务端彻底关闭。

Image

此外,在https://github.com/GeyserMC/Geyser/issues/3519,https://github.com/CubeCoders/AMP/issues/486中有提到其他模组引发的类似问题

To Reproduce / 重现

服务端信息:better mc整合包BMC1_FABRIC_1.19.2_Server_Pack_v20 版本:1.19.2 Fabric:0.14.24
输入stop可以正常关服,添加此mod后无法彻底关闭,移除后恢复正常

Log / 日志

2.log

Config / 配置

无.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions