27rogi / Fabric2Discord

🤝 Link your Fabric server and Discord with ease!
GNU Lesser General Public License v3.0
13 stars 3 forks source link

pterodactyl scheduler - server power msgs not relaying #34

Closed tubBandit closed 8 months ago

tubBandit commented 1 year ago

Hi there, i am using F2D 1.20.x and I am suddenly having issues using the pterodactyl panel and the server relaying certain server messages. I have set up an automatic scheduler with their system and it was working fine with any other restart scheduler. Here is the server startup log. Every other relay event is working aside from the power options. Not including the Server Start msg.

container@pterodactyl~ java -version
openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode, sharing)
container@pterodactyl~ java -Xms128M -XX:MaxRAMPercentage=95.0 -jar server.jar
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[17:27:39] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.14.22
[17:27:40] [main/INFO]: Loading 63 mods:
        - f2d 2.3.0+1.20.x
           |-- completeconfig-base 2.3.1
           \-- placeholder-api 2.1.1+1.20
        - fabric-api 0.87.0+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.63+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.2+1e61dba177
           |-- fabric-dimensions-v1 2.1.53+8536527b77
           |-- 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.10+eeb8eb3677
           |-- fabric-networking-v0 0.3.50+df3654b377
           |-- fabric-object-builder-api-v1 11.1.1+6beca84877
           |-- fabric-particles-v1 1.1.1+201a23a077
           |-- fabric-recipe-api-v1 1.0.20+b3afc78b77
           |-- fabric-registry-sync-v0 2.3.2+4df89eb277
           |-- fabric-renderer-api-v1 3.1.2+6bdb2ed077
           |-- fabric-renderer-indigo 1.4.2+6bdb2ed077
           |-- 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.29+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
        - fabric-language-kotlin 1.10.10+kotlin.1.9.10
           |-- org_jetbrains_kotlin_kotlin-reflect 1.9.10
           |-- org_jetbrains_kotlin_kotlin-stdlib 1.9.10
           |-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.9.10
           |-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.9.10
           |-- org_jetbrains_kotlinx_atomicfu-jvm 0.22.0
           |-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.7.3
           |-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.7.3
           |-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.4.0
           |-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.6.0
           |-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.6.0
           \-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.6.0
        - fabricloader 0.14.22
        - ferritecore 6.0.0
        - java 17
        - krypton 0.2.3
           \-- com_velocitypowered_velocity-native 3.2.0-SNAPSHOT
        - lithium 0.11.2
        - memoryleakfix 1.1.1
           \-- com_github_llamalad7_mixinextras 0.2.0-beta.8
        - minecraft 1.20.1
        - voicechat 1.20.1-2.4.24
           \-- fabric-key-binding-api-v1 1.0.36+fb8d95da82
[17:27:40] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/home/container/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
[17:27:40] [main/INFO]: Compatibility level set to JAVA_17
[17:27:40] [main/INFO]: Loaded configuration file for Lithium: 115 options available, 2 override(s) found
[17:27:41] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children
[17:27:41] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [krypton]) disables it and children
[17:27:41] [main/INFO]: [MemoryLeakFix] Will be applying 1 memory leak fixes!
[17:27:41] [main/INFO]: [MemoryLeakFix] Currently enabled memory leak fixes: [biomeTemperatureLeak]
[17:27:50] [main/INFO]: Using webhook with id `1118406086492430397`
[17:27:50] [DefaultDispatcher-worker-5/INFO]: Connected as the Wet Bandits#6298
[17:27:50] [main/INFO]: Compression will use libdeflate (Linux x86_64), encryption will use OpenSSL 3.0.x (Linux x86_64)
[17:27:50] [main/INFO]: [voicechat] Compatibility version 17
[17:27:50] [main/INFO]: [voicechat] Loading plugins
[17:27:50] [main/INFO]: [voicechat] Loaded 0 plugin(s)
[17:27:50] [main/INFO]: [voicechat] Initializing plugins
[17:27:50] [main/INFO]: [voicechat] Initialized 0 plugin(s)
[17:27:50] [main/INFO]: Krypton is now accelerating your Minecraft server's networking stack 🚀
[17:27:50] [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'
[17:27:52] [main/INFO]: Loaded 7 recipes
[17:27:52] [main/INFO]: Loaded 1279 advancements
[17:27:53] [main/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.796 ms
[17:27:53] [Server thread/INFO]: Starting minecraft server version 1.20.1
[17:27:53] [Server thread/INFO]: Loading properties
[17:27:53] [Server thread/INFO]: Default game type: SURVIVAL
[17:27:53] [Server thread/INFO]: Generating keypair
[17:27:53] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25565
[17:27:53] [Server thread/INFO]: Using epoll channel type
[17:27:53] [Server thread/INFO]: Preparing level "twb"
[17:27:57] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[17:28:04] [Worker-Main-2/INFO]: Preparing spawn area: 21%
[17:28:05] [Worker-Main-2/INFO]: Preparing spawn area: 78%
[17:28:05] [Server thread/INFO]: Time elapsed: 7664 ms
[17:28:05] [Server thread/INFO]: Done (11.626s)! For help, type "help"
[17:28:05] [Server thread/INFO]: Enabled sync between game chat and Discord!
[17:28:05] [VoiceChatServerThread/INFO]: [voicechat] Using server-ip as bind address: 0.0.0.0
[17:28:05] [VoiceChatServerThread/INFO]: [voicechat] Voice host is '192.99.37.102:24454'
[17:28:05] [VoiceChatServerThread/INFO]: [voicechat] Voice chat server started at 0.0.0.0:24454

edit: this image is the server starting, stopping and starting again. image

this image is what is used to look like, same configuration, just on bisect hosting. image

tubBandit commented 1 year ago

idk i didn't seem to change anything but eventually it went back to normal. image

edit: still might be a circumstantial issue with the panel's schedule system.

27rogi commented 8 months ago

New version might work due to forced coroutine cancel when server stops.