Nova-Committee/McBot

[Bug/漏洞] 1.20.1Fabric服务器mcbot指令无效

ChenXu233 opened this issue · 1 comments

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

17.0.6

Minecraft Version / Minecraft版本

1.20.1

McBot Version / McBot版本

2.1.6

Description / 描述

具体内容问题应该如Issue #109 一样,但这回是在1.20.1的服务器上 (怎么回事呢
在该Issue中提到1.20.1是有效的,但我这里1.20.1却仍然无效

如图

image
可以看见mcbot已经加载,但是不存在该指令

To Reproduce / 重现

/mcbot以及其分支指令无效
重试几次都是这样
已经试过重启服务器等操作

Log / 日志

Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[13:50:58] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.14.21
[13:50:59] [main/INFO]: Loading 49 mods:
- chunksending 1.20.1-2.5
- fabric-api 0.86.1+1.20.1
|-- fabric-api-base 0.4.30+7abfd51577
|-- fabric-api-lookup-api-v1 1.6.35+4d8536c977
|-- fabric-biome-api-v1 13.0.10+b3afc78b77
|-- fabric-block-api-v1 1.0.9+e022e5d177
|-- fabric-blockrenderlayer-v1 1.1.40+b3afc78b77
|-- fabric-client-tags-api-v1 1.1.1+97bb207577
|-- fabric-command-api-v1 1.2.33+f71b366f77
|-- fabric-command-api-v2 2.2.12+b3afc78b77
|-- fabric-commands-v0 0.2.50+df3654b377
|-- fabric-containers-v0 0.1.62+df3654b377
|-- fabric-content-registries-v0 4.0.9+b3afc78b77
|-- fabric-convention-tags-v1 1.5.4+a1a980da77
|-- fabric-crash-report-info-v1 0.2.18+aeb40ebe77
|-- fabric-data-generation-api-v1 12.2.1+1e61dba177
|-- fabric-dimensions-v1 2.1.52+b3afc78b77
|-- fabric-entity-events-v1 1.5.22+b3afc78b77
|-- fabric-events-interaction-v0 0.6.1+e91849a877
|-- fabric-events-lifecycle-v0 0.2.62+df3654b377
|-- fabric-game-rule-api-v1 1.0.38+b04edc7a77
|-- fabric-item-api-v1 2.1.27+b3afc78b77
|-- fabric-item-group-api-v1 4.0.10+23d9108177
|-- fabric-key-binding-api-v1 1.0.36+fb8d95da77
|-- fabric-keybindings-v0 0.2.34+df3654b377
|-- fabric-lifecycle-events-v1 2.2.21+b3afc78b77
|-- fabric-loot-api-v2 1.1.39+b3afc78b77
|-- fabric-loot-tables-v1 1.1.43+9e7660c677
|-- fabric-message-api-v1 5.1.7+3265161977
|-- fabric-mining-level-api-v1 2.1.49+b3afc78b77
|-- fabric-model-loading-api-v1 1.0.2+709a987177
|-- fabric-models-v0 0.4.1+9386d8a777
|-- fabric-networking-api-v1 1.3.9+b3afc78b77
|-- fabric-networking-v0 0.3.49+df3654b377
|-- fabric-object-builder-api-v1 11.1.1+6beca84877
|-- fabric-particles-v1 1.1.1+201a23a077
|-- fabric-recipe-api-v1 1.0.19+b3afc78b77
|-- fabric-registry-sync-v0 2.3.1+4df89eb277
|-- fabric-renderer-api-v1 3.1.1+9386d8a777
|-- fabric-renderer-indigo 1.4.1+9172968c77
|-- fabric-renderer-registries-v1 3.2.45+df3654b377
|-- fabric-rendering-data-attachment-v1 0.3.34+b3afc78b77
|-- fabric-rendering-fluids-v1 3.0.27+b3afc78b77
|-- fabric-rendering-v0 1.1.48+df3654b377
|-- fabric-rendering-v1 3.0.7+b3afc78b77
|-- fabric-resource-conditions-api-v1 2.3.5+ea08f9d877
|-- fabric-resource-loader-v0 0.11.9+132c48c177
|-- fabric-screen-api-v1 2.0.7+b3afc78b77
|-- fabric-screen-handler-api-v1 1.3.28+b3afc78b77
|-- fabric-sound-api-v1 1.0.12+b3afc78b77
|-- fabric-transfer-api-v1 3.3.0+cdf060b277
-- fabric-transitive-access-wideners-v1 4.3.0+6c31357e77
- fabricloader 0.14.21
- ferritecore 6.0.0
- java 17
- lazydfu 0.1.3
- lithium 0.11.2
- mcbot 2.1.6
- memoryleakfix 1.1.1
-- com_github_llamalad7_mixinextras 0.2.0-beta.8
- minecraft 1.20.1
- redirectionor 1.20.1-4.0.3
[13:50:59] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/home/orangepi/Server/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[13:50:59] [main/INFO]: Compatibility level set to JAVA_17
[13:50:59] [main/INFO]: Loaded configuration file for Lithium: 115 options available, 1 override(s) found
[13:51:00] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children
[13:51:00] [main/INFO]: [MemoryLeakFix] Will be applying 1 memory leak fixes!
[13:51:00] [main/INFO]: [MemoryLeakFix] Currently enabled memory leak fixes: [biomeTemperatureLeak]
[13:51:10] [main/INFO]: chunksending mod initialized
[13:51:10] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[13:51:13] [main/INFO]: Loaded 7 recipes
[13:51:13] [main/INFO]: Loaded 1271 advancements
[13:51:14] [main/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 2.177 ms
[13:51:14] [Server thread/INFO]: Starting minecraft server version 1.20.1
[13:51:14] [Server thread/INFO]: Loading properties
[13:51:14] [Server thread/INFO]: Default game type: SURVIVAL
[13:51:14] [Server thread/INFO]: Generating keypair
[13:51:14] [Server thread/INFO]: Starting Minecraft server on *:25565
[13:51:14] [Server thread/INFO]: Using epoll channel type
[13:51:14] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[13:51:14] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[13:51:14] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[13:51:14] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[13:51:14] [Server thread/INFO]: Preparing level "world"
[13:51:17] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[13:51:20] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-7/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:51:20] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:51:21] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:51:21] [Worker-Main-3/INFO]: Preparing spawn area: 0%
[13:51:22] [Worker-Main-7/INFO]: Preparing spawn area: 0%
[13:51:22] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:51:23] [Worker-Main-1/INFO]: Preparing spawn area: 18%
[13:51:23] [Worker-Main-5/INFO]: Preparing spawn area: 46%
[13:51:24] [Worker-Main-2/INFO]: Preparing spawn area: 84%
[13:51:24] [Server thread/INFO]: Time elapsed: 7215 ms
[13:51:24] [Server thread/INFO]: Done (9.856s)! For help, type "help"
mcbot connect gocqhttp 127.0.0.1:19198
[13:51:40] [Server thread/INFO]: Unknown or incomplete command, see below for error
[13:51:40] [Server thread/INFO]: mcbot connect gocqhttp 127.0.0.1:19198<--[HERE]

Config / 配置

在尝试了Action中发布的版本2.1.8后
问题已解决