Checks
Java Version
17
Minecraft Version
1.19
MCDiscordChat Version
2.0.0 Alpha 3
Description
Server does not properly shut down when Mod is loaded.
says all chunks and dimensions are saved, but it never stops
)
To Reproduce
Setup server start.
run for 30 seconds no one logs in.
The discord bot says server started.
shut down MC server.
hangs in this state.
Log
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ java -version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
container@pterodactyl~ java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs/ -Daikars.new.flags=true -Dterminal.jline=false -Dterminal.ansi=true -jar fabric-server-launch.jar nogui
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[13:03:11] [main/INFO]: Loading Minecraft 1.19 with Fabric Loader 0.14.7
[13:03:11] [main/INFO]: Loading 53 mods:
- com_fasterxml_jackson_core_jackson-annotations 2.13.3 via mcdiscordchat
- com_fasterxml_jackson_core_jackson-core 2.13.3 via mcdiscordchat
- com_fasterxml_jackson_core_jackson-databind 2.13.3 via mcdiscordchat
- com_google_code_gson_gson 2.9.0 via mcdiscordchat
- com_neovisionaries_nv-websocket-client 2.14 via mcdiscordchat
- com_squareup_okhttp3_okhttp 4.9.3 via mcdiscordchat
- com_squareup_okio_okio 2.10.0 via mcdiscordchat
- com_vdurmont_emoji-java 5.1.1 via mcdiscordchat
- fabric 0.56.0+1.19
- fabric-api-base 0.4.9+e62f51a3a9 via fabric
- fabric-api-lookup-api-v1 1.6.7+9ff28f40a9 via fabric
- fabric-biome-api-v1 9.0.13+b2a4a624a9 via fabric
- fabric-command-api-v1 1.2.5+f71b366fa9 via fabric
- fabric-command-api-v2 2.1.1+cda9839ba9 via fabric
- fabric-commands-v0 0.2.22+df3654b3a9 via fabric
- fabric-containers-v0 0.1.27+df3654b3a9 via fabric
- fabric-content-registries-v0 3.1.0+4a3ec384a9 via fabric
- fabric-convention-tags-v1 1.0.8+37622d24a9 via fabric
- fabric-crash-report-info-v1 0.2.3+bd0a0d4aa9 via fabric
- fabric-data-generation-api-v1 5.0.1+2a5b9210a9 via fabric
- fabric-dimensions-v1 2.1.27+72da3b3da9 via fabric
- fabric-entity-events-v1 1.4.16+9ff28f40a9 via fabric
- fabric-events-interaction-v0 0.4.26+9ff28f40a9 via fabric
- fabric-events-lifecycle-v0 0.2.25+df3654b3a9 via fabric
- fabric-game-rule-api-v1 1.0.19+18990361a9 via fabric
- fabric-item-api-v1 1.5.4+767db26ea9 via fabric
- fabric-item-groups-v0 0.3.23+9ff28f40a9 via fabric
- fabric-lifecycle-events-v1 2.1.0+33fbc738a9 via fabric
- fabric-loot-api-v2 1.0.1+9e7660c6a9 via fabric
- fabric-loot-tables-v1 1.1.1+9e7660c6a9 via fabric
- fabric-message-api-v1 1.0.1+513f4a59a9 via fabric
- fabric-mining-level-api-v1 2.1.8+33fbc738a9 via fabric
- fabric-networking-api-v1 1.0.27+7fe97409a9 via fabric
- fabric-networking-v0 0.3.14+df3654b3a9 via fabric
- fabric-object-builder-api-v1 4.0.5+9ff28f40a9 via fabric
- fabric-particles-v1 1.0.8+dc39553aa9 via fabric
- fabric-registry-sync-v0 0.9.16+92cf9a3ea9 via fabric
- fabric-rendering-data-attachment-v1 0.3.12+9ff28f40a9 via fabric
- fabric-rendering-fluids-v1 3.0.5+9ff28f40a9 via fabric
- fabric-resource-conditions-api-v1 2.0.9+e62f51a3a9 via fabric
- fabric-resource-loader-v0 0.5.3+9e7660c6a9 via fabric
- fabric-screen-handler-api-v1 1.2.6+9ff28f40a9 via fabric
- fabric-transfer-api-v1 2.0.9+e62f51a3a9 via fabric
- fabric-transitive-access-wideners-v1 1.1.1+9e7660c6a9 via fabric
- fabricloader 0.14.7
- java 17
- mcdiscordchat 1.19-2.0.0-alpha.3
- minecraft 1.19
- net_dv8tion_jda 5.0.0-alpha.12 via mcdiscordchat
- net_sf_trove4j_trove4j 3.0.3 via mcdiscordchat
- org_apache_commons_commons-collections4 4.4 via mcdiscordchat
- org_jetbrains_kotlin_kotlin-stdlib 1.7.0 via mcdiscordchat
- org_json_json 20220320 via mcdiscordchat
[13:03:11] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/home/container/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[13:03:11] [main/INFO]: Compatibility level set to JAVA_16
[13:03:12] [main/INFO]: Compatibility level set to JAVA_17
[13:03:16] [main/INFO]: Building unoptimized datafixer
[13:03:18] [main/INFO]: -----------------------------------------
[13:03:18] [main/INFO]: MCDiscordChat (MCDC) 2.0.0-alpha.3
[13:03:18] [main/INFO]: By Xujiayao
[13:03:18] [main/INFO]:
[13:03:18] [main/INFO]: More information + Docs:
[13:03:18] [main/INFO]: https://blog.xujiayao.top/posts/4ba0a17a/
[13:03:18] [main/INFO]: -----------------------------------------
[13:03:19] [main/INFO]: Login Successful!
[13:03:19] [JDA MainWS-WriteThread/INFO]: Connected to WebSocket
[13:03:19] [JDA MainWS-ReadThread/INFO]: Finished Loading!
[13:03:19] [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:03:21] [main/INFO]: [fabric-registry-sync] Loaded registry data [file 1/4]
[13:03:25] [main/INFO]: Loaded 7 recipes
[13:03:26] [main/WARN]: Found validation problem in {minecraft:entities/ender_dragon}.pools[0].entries[0]: Unknown loot table called minecraft:entities/reference/extra/ender_dragon
[13:03:26] [main/WARN]: Found validation problem in {minecraft:entities/bat}.pools[2].entries[0]: Unknown loot table called minecraft:entities/reference/extra/bat
[13:03:26] [main/INFO]: Loaded 1346 advancements
[13:03:27] [main/WARN]: Failed to parse level-type default, defaulting to minecraft:normal
[13:03:27] [main/INFO]: Applied 0 biome modifications to 0 of 63 new biomes in 1.727 ms
[13:03:27] [Server thread/INFO]: Starting minecraft server version 1.19
[13:03:27] [Server thread/INFO]: Loading properties
[13:03:27] [Server thread/INFO]: Default game type: SURVIVAL
[13:03:27] [Server thread/INFO]: Generating keypair
[13:03:27] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25593
[13:03:27] [Server thread/INFO]: Using epoll channel type
[13:03:27] [Server thread/INFO]: Preparing level "Atlascraft"
[13:03:40] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
say test
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:47] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[13:03:48] [Worker-Main-1/INFO]: Preparing spawn area: 24%
[13:03:48] [Worker-Main-1/INFO]: Preparing spawn area: 24%
[13:03:48] [Worker-Main-1/INFO]: Preparing spawn area: 69%
[13:03:49] [Server thread/INFO]: Time elapsed: 9503 ms
[13:03:49] [Server thread/INFO]: Done (22.216s)! For help, type "help"
container@pterodactyl~ Server marked as running...
[13:03:51] [Server thread/INFO]: test
[13:03:52] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2040ms or 40 ticks behind
[13:04:26] [JDA MainWS-ReadThread/INFO]: [Discord] test
test
[13:04:30] [Server thread/INFO]: Unknown or incomplete command, see below for error
[13:04:30] [Server thread/INFO]: test<--[HERE]
say test
[13:04:34] [Server thread/INFO]: test
container@pterodactyl~ Server marked as stopping...
stop
[13:04:41] [Server thread/INFO]: Stopping the server
[13:04:41] [Server thread/INFO]: Stopping server
[13:04:41] [Server thread/INFO]: Saving players
[13:04:41] [Server thread/INFO]: Saving worlds
[13:04:43] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Atlascraft]'/minecraft:overworld
[13:04:49] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Atlascraft]'/minecraft:the_end
[13:04:49] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Atlascraft]'/minecraft:the_nether
[13:04:49] [Server thread/INFO]: ThreadedAnvilChunkStorage (Atlascraft): All chunks are saved
[13:04:49] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[13:04:49] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[13:04:49] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
Config
{
"generic": {
"useEngInsteadOfChin": true,
"botToken": "",
"botPlayingStatus": "Minecraft",
"botListeningStatus": "",
"webhookUrl": "",
"channelId": "981778683570303049",
"consoleLogChannelId": "",
"useUuidInsteadOfName": true,
"avatarApi": "https://mc-heads.net/avatar/%player%.png",
"broadcastCommandExecution": true,
"allowMentions": true,
"modifyChatMessages": true,
"useServerNickname": true,
"announceHighMspt": true,
"msptCheckInterval": 5000,
"msptLimit": 50,
"mentionAdmins": true,
"updateChannelTopic": true,
"channelTopicUpdateInterval": 600000,
"excludedCommands": [
"/tell"
],
"adminsIds": [
"863952714538418178"
]
},
"multiServer": {
"enable": false,
"host": "127.0.0.1",
"port": 5000,
"name": "SMP",
"botIds": []
},
"textsZH": {
"unformattedResponseMessage": " ┌──── <%name%> %message%",
"unformattedChatMessage": "[%server%] <%name%> %message%",
"unformattedOtherMessage": "[%server%] %message%",
"formattedResponseMessage": [
{
"text": " ┌──── ",
"bold": true,
"color": "dark_gray"
},
{
"text": "<%name%> ",
"bold": false,
"color": "%roleColor%"
},
{
"text": "%message%",
"bold": false,
"color": "dark_gray"
}
],
"formattedChatMessage": [
{
"text": "[%server%] ",
"bold": true,
"color": "blue"
},
{
"text": "<%name%> ",
"bold": false,
"color": "%roleColor%"
},
{
"text": "%message%",
"bold": false,
"color": "gray"
}
],
"formattedOtherMessage": [
{
"text": "[%server%] ",
"bold": true,
"color": "blue"
},
{
"text": "%message%",
"bold": false,
"color": "gray"
}
],
"serverStarted": "服务器已启动!",
"serverStopped": "服务器已关闭!",
"joinServer": "%playerName% 加入了服务器",
"leftServer": "%playerName% 离开了服务器",
"deathMessage": "%deathMessage%",
"advancementTask": "%playerName% 达成了进度 [%advancement%]",
"advancementChallenge": "%playerName% 完成了挑战 [%advancement%]",
"advancementGoal": "%playerName% 达成了目标 [%advancement%]",
"highMspt": "服务器 MSPT (%mspt%) 高于 %msptLimit%!",
"consoleLogMessage": "[%time%] [INFO] %message%",
"offlineChannelTopic": ":x: 服务器离线 | 最后更新于:<t:%lastUpdateTime%:f>",
"onlineChannelTopic": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% 位玩家在线 | 服务器玩家总数:%uniquePlayerCount% | 服务器于 <t:%serverStartedTime%:R> 启动 | 最后更新于:<t:%lastUpdateTime%:f>",
"onlineChannelTopicForMultiServer": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% 位玩家在线 | 服务器玩家总数:%uniquePlayerCount% | %onlineServerCount% 个服务器在线 [%onlineServerList%] | 服务器于 <t:%serverStartedTime%:R> 启动 | 最后更新于:<t:%lastUpdateTime%:f>"
},
"textsEN": {
"unformattedResponseMessage": " ┌──── <%name%> %message%",
"unformattedChatMessage": "[%server%] <%name%> %message%",
"unformattedOtherMessage": "[%server%] %message%",
"formattedResponseMessage": [
{
"text": " ┌──── ",
"bold": true,
"color": "dark_gray"
},
{
"text": "<%name%> ",
"bold": false,
"color": "%roleColor%"
},
{
"text": "%message%",
"bold": false,
"color": "dark_gray"
}
],
"formattedChatMessage": [
{
"text": "[%server%] ",
"bold": true,
"color": "blue"
},
{
"text": "<%name%> ",
"bold": false,
"color": "%roleColor%"
},
{
"text": "%message%",
"bold": false,
"color": "gray"
}
],
"formattedOtherMessage": [
{
"text": "[%server%] ",
"bold": true,
"color": "blue"
},
{
"text": "%message%",
"bold": false,
"color": "gray"
}
],
"serverStarted": "Server started!",
"serverStopped": "Server stopped!",
"joinServer": "%playerName% joined the game",
"leftServer": "%playerName% left the game",
"deathMessage": "%deathMessage%",
"advancementTask": "%playerName% has made the advancement [%advancement%]",
"advancementChallenge": "%playerName% has completed the challenge [%advancement%]",
"advancementGoal": "%playerName% has reached the goal [%advancement%]",
"highMspt": "Server MSPT (%mspt%) is above %msptLimit%!",
"consoleLogMessage": "[%time%] [INFO] %message%",
"offlineChannelTopic": ":x: Server offline | Last updated: <t:%lastUpdateTime%:f>",
"onlineChannelTopic": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% player(s) online | %uniquePlayerCount% unique player(s) ever joined | Server started <t:%serverStartedTime%:R> | Last updated: <t:%lastUpdateTime%:f>",
"onlineChannelTopicForMultiServer": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% player(s) online | %uniquePlayerCount% unique player(s) ever joined | %onlineServerCount% server(s) online [%onlineServerList%] | Server started <t:%serverStartedTime%:R> | Last updated: <t:%lastUpdateTime%:f>"
}
}