sdlink icon indicating copy to clipboard operation
sdlink copied to clipboard

[Bug]: Multiple features not working (chat Minecraft->Discord, notifications, access control)

Open Shadark opened this issue 2 months ago • 5 comments

EDIT: I just realized that in the 3.3.3 version description in Modrinth you mention: "This single jar works on 1.18.2-1.21.8", so my best guess is that 1.21.10 may be not supported, however the Modrinth version indicates that supported versions are, among others, 1.21.3–1.21.10, that may be confusing! If the mod indeed supports 1.21.10 then, by all means, keep reading 😄

🐞 Description

I created a dedicated server and installed, originally, SDLink on the server only. The messages for starting the server, server starting, stopping the server and server stopped seemed to work perfectly. Likewise, sending messages from Discord also appeared ingame.

However, most other features won't work. Messages sent from Minecraft won't appear in the Discord channel, and messages from users joining/leaving, advancements, etc... won't appear either.

Also, the access control module doesn't seem to work either, I turned it on with required role, but myself could connect perfectly fine (I was OP originally so I deopped myself just in case it was related, without avail).

Thinking it could be related to some other configurations, I resetted the configuration to defaults, reinstalled the mod, installed it also on the client thinking it could work, nothing. Tried deactivating some chat mods like NoChatReports or even Beautified Chat (even if it's considered as compatible), didn't work either. Also tried using the webhook mode, nothing.

Finally, I tried creating a local hosted server + a full vanilla instalation with only SDLink and it's not working either, hence I'm opening this issue after trying to debug heaven and beyond!

🔄 Steps to reproduce

  1. Created a dedicated server locally downloading NeoForge 21.10.11-beta.
  2. Installed SDLink and CreaterLib in their latest versions for NeoForge
  3. Used Prism Launcher to create a vanilla instance with the same version of Minecraft+NeoForge, no mods.
  4. Run the server once to generate the configuration files, as expected, it failed to connect.
  5. Ensured that the bot has correct permissions (it can send some messages to the server and it's not complaining about anything, so my guess is that it's correctly configured)
  6. Regenerated the token, put it on the config file + channel id
  7. Tried sending messages from Minecraft

✅ Expected behavior

Expected to see joining/leaving messages (as they're activated by default in the config) and messages from ingame source.

❌ Actual behavior

Only messages from Discord appeared in Minecraft and only messages sent from the server status appeared.

🎮 Minecraft Version

1.21.11

🛠️ Mod Version

3.3.3

📦 Mod Loader

NeoForge

🔧 Mod Loader Version

21.10.11-beta

📚 CraterLib Version

2.1.5

📜 Logs & Screenshots

Image

Picture depicting the ingame messages not appearing, or the joining message.

debug.log latest.log

Shadark avatar Oct 14 '25 23:10 Shadark

Hey

Thanks for the report. I'll be honest, the neoforge version of craterlib was not tested, because prism couldn't launch it at the time

I later on discovered that neoforge changed the way they handle mixins. So it's very likely that it's suffering from the same fate.

I'll check this out later today and publish a fix. Fabric should be unaffected

hypherionmc avatar Oct 15 '25 08:10 hypherionmc

Give this one a shot (sorry for the zip, GitHub doesn't like .jar files)

CraterLib-NeoForge-1.21.9-2.1.6+experimental.0.zip

hypherionmc avatar Oct 15 '25 10:10 hypherionmc

Alright, that seemed to work! I've tested extensively and I'm getting all missing messages:

  • Minecraft -> Discord messages
  • Joining/leaving messages
  • Console commands
  • Advancements/deaths
  • And access control seem to be working now

Much appreciated! Should I be using the experimental JAR for the meantime or could I expect a lib official release soon(ish)?

Shadark avatar Oct 15 '25 10:10 Shadark

This is a critical issue, so I'll do an emergency release today. For now, you can keep using the experimental one. It's the same as the current release, except the bug fix

hypherionmc avatar Oct 15 '25 11:10 hypherionmc

There we go, release is out

hypherionmc avatar Oct 15 '25 12:10 hypherionmc