brforgers / disfabric Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
As ElijahRus250 mentioned some time ago, players will display Steve heads via the webhook although they have custom skins. The fix for this is on DisFabric's end by simply sending UUIDs to mc-heads instead of usernames via getEntityName(). For reference, mc-heads notes on their website that utilizing usernames is deprecated and may not always produce expected results.
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[14:54:22] [INFO] [FabricLoader/GameProvider]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[14:54:23] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[14:54:24] [main/WARN]: Warnings were found!
Server hangs here forever regardless of config.
mc: 1.18.1
fabric:0.12.12
mods: 'disfabric-1.18-1.3.5 (1).jar' fabric-api-0.45.1+1.18.jar
My 1.18 server doesn't boot with the mod installed. Works just fine without it. I have tried both 1.18 versions, and compiling from source.
latest.log
mcServer.log
This is a build of commit 6d5b371
so, i got everything working and one person changed their skin and the webhook still showed their old skin, i made a new webhook and nothing changed. how could i make the skin go the recent one?
When stopping the server, an error occurs, which on pterodactyl, leaves the server as 'stopping' forever until it's killed.
This happens on minecraft 1.16.4 with fabric-api-0.28.1+1.16.jar.
I've found this problem with two different error messages while testing.
The first one:
[04:00:09] [Server thread/INFO]: Stopping the server
[04:00:09] [Server thread/INFO]: Stopping server
[04:00:09] [Server thread/INFO]: Saving players
[04:00:09] [Server thread/INFO]: Saving worlds
[04:00:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[survival]'/minecraft:overworld
[04:00:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (survival): All chunks are saved
[04:00:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[survival]'/minecraft:the_nether
[04:00:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[04:00:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[survival]'/minecraft:the_end
[04:00:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[04:00:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (survival): All chunks are saved
[04:00:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[04:00:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[04:00:09] [JDA RateLimit-Worker 5/ERROR]: There was an I/O error while executing a REST request: null
[04:00:09] [ForkJoinPool.commonPool-worker-3/ERROR]: RestAction queue returned failure: [ErrorResponseException] -1: java.io.InterruptedIOException
java.io.InterruptedIOException: null
at okhttp3.internal.http2.Http2Stream.waitForIo(Http2Stream.java:641) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:148) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:137) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:101) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at okhttp3.RealCall.execute(RealCall.java:93) ~[2e468b35-41e4-4430-a82e-eae62442c063.jar:?]
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:200) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:140) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:123) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.internal.requests.ratelimit.BotRateLimiter$Bucket.run(BotRateLimiter.java:461) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:834) ~[?:?]
Caused by: net.dv8tion.jda.api.exceptions.ContextException
at net.dv8tion.jda.api.exceptions.ContextException.here(ContextException.java:54) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.api.requests.Request.(Request.java:71) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.internal.requests.RestActionImpl.queue(RestActionImpl.java:189) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:411) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:377) ~[f9dc6d36-d5fd-4a6f-840b-825e44f934a4.jar:?]
at br.com.brforgers.mods.disfabric.DisFabric.lambda$onInitializeServer$1(DisFabric.java:60) ~[disfabric-1.16.4-1.2.2.jar:?]
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$4(ServerLifecycleEvents.java:62) ~[5c572295-d836-4a0d-b7ef-192d028167c9.jar:?]
at net.minecraft.server.MinecraftServer.handler$zzf000$beforeShutdownServer(MinecraftServer.java:1748) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java) ~[intermediary-server.jar:?]
at net.minecraft.class_3176.method_3782(class_3176.java:567) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:707) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
... 1 more
[04:00:10] [Server thread/INFO]: Thread Query Listener stopped
and the second one:
[11:37:57] [Server thread/INFO]: Stopping the server
[11:37:57] [Server thread/INFO]: Stopping server
[11:37:57] [Server thread/INFO]: Saving players
[11:37:57] [Server thread/INFO]: inigoim lost connection: Server closed
[11:37:57] [Server thread/INFO]: inigoim left the game
[11:37:57] [Server thread/ERROR]: Exception stopping the server
java.util.concurrent.RejectedExecutionException: The Requester has been stopped! No new requests can be requested!
at net.dv8tion.jda.internal.requests.Requester.request(Requester.java:106) ~[e0a5db87-4790-4519-bbf2-b23381751b92.jar:?]
at net.dv8tion.jda.internal.requests.RestActionImpl.queue(RestActionImpl.java:189) ~[e0a5db87-4790-4519-bbf2-b23381751b92.jar:?]
at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:411) ~[e0a5db87-4790-4519-bbf2-b23381751b92.jar:?]
at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:377) ~[e0a5db87-4790-4519-bbf2-b23381751b92.jar:?]
at br.com.brforgers.mods.disfabric.listeners.MinecraftEventListener.lambda$init$4(MinecraftEventListener.java:77) ~[disfabric-1.16.4-1.2.2.jar:?]
at net.minecraft.class_3324.handler$zca000$remove(class_3324.java:1462) ~[intermediary-server.jar:?]
at net.minecraft.class_3324.method_14611(class_3324.java) ~[intermediary-server.jar:?]
at net.minecraft.class_3244.method_10839(class_3244.java:1116) ~[intermediary-server.jar:?]
at net.minecraft.class_2535.method_10768(class_2535.java:394) ~[intermediary-server.jar:?]
at net.minecraft.class_1255.method_19537(class_1255.java:79) ~[intermediary-server.jar:?]
at net.minecraft.class_3244.method_14367(class_3244.java:306) ~[intermediary-server.jar:?]
at net.minecraft.class_3324.method_14597(class_3324.java:805) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java:591) ~[intermediary-server.jar:?]
at net.minecraft.class_3176.method_3782(class_3176.java:567) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:707) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
[11:37:57] [Server thread/INFO]: Thread Query Listener stopped
// There are four lights!
Time: 1/17/21 12:08 AM
Description: Exception in server tick loop
java.util.concurrent.RejectedExecutionException: The Requester has been stopped! No new requests can be requested!
at net.dv8tion.jda.internal.requests.Requester.request(Requester.java:106)
at net.dv8tion.jda.internal.requests.RestActionImpl.queue(RestActionImpl.java:189)
at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:411)
at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:377)
at br.com.brforgers.mods.disfabric.listeners.MinecraftEventListener.lambda$init$4(MinecraftEventListener.java:79)
at net.minecraft.class_3324.handler$zha000$remove(class_3324.java:1962)
at net.minecraft.class_3324.method_14611(class_3324.java)
at net.minecraft.class_3244.method_10839(class_3244.java:1116)
at net.minecraft.class_2535.method_10768(class_2535.java:396)
at net.minecraft.class_3242.method_14357(class_3242.java:186)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882)
at net.minecraft.class_3176.method_3813(class_3176.java:312)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at java.lang.Thread.run(Thread.java:748)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.16.4
Minecraft Version ID: 1.16.4
Operating System: Linux (amd64) version 4.19.0-10-amd64
Java Version: 1.8.0_275, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 4806556808 bytes (4583 MB) / 6442450944 bytes (6144 MB) up to 6442450944 bytes (6144 MB)
CPUs: 2
JVM Flags: 20 total; -Xms6144M -Xmx6144M -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
Fabric Mods:
autoconfig1u: Auto Config v1 Updated 3.3.1
blocklogger: Blocklogger 0.3.0
chunkpregen: Fabric Chunk Pregenerator 0.3.3
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v4 4.8.2
com_fasterxml_jackson_core_jackson-annotations: jackson-annotations 2.10.1
com_fasterxml_jackson_core_jackson-core: jackson-core 2.10.1
com_fasterxml_jackson_core_jackson-databind: jackson-databind 2.10.1
com_github_shevek_parallelgzip: parallelgzip master-SNAPSHOT
com_google_code_findbugs_jsr305: jsr305 3.0.2
com_mashape_unirest_unirest-java: unirest-java 1.4.9
com_neovisionaries_nv-websocket-client: nv-websocket-client 2.10
com_squareup_okhttp3_okhttp: okhttp 3.13.0
com_squareup_okio_okio: okio 1.17.2
commandaliases: Command Aliases 0.3.0
commons-codec_commons-codec: commons-codec 1.9
commons-logging_commons-logging: commons-logging 1.2
cotton-config: Cotton Config 1.0.0-rc.7
cotton-logging: Cotton Logging 1.0.0-rc.4
disfabric: DisFabric 1.2.3
fabric: Fabric API 0.29.3+1.16
fabric-api-base: Fabric API Base 0.2.0+ab87788d3a
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.0+2e23b97c3a
fabric-command-api-v1: Fabric Command API (v1) 1.0.9+6a2618f53a
fabric-commands-v0: Fabric Commands (v0) 0.2.1+cbe9176f3a
fabric-containers-v0: Fabric Containers (v0) 0.1.9+a03e98793a
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.0+e77439c73a
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d3a
fabric-dimensions-v1: fabric-dimensions-v1 2.0.1+9a6c75813a
fabric-entity-events-v1: Fabric Entity Events (v1) 1.0.2+8004b36d3a
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.1+6a2618f53a
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+6a2618f53a
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.5+cbe9176f3a
fabric-item-api-v1: Fabric Item API (v1) 1.2.0+6a2618f53a
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.2+cbe9176f3a
fabric-language-kotlin: Fabric Language Kotlin 1.3.72+build.1
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.0+ffb68a873a
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.1+6a2618f53a
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+6a2618f53a
fabric-mumblelink-mod: MumbleLink 0.7.5
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.0+4358fbc63a
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.7+a03e98793a
fabric-networking-v0: Fabric Networking (v0) 0.3.1+2a4333d33a
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.2+6a2618f53a
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.1+6a2618f53a
fabric-particles-v1: Fabric Particles (v1) 0.2.3+cbe9176f3a
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.3+be155ae23a
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.4+6a2618f53a
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.1+0d4d7e343a
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+6a2618f53a
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.3+cbe9176f3a
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.0+e77439c73a
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.5+6a2618f53a
fabricloader: Fabric Loader 0.11.0
fastfurnace: FastFurnace 2.3
jankson: Jankson 3.0.0+j1.2.0
java: OpenJDK 64-Bit Server VM 8
leukocyte: Leukocyte 0.1.2
lithium: Lithium 0.6.0
lithium-api: Lithium API 0.6.0
minecraft: Minecraft 1.16.4
net_dv8tion_jda: JDA 4.2.0_182
net_sf_trove4j_trove4j: trove4j 3.0.3
org_apache_commons_commons-collections4: commons-collections4 4.1
org_apache_commons_commons-compress: commons-compress 1.19
org_apache_httpcomponents_httpasyncclient: httpasyncclient 4.1.1
org_apache_httpcomponents_httpclient: httpclient 4.5.1
org_apache_httpcomponents_httpcore: httpcore 4.4.4
org_apache_httpcomponents_httpcore-nio: httpcore-nio 4.4.4
org_apache_httpcomponents_httpmime: httpmime 4.5.2
org_apache_logging_log4j_log4j-slf4j-impl: log4j-slf4j-impl 2.8.1
org_jetbrains_annotations: annotations 17.0.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.3.72
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.3.72
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.3.72
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.3.72
org_jetbrains_kotlinx_kotlinx-coroutines-core: kotlinx-coroutines-core 1.3.7
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.3.7
org_json_json: json 20160212
org_slf4j_slf4j-api: slf4j-api 1.7.25
org_tukaani_xz: xz 1.8
org_xerial_sqlite-jdbc: sqlite-jdbc 3.32.3.2
phosphor: Phosphor 0.7.0+build.10
player-roles: Player Roles 1.1.2
serversimplified: Server Simplified 1.1.3
smoothboot: Smooth Boot 1.16-1.3.1
spark: spark 1.4.3
textile_backup: Textile Backup 2.0.1-1.16.3
Player Count: 3 / 25; [class_3222['SuperSam98'/514278, l='ServerLevel[world]', x=-173.95, y=179.00, z=-185.53], class_3222['HBBrad'/616663, l='ServerLevel[world]', x=-73.70, y=79.75, z=-808.36], class_3222['villk'/617770, l='ServerLevel[world]', x=424.44, y=75.00, z=975.79]]
Data Packs: vanilla (incompatible), file/VanillaTweaks_c480216.zip, file/VanillaTweaks_c728506.zip, file/afk display v1, file/anti enderman grief v1.0.0 (incompatible), file/double shulker shells v1.2.0 (incompatible), file/more mob heads v2.6.2 (incompatible), file/player head drops v1.0.0 (incompatible), file/villager death messages v1.1.0 (incompatible), file/dragon drops v1 (incompatible), Fabric Mods, file/multiplayer sleep v2.5.2.zip, file/Multiplayer sleep
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)```
When you send the first message in Minecraft after some time of silence, it doesn't get redirected to Discord. Once you've sent this "bugged" messages, all messages sent later will get redirected to Discord, but after around half a minute of inactivity the bug happens again. There's nothing in the logs/console.
[22.03 20:16:38] [Server] Exception in thread "ConcurrentSessionController-Worker-0" [ConcurrentSessionController-Worker-0/INFO]: [STDERR]: java.lang.NoSuchMethodError: com.neovisionaries.ws.client.WebSocketFactory.getSocketTimeout()I
[22.03 20:16:38] [Server] [ConcurrentSessionController-Worker-0/INFO]: [STDERR]: at net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:369)
[22.03 20:16:38] [Server] [ConcurrentSessionController-Worker-0/INFO]: [STDERR]: at net.dv8tion.jda.internal.requests.WebSocketClient$StartingNode.run(WebSocketClient.java:1396)
[22.03 20:16:38] [Server] [ConcurrentSessionController-Worker-0/INFO]: [STDERR]: at net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.processQueue(ConcurrentSessionController.java:155)
[22.03 20:16:38] [Server] [ConcurrentSessionController-Worker-0/INFO]: [STDERR]: at net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.run(ConcurrentSessionController.java:133)
[22.03 20:16:38] [Server] [ConcurrentSessionController-Worker-0/INFO]: [STDERR]: at java.lang.Thread.run(Thread.java:748)
Hello, the server won't load DisFabric. I downloaded latest versions of Fabric and Fabric API. Also I post a log, about issue.
I downloaded wrong version of MiniMOTD. The issue is invalid.
Operating system: Debian 10
Java: AdoptOpenJDK-16.0.1+9 (build 16.0.1+9) (64-bit)
Log:
[11:59:42] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'server' due to errors, provided by 'disfabric'!
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:34) ~[fabric-server-launch.jar:?]
at net.minecraft.server.Main.main(Main.java:97) [intermediary-server.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [fabric-server-launch.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56) [fabric-server-launch.jar:?]
Caused by: java.lang.NoSuchMethodError: org.apache.logging.slf4j.Log4jLoggerFactory: method 'void ()' not found
at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:53) ~[e4e26127-e96a-4a21-9f92-ebf193a6530b.jar:?]
at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:41) ~[e4e26127-e96a-4a21-9f92-ebf193a6530b.jar:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Unknown Source) ~[?:?]
at net.dv8tion.jda.internal.utils.JDALogger.(JDALogger.java:49) ~[28d729b5-8237-440a-a993-3ab359299454.jar:?]
at net.dv8tion.jda.api.utils.SessionControllerAdapter.(SessionControllerAdapter.java:41) ~[28d729b5-8237-440a-a993-3ab359299454.jar:?]
at net.dv8tion.jda.internal.utils.config.SessionConfig.(SessionConfig.java:45) ~[28d729b5-8237-440a-a993-3ab359299454.jar:?]
at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1906) ~[28d729b5-8237-440a-a993-3ab359299454.jar:?]
at br.com.brforgers.mods.disfabric.DisFabric.onInitializeServer(DisFabric.java:53) ~[disfabric-1.17-1.3.2.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-server-launch.jar:?]
... 17 more
Hi, i installed the mod to my private server a few minutes ago but when i start the server i only got error at the below and its not creating a config file for setting my bot's token
[23:43:39] [main/ERROR]: Unable to login! javax.security.auth.login.LoginException: The provided token is invalid! at net.dv8tion.jda.internal.JDAImpl.verifyToken(JDAImpl.java:365) ~[68fc6b12-d051-478f-9633-2fddd46f471f.jar:?] at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:282) ~[68fc6b12-d051-478f-9633-2fddd46f471f.jar:?] at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:249) ~[68fc6b12-d051-478f-9633-2fddd46f471f.jar:?] at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1869) ~[68fc6b12-d051-478f-9633-2fddd46f471f.jar:?] at br.com.brforgers.mods.disfabric.DisFabric.onInitializeServer(DisFabric.java:47) ~[disfabric-1.16.4-1.2.3.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) [server.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) [server.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:33) [server.jar:?] at net.minecraft.server.Main.main(Main.java:92) [intermediary-vanilla.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [server.jar:?] at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) [server.jar:?] at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [server.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:62) [server.jar:?] at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:106) [server.jar:?] at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:50) [server.jar:?]
just a simple log of what discord user whitelisted what mc username and at what time. would be extremely nice.
Crashes on server start. The server start and server stop messages are sent successfully to discord.
Looks like the classes related to messaging got changed for the new social interactions menu.
[Server thread/ERROR]: Encountered an unexpected exception
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:157) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:150) ~[fabric-server-launch.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_262]
at net.minecraft.class_2535.method_10754(class_2535.java:231) ~[intermediary-server.jar:?]
at net.minecraft.class_3242.method_14357(class_3242.java:173) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882) ~[intermediary-server.jar:?]
at net.minecraft.class_3176.method_3813(class_3176.java:312) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Callback method onGameMessage(Lnet/minecraft/class_2797;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V in disfabric.mixins.json:MixinServerPlayNetworkHandler failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap disfabric-1.16.1-refmap.json
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:408) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1291) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) ~[fabric-server-launch.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ~[fabric-server-launch.jar:?]
... 14 more
As it stands right now, the mod doesn't transfer certain in game chat messages over to discord: server, RCON etc.
This causes issues when using discord to record a history of the in game chat, as one half of certain conversations aren't recorded. Even when not caring about keeping a chat history, its weird to see people apparently talking to themselves from discord, when they're talking to someone in game.
When stopping my server the server take awhile to stop.. sometimes. Sometimes it shuts down quickly and other times it can take ages, long enough i've decided to break script and end the server manually.
https://gyazo.com/e4cf8f603ab956e62dd813f60851a091
usually it will just sit here like this for a long time. I often do wait for it to finish and it can take a few minutes but other times, like while making this report, it has been like this upwards of 10 minutes. Without disfabric this doesnt happen, i havent tested this with ONLY disfabric so im not sure if its a conflict. Let me know what information i can provide to help out with this in-case it cant be replicated.
Just as title says- when performing its daily restarts the server hangs for a few mins before closing. a bunch of other discord-fabric link mods have had the exact same issue, example of a fix is Tom-The-Geek/TomsServerUtils@35d1f5d
As the title says, when a player's skin is changed and the server is restarted, the webhook still uses the head icon from its first capture of the skin. So if a player's skin is updated, the head icon in discord is not.
title
I really love this mod, but there is one thing that would make it even better.
The popular Paper/Spigot plugin DiscordSRV allows you to send the console to Discord.
Would it be possible to add that to Disfabric in a similar way?
Thanks for creating this mod though. It is the best chat link one that I have found for Fabric,
Supporting this project API means that instead of relying on a public API which is out of my control (mc-heads.net), I can run the imgd container myself and point DisFabric to that instead.
It'd be great if we could download DisFabric from Modrinth - their interface is much faster than CurseForge's & the website is entirely open source.
Additionally, CurseForge has had a lot of downtime over the past week, so it's good to have another place to get the mod from.
Heya! My 1.18 server crashes whenever DisFabric tries to load it seems, even when I've got no other mods aside from Fabric API enabled.
Sorry in advance if it's due to something I missed in the config or something! I do have a channel ID put in the config though.
crash-2021-12-06_19.41.29-server.txt
latest.log
Server launches fine and runs fine without disfabric.
Other installed mods are:
anti-xray-mc1.18-1.1.1
blockmeter-1.6-fabric_1_18
EditSign-1.18-2.2.5
fabric-api-0.43.1+1.18
LuckPerms-Fabric-5.3.86
java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:68)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66)
Caused by: java.lang.RuntimeException: Error creating Mixin config disfabric.mixins.json for mod disfabric
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:90)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71)
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23)
... 5 more
Caused by: org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config disfabric.mixins.json
at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153)
at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100)
at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87)
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:88)
... 8 more
Caused by: java.lang.IllegalArgumentException: The requested compatibility level JAVA_17 could not be set. Level is not supported by the active JRE or ASM version (Java 17.0, ASM 9.0 (ASM10_EXPERIMENTAL))
at org.spongepowered.asm.mixin.MixinEnvironment.setCompatibilityLevel(MixinEnvironment.java:1570)
at org.spongepowered.asm.mixin.transformer.MixinConfig.initCompatibilityLevel(MixinConfig.java:557)
at org.spongepowered.asm.mixin.transformer.MixinConfig.postInit(MixinConfig.java:502)
at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:430)
at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1293)
at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148)
... 11 more
The only thing I want to achive is sending death and achivement messages to Discord via the webhook. I entered the webhook in the config file and left the bot token empty.
No death messages are forwarded/shown in Discord.
When I talk in discord, messages show up in game. But when people talk in discord, the console gest spammed with errors and it doesn't work.
The nicks inside the chat appear with the wrong format, also the red color in the command "/teams" does not appear correctly when creating preffix/suffix. They appear correctly on the Tab, I don't have any other mod of chat installed.
For example instead of showing "Toa_DerGraueWolf" the mod changes it to "Toa_DerGraueWolf_"
i have already made an issue here because the skin when the webhook sends messages doesnt update, ive waited like 3 days, reinstalled the mod, made a new webhook but it still doesnt change it. are the skins stored somewhere so i could reset them? how can i fix this?
The Bot token in the config file, is fully viewable and not hidden, and it should be hidden because if someone would be ablee to get it they could damage both the Discord and Minecraft Server.
This would be a great and useful feature!
Can you add a feature in which the console log can be visible in discord and we can even use server commands from discord.
When a pet is killed in-game, the death message is shown like a normal death message to other players in the server but does not appear on discord.
Instead of parsing messages for commands, the Discord bot should use application commands.
Add a command that sends a message to the Discord channel and Minecraft chat.
Maybe /broadcast.
This would be executable from the server console which is a very handy feature for letting everybody know something.
Please consider adding this.
It would also be useful with suggestion #19
on player join/leave event, update discord status to reflect current number of players
Hey, I just recently heard of your project.
When looking at the Github page, I noticed you don't have a LICENSE
set.
On Curseforge, it claims to be All Rights Reserved.
I suggest you clarify what license actually applies to your project. Feel free to choose whatever fits best.
You may also want to read this site on why you shouldn't have no license; https://choosealicense.com/no-permission/
Unless you include a license that specifies otherwise, nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
I've seen this done on another fabric server, but unfortunately I've had no luck with their mod. Development is kind of private, and it doesn't seem to like running on Windows systems (they run on linux).
Players type "/link" in game, which gives them a code, that they run with a command in Discord, and this links their in-game player to their discord account.
As for assigning roles, this could be done with an in-game command, the Discord bot would find the correct discord user from its link database, and assign a role. ie /disfabric assignrole (playername) (rolename)
I've already got ranks set up on my server using command blocks, all I would have to do is add another chain command block use the command with the @s selector
Please make the Prefix from the team an optional Feature.
Perhaps even with https://placeholders.pb4.eu/ Integration.
As in title, if an OP uses /say
or /tellraw
to message the server, it does not appear in the Discord text channel log.
Conversely, if someone says something in the Discord text channel, it does not appear in the Server Console/log. These together can make it difficult to piece together conversations or even hold conversations between people if not everyone is in game.
Disfabric is incompatible with 1.18.1 on fabric 0.12.11
I have logs and such attached. I'm not really sure what's causing this crash, or if it's an incompatible mod or something.
latest.log
Would be nice to have new releases also on GitHub.
Looking for some way to Implement:
Is there any current way to do this?
Please filter out pings, specifically for the webhooks. Without use of webhooks this can be done with role permissions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.