McBot
McBot copied to clipboard
[Bug/漏洞]
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版本
21
Minecraft Version / Minecraft版本
1.21.1
McBot Version / McBot版本
2.3.0
Description / 描述
从堆栈信息来看,崩溃完全发生在 McBot 模组的代码里:
at cn.evole.mods.mcbot.common.event.IPlayerEvent.advancement(IPlayerEvent.java:86)
…
~[McBot-1.21.1+2.3.0+release-fabric.jar:?]
也就是说,负责处理「进度(Advancement)奖励」的正是 McBot(版本 2.3.0),它在 IPlayerEvent.advancement 里对空的 Optional 调用了 get(),才导致了这次的 NoSuchElementException citeturn1file0。
因此,问题 mod 就是 McBot。建议到它的 GitHub 仓库提个 issue,或者先在本地对其做临时修补(加上 isPresent() 检查)。
To Reproduce / 重现
要复现这个崩溃,可以按照以下步骤在本地搭建一个最简环境:
-
准备环境
- Minecraft 版本:1.21.1
- Fabric Loader:0.16.13
- Fabric API:0.115.4+1.21.1
- McBot 模组:2.3.0
-
清空玩家数据
在服务器根目录下的world/playerdata/里,删除所有.dat文件,确保之后登录的玩家是“全新”玩家,没有任何预加载数据。 -
启动服务器
使用上述环境配置启动 Fabric 服务器,确保能正常加载所有模组。 -
用一个全新账号登录
用一个之前从未登录过此服务器的 Minecraft 账号(或直接在单机测试时先删掉该账号的playerdata),连接进服务器。- 在控制台你会看到类似:
User de1417ac-xxxx-xxxx-xxxx-xxxxxxxxxxxx - SCGJ doesn't currently have data pre‑loaded - denying login. - 随后,当 McBot 试图给此玩家发送“进度奖励”(Advancement)时,就会在
IPlayerEvent.advancement方法里因为Optional.get()抛出NoSuchElementException,服务器直接崩溃。
- 在控制台你会看到类似:
-
观察崩溃日志
崩溃时控制台会打印:java.util.NoSuchElementException: No value present at java.base/java.util.Optional.get(Optional.java:143) at cn.evole.mods.mcbot.common.event.IPlayerEvent.advancement(IPlayerEvent.java:86) …并在
crash-reports/目录下生成对应的报错文件。
可选的更精简复现(开发者环境)
如果你在 IDE 里调试,也可以写一段测试代码,直接触发 McBot 的进度事件:
// 伪代码示例
// 构造一个“假”玩家和不存在的进度 ID
ServerPlayerEntity fakePlayer = new ServerPlayerEntity(...);
Identifier missingAdvId = new Identifier("mcbot", "nonexistent_adv");
// 直接调用事件处理器
IPlayerEvent.advancement(fakePlayer, missingAdvId);
这样在执行到 Optional.get() 的那一行时,同样会抛出 NoSuchElementException,验证是同一个问题。
Log / 日志
[22:06:15] [main/INFO]: Loading Minecraft 1.21.1 with Fabric Loader 0.16.13
[22:06:16] [main/INFO]: Loading 73 mods:
- allmusic_server 3.4.0
|-- com_squareup_okhttp3_okhttp 4.12.0
|-- com_squareup_okio_okio-jvm 3.6.0
-- org_xerial_sqlite-jdbc 3.48.0.0
- carpet 1.4.147+v240613
- entityculling 1.7.4
- fabric-api 0.115.4+1.21.1
|-- fabric-api-base 0.4.42+6573ed8c19
|-- fabric-api-lookup-api-v1 1.6.70+b559734419
|-- fabric-biome-api-v1 13.0.31+d527f9fd19
|-- fabric-block-api-v1 1.0.22+0af3f5a719
|-- fabric-block-view-api-v2 1.0.11+ebb2264e19
|-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a719
|-- fabric-client-tags-api-v1 1.1.15+6573ed8c19
|-- fabric-command-api-v1 1.2.49+f71b366f19
|-- fabric-command-api-v2 2.2.28+6ced4dd919
|-- fabric-commands-v0 0.2.66+df3654b319
|-- fabric-content-registries-v0 8.0.18+b559734419
|-- fabric-convention-tags-v1 2.1.4+7f945d5b19
|-- fabric-convention-tags-v2 2.11.0+a406e79519
|-- fabric-crash-report-info-v1 0.2.29+0af3f5a719
|-- fabric-data-attachment-api-v1 1.4.1+9ed317f519
|-- fabric-data-generation-api-v1 20.2.28+16c4ae2519
|-- fabric-dimensions-v1 4.0.0+6fc22b9919
|-- fabric-entity-events-v1 1.7.0+2122d82819
|-- fabric-events-interaction-v0 0.7.13+ba9dae0619
|-- fabric-game-rule-api-v1 1.0.53+6ced4dd919
|-- fabric-item-api-v1 11.1.1+d5debaed19
|-- fabric-item-group-api-v1 4.1.7+def88e3a19
|-- fabric-key-binding-api-v1 1.0.47+0af3f5a719
|-- fabric-keybindings-v0 0.2.45+df3654b319
|-- fabric-lifecycle-events-v1 2.5.0+01d9a51c19
|-- fabric-loot-api-v2 3.0.15+3f89f5a519
|-- fabric-loot-api-v3 1.0.3+3f89f5a519
|-- fabric-message-api-v1 6.0.13+6573ed8c19
|-- fabric-model-loading-api-v1 2.0.0+fe474d6b19
|-- fabric-networking-api-v1 4.3.0+c7469b2119
|-- fabric-object-builder-api-v1 15.2.1+40875a9319
|-- fabric-particles-v1 4.0.2+6573ed8c19
|-- fabric-recipe-api-v1 5.0.14+248df81c19
|-- fabric-registry-sync-v0 5.2.0+34f5d91419
|-- fabric-renderer-api-v1 3.4.0+c705a49c19
|-- fabric-renderer-indigo 1.7.0+c705a49c19
|-- fabric-renderer-registries-v1 3.2.68+df3654b319
|-- fabric-rendering-data-attachment-v1 0.3.49+73761d2e19
|-- fabric-rendering-fluids-v1 3.1.6+1daea21519
|-- fabric-rendering-v0 1.1.71+df3654b319
|-- fabric-rendering-v1 5.0.5+df16efd019
|-- fabric-resource-conditions-api-v1 4.3.0+8dc279b119
|-- fabric-resource-loader-v0 1.3.1+5b5275af19
|-- fabric-screen-api-v1 2.0.25+8b68f1c719
|-- fabric-screen-handler-api-v1 1.3.88+b559734419
|-- fabric-sound-api-v1 1.0.23+6573ed8c19
|-- fabric-transfer-api-v1 5.4.2+c24bd99419
-- fabric-transitive-access-wideners-v1 6.2.0+45b9699719
- fabric-language-kotlin 1.13.2+kotlin.2.1.20
|-- org_jetbrains_kotlin_kotlin-reflect 2.1.20
|-- org_jetbrains_kotlin_kotlin-stdlib 2.1.20
|-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 2.1.20
|-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 2.1.20
|-- org_jetbrains_kotlinx_atomicfu-jvm 0.27.0
|-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.10.1
|-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.10.1
|-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.6.2
|-- org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm 0.7.0
|-- org_jetbrains_kotlinx_kotlinx-io-core-jvm 0.7.0
|-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.8.0
|-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.8.0
-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.8.0
- fabricloader 0.16.13
-- mixinextras 0.4.1
- fsit 2.7.8+mc1.21
- gca 2.10.0+build.8
-- jep_jep 2.24
- invview 1.4.15-1.20.5+
-- sgui 1.5.0+1.20.5
- jade 15.8.3+fabric
- java 21
- jupiter 2.0
- lithium 0.14.8+mc1.21.1
- luckperms 5.4.140
-- fabric-permissions-api-v0 0.3.1
- mcbot 2.3.0
- minecraft 1.21.1
- spark 1.10.109
-- fabric-permissions-api-v0 0.3.1
[22:06:21] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/E:/hkmc生电/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar Service=Knot/Fabric Env=SERVER
[22:06:21] [main/INFO]: Compatibility level set to JAVA_17
[22:06:21] [main/INFO]: Compatibility level set to JAVA_21
[22:06:21] [main/INFO]: Option 'mixin.entity.collisions.fluid' requires 'mixin.util.block_tracking=true' but found 'false'. Setting 'mixin.entity.collisions.fluid=false'.
[22:06:21] [main/INFO]: Option 'mixin.experimental.entity.block_caching.block_support' requires 'mixin.util.block_tracking=true' but found 'false'. Setting 'mixin.experimental.entity.block_caching.block_support=false'.
[22:06:21] [main/INFO]: Option 'mixin.experimental.entity.block_caching.fluid_pushing' requires 'mixin.util.block_tracking=true' but found 'false'. Setting 'mixin.experimental.entity.block_caching.fluid_pushing=false'.
[22:06:21] [main/INFO]: Option 'mixin.experimental.entity.block_caching.block_touching' requires 'mixin.util.block_tracking=true' but found 'false'. Setting 'mixin.experimental.entity.block_caching.block_touching=false'.
[22:06:21] [main/INFO]: Option 'mixin.experimental.entity.block_caching.suffocation' requires 'mixin.util.block_tracking=true' but found 'false'. Setting 'mixin.experimental.entity.block_caching.suffocation=false'.
[22:06:21] [main/INFO]: Option 'mixin.experimental.entity.block_caching' requires 'mixin.util.block_tracking=true' but found 'false'. Setting 'mixin.experimental.entity.block_caching=false'.
[22:06:21] [main/INFO]: Loaded configuration file for Lithium: 149 options available, 1 override(s) found
[22:06:22] [main/INFO]: Force-enabling mixin 'compat.transfer_api.TransferApiHelperMixin' as rule 'mixin.compat.transfer_api' (added by mods [lithium]) enables it
[22:06:23] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[22:06:35] [main/INFO]: §d[AllMusic3]§2§e正在启动,感谢使用,本插件交流群:571239090
[22:06:35] [main/INFO]: §d[AllMusic3]§e当前语言配置文件版本为:207,你的语言文件版本为:207
[22:06:35] [main/INFO]: §d[AllMusic3]§e当前插件配置文件版本为:204,你的配置文件版本为:204
[22:06:36] [main/INFO]: 1 Jupiter entrypoint(s) detected: jupiter:jupiter
[22:06:37] [main/INFO]: McBot config version match.
[22:06:38] [main/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[22:06:41] [main/INFO]: Loaded 1290 recipes
[22:06:41] [main/INFO]: Loaded 1399 advancements
[22:06:41] [main/INFO]: McBot config version match.
[22:06:41] [main/INFO]: Successfully reload 2 server config(s).
[22:06:42] [main/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.758 ms
[22:06:42] [pool-4-thread-1/INFO]: 加载 4 个自定义命令,耗时 68 毫秒
[22:06:42] [Server thread/INFO]: Starting background profiler...
[22:06:42] [Server thread/INFO]: The async-profiler engine is not supported for your os/arch (windowsserver2022/amd64), so the built-in Java engine will be used instead.
[22:06:42] [Server thread/INFO]: __
[22:06:42] [Server thread/INFO]: | |) LuckPerms v5.4.140
[22:06:42] [Server thread/INFO]: |_ | Running on Fabric - [email protected]+1.21.1
[22:06:42] [Server thread/INFO]:
[22:06:42] [Server thread/INFO]: Loading configuration...
[22:06:43] [Server thread/INFO]: Loading storage provider... [H2]
[22:06:43] [Server thread/INFO]: Loading internal permission managers...
[22:06:43] [Server thread/INFO]: Performing initial data load...
[22:06:43] [Server thread/INFO]: Successfully enabled. (took 1040ms)
[22:06:43] [Server thread/INFO]: Starting minecraft server version 1.21.1
[22:06:43] [Server thread/INFO]: Loading properties
[22:06:43] [Server thread/INFO]: Default game type: SURVIVAL
[22:06:43] [Server thread/INFO]: Generating keypair
[22:06:43] [Server thread/INFO]: Starting Minecraft server on *:25565
[22:06:44] [Server thread/INFO]: Using default channel type
[22:06:44] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[22:06:44] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[22:06:44] [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.
[22:06:44] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[22:06:44] [Server thread/INFO]: Preparing level "world"
[22:06:44] [Server thread/INFO]: [CM] Loaded 30 settings from carpet.conf
[22:06:48] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[22:06:48] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[22:06:48] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[22:06:49] [Server thread/INFO]: Time elapsed: 965 ms
[22:06:49] [Server thread/INFO]: Done (4.911s)! For help, type "help"
[22:06:49] [Server thread/ERROR]: Couldn't load server icon
java.lang.IllegalStateException: Must be 64 pixels wide
at knot/com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[guava-32.1.2-jre.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_49387(MinecraftServer.java:874) ~[server-intermediary.jar:?]
at java.base/java.util.Optional.flatMap(Optional.java:289) ~[?:?]
at knot/net.minecraft.server.MinecraftServer.method_49384(MinecraftServer.java:871) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:667) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) ~[server-intermediary.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[22:06:49] [Server thread/INFO]: §d[AllMusic3]§e正在初始化网络爬虫
[22:06:49] [Server thread/INFO]: 正在初始化数据库
[22:06:49] [Server thread/INFO]: §d[AllMusic3]§e已启动-3.4.0
[22:06:50] [Server thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.core.CorePlugin
[22:06:50] [Server thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.vanilla.VanillaPlugin
[22:06:50] [Server thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.universal.UniversalPlugin
[22:06:50] [Server thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.access.AccessibilityPlugin
[22:06:50] [Server thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.debug.DebugPlugin
[22:06:50] [WebSocketConnectReadThread-96/INFO]: ▌ §c已连接到服务器 ws://127.0.0.1:3001 §a┈━═☆
[22:11:32] [Server thread/INFO]: [STDOUT]: Lithium Cached BlockState Flags are disabled!
[22:11:32] [Server thread/INFO]: WOODIESTCHAIN97[/127.0.0.1:61792] logged in with entity id 6 at (-2088.06156400894, 70.0, 5133.47882443367)
[22:11:32] [Server thread/INFO]: WOODIESTCHAIN97 joined the game
[22:11:35] [Server thread/INFO]: Player WOODIESTCHAIN97 joined with a matching carpet client
[22:13:21] [OneBot Event/WARN]: ▌ 命令系统尚未支持
[22:17:14] [Server thread/INFO]: [WOODIESTCHAIN97:
群服互联使用说明:
如果你是第一次使用请按照以下步骤设置
1.请先开启机器人框架,go-cqhttp或者mirai
2.请使用/mcbot addGroup <GroupId> 添加互通的群
3.请使用/mcbot setBot <BotId> 设置机器人的qq号
4.如果打开了鉴权验证,请输入/mcbot setAuthKey <AuthKey> 设置
5.准备工作完成,请使用/mcbot connect host:port 与框架对接
在框架默认配置下,请使用/mcbot connect
全部命令: /mcbot connect host:port /mcbot addGroup <GroupId> 添加群 /mcbot delGroup <GroupId> 删除群 /mcbot addChannel <ChannelId> 添加群 /mcbot delChannel <ChannelId> 删除群 /mcbot setBot <BotId> 设置机器人id /mcbot setAuthKey <AuthKey> 鉴权开启时使用 /mcbot receive <all|chat|cmd> <true|false> /mcbot send <all|join|leave|death|achievements|qqWelcome|qqLeave> <true|false> /mcbot status 机器人状态 /mcbot help 帮助 /mcbot reload 重载配置 /mcbot customs 列出所有自定义命令
感谢您的支持,如有问题请联系我 QQ群:720975019找群主 Github: https://github.com/Nova-Committee/Bot-Connect/issues/new提交问题] [22:19:44] [OneBot Event/WARN]: ▌ 命令系统尚未支持 [22:19:53] [OneBot Event/WARN]: ▌ 命令系统尚未支持 [22:20:23] [Server thread/INFO]: JSYCL1145[/127.0.0.1:62279] logged in with entity id 1948 at (-394.155305146735, 64.0, -199.5134181282847) [22:20:23] [Server thread/INFO]: JSYCL1145 joined the game [22:24:38] [Server thread/WARN]: Ignoring unknown attribute 'minecraft:follow_range' [22:24:38] [Server thread/WARN]: Ignoring unknown attribute 'minecraft:movement_speed' [22:24:38] [Server thread/WARN]: Ignoring unknown attribute 'minecraft:max_health' [22:25:47] [Server thread/INFO]: StableMold77935[/127.0.0.1:62594] logged in with entity id 3836 at (-377.05365871324227, 61.0, -151.26990911918386) [22:25:47] [Server thread/INFO]: StableMold77935 joined the game [22:26:10] [Server thread/INFO]: [StableMold77935: Set own game mode to Survival Mode] [22:26:17] [Server thread/INFO]: [Not Secure] <WOODIESTCHAIN97> 6 [22:27:54] [Server thread/INFO]: [StableMold77935: Set own game mode to Creative Mode] [22:28:26] [Server thread/INFO]: [Not Secure] <JSYCL1145> ? [22:28:30] [Server thread/INFO]: [Not Secure] <StableMold77935> 八个台子 [22:28:35] [Server thread/INFO]: [StableMold77935: Set own game mode to Survival Mode] [22:28:47] [Server thread/INFO]: [Not Secure] <StableMold77935> 人呢 [22:29:27] [Server thread/INFO]: SCGJ[local] logged in with entity id 4971 at (-2049.106249988079, 70.0625, 5193.699999988079) [22:29:27] [Server thread/WARN]: User de1417ac-9347-4adc-9163-52c49a94f423 - SCGJ doesn't currently have data pre-loaded - denying login. [22:29:27] [Server thread/INFO]: SCGJ joined the game [22:29:28] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.class_148: Ticking entity at knot/net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1025) ~[server-intermediary.jar:?] at knot/net.minecraft.class_3176.method_3813(class_3176.java:299) ~[server-intermediary.jar:?] at knot/net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912) ~[server-intermediary.jar:?] at knot/net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) ~[server-intermediary.jar:?] at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) ~[server-intermediary.jar:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.util.NoSuchElementException: No value present at java.base/java.util.Optional.get(Optional.java:143) ~[?:?] at knot/cn.evole.mods.mcbot.common.event.IPlayerEvent.advancement(IPlayerEvent.java:86) ~[McBot-1.21.1+2.3.0+release-fabric.jar:?] at knot/cn.evole.mods.mcbot.api.event.server.ServerGameEvents.lambda$static$14(ServerGameEvents.java:69) ~[McBot-1.21.1+2.3.0+release-fabric.jar:?] at knot/net.minecraft.class_2985.handler$bkh000$mcbot$award(class_2985.java:1028) ~[server-intermediary.jar:?] at knot/net.minecraft.class_2985.method_12878(class_2985.java:193) ~[server-intermediary.jar:?] at knot/net.minecraft.class_179$class_180.method_796(class_179.java:21) ~[server-intermediary.jar:?] at knot/net.minecraft.class_4558.method_22510(class_4558.java:71) ~[server-intermediary.jar:?] at knot/net.minecraft.class_2135.method_9141(class_2135.java:22) ~[server-intermediary.jar:?] at knot/net.minecraft.class_3222.method_5773(class_3222.java:554) ~[server-intermediary.jar:?] at knot/carpet.patches.EntityPlayerMPFake.method_5773(EntityPlayerMPFake.java:170) ~[fabric-carpet-1.21-1.4.147+v240613.jar:?] at knot/net.minecraft.class_3218.method_18762(class_3218.java:770) ~[server-intermediary.jar:?] at knot/net.minecraft.class_1937.method_18472(class_1937.java:498) ~[server-intermediary.jar:?] at knot/net.minecraft.class_3218.method_31420(class_3218.java:408) ~[server-intermediary.jar:?] at knot/net.minecraft.class_5574.method_31791(class_5574.java:54) ~[server-intermediary.jar:?] at knot/net.minecraft.class_3218.method_18765(class_3218.java:372) ~[server-intermediary.jar:?] at knot/net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021) ~[server-intermediary.jar:?] ... 5 more [22:29:28] [Server thread/ERROR]: This crash report has been saved to: E:\hkmc生电\crash-reports\crash-2025-04-18_22.29.28-server.txt [22:29:28] [Server thread/INFO]: §d[AllMusic3]§2§e已停止,感谢使用 [22:29:28] [Server thread/INFO]: ▌ §c正在关闭群服互联 [22:29:28] [Server thread/INFO]: Starting shutdown process... [22:29:28] [Server thread/INFO]: Closing storage... [22:29:28] [Server thread/INFO]: Goodbye! [22:29:28] [Server thread/INFO]: Stopping server [22:29:28] [Server thread/INFO]: Saving players [22:29:28] [Server thread/INFO]: WOODIESTCHAIN97 lost connection: Server closed [22:29:28] [Server thread/INFO]: WOODIESTCHAIN97 left the game [22:29:28] [Server thread/INFO]: StableMold77935 lost connection: Server closed [22:29:28] [Server thread/INFO]: StableMold77935 left the game [22:29:28] [Server thread/INFO]: Saving worlds [22:29:29] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [22:29:29] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [22:29:29] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [22:29:29] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved [22:29:29] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [22:29:29] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [22:29:29] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved [22:29:29] [pool-2-thread-5/WARN]: Request failed: null [22:29:29] [pool-2-thread-6/WARN]: Request failed: null [22:29:29] [pool-2-thread-8/WARN]: Request failed: null [22:29:29] [pool-2-thread-7/WARN]: Request failed: null [22:29:29] [WebSocketConnectReadThread-96/INFO]: ▌ §c服务器ws://127.0.0.1:3001因已关闭
Config / 配置
{ "common": { "config.mcbot.common.groupOn": true, "config.mcbot.common.groupIdList": [ “” ], "config.mcbot.common.enable": true, "config.mcbot.common.debug": false, "config.mcbot.common.languageSelect": "zh_cn", "config.mcbot.common.autoOpen": true, "config.mcbot.common.imageOn": true, "config.mcbot.common.bindOn": false }, "status": { "config.mcbot.status.connectInfoEnable": true, "config.mcbot.status.rEnable": true, "config.mcbot.status.rCmdEnable": true, "config.mcbot.status.rChatEnable": true, "config.mcbot.status.sEnable": true, "config.mcbot.status.sQqWelcomeEnable": true, "config.mcbot.status.sQqLeaveEnable": true, "config.mcbot.status.sJoinEnable": true, "config.mcbot.status.sLeaveEnable": true, "config.mcbot.status.sDeathEnable": true, "config.mcbot.status.sChatEnable": true, "config.mcbot.status.sAdvanceEnable": true }, "cmd": { "config.mcbot.cmd.welcomeNotice": "欢迎加群~", "config.mcbot.cmd.leaveNotice": "离开了我们qwq", "config.mcbot.cmd.cmdStart": "!", "config.mcbot.cmd.gamePrefixOn": true, "config.mcbot.cmd.idGamePrefixOn": true, "config.mcbot.cmd.qqGamePrefix": "群聊", "config.mcbot.cmd.guildGamePrefix": "频道", "config.mcbot.cmd.groupNickOn": true, "config.mcbot.cmd.mcPrefixOn": true, "config.mcbot.cmd.mcPrefix": "MC", "config.mcbot.cmd.mcChatPrefixOn": false, "config.mcbot.cmd.qqChatPrefixOn": false, "config.mcbot.cmd.mcChatPrefix": "q", "config.mcbot.cmd.qqChatPrefix": "m" }, "bot": { "config.mcbot.bot.tag": "main", "config.mcbot.bot.url": "ws://127.0.0.1:3001", "config.mcbot.bot.token": "", "config.mcbot.bot.botId": "0", "config.mcbot.bot.reconnect": true, "config.mcbot.bot.reconnectMaxTimes": 3, "config.mcbot.bot.reconnectInterval": 5 }, "version": 1 }