packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

1.21.5 Fabric - Failed to initialize a channel

Open TheFaser opened this issue 7 months ago • 1 comments

Describe the bug Latest version of PacketEvents-2.8.0 on a clean Fabric 1.21.5 I get an error when viewing the server Log: https://pastebin.com/jQBnSDAe

Software brand Fabric 1.21.5

Plugins Only latest PacketEvents-2.8.0

How To Reproduce Steps to reproduce the behavior:

  1. put PacketEvents-2.8.0 to mods folder
  2. try to look at the server
  3. See error

Screenshots Image

TheFaser avatar Apr 26 '25 14:04 TheFaser

Fabric 1.21.5 is broken. I have a fork I've been trying to merge in for a very long time that fixes this issue and many more: you can find the source code here: https://github.com/GrimAnticheat/packetevents

Keep in mind its not just a straight up fix, but also a lot of other features:

  1. It supports Fabric 1.14-1.21.5 in the same jar (though online mode is broken in <= 1.20.4)
  2. It supports being run on the client, including on both the client itself and the internal server
  3. It fixes issues with events not firing
  4. It works with Carpet mod and doesn't error out on the NPC players by filtering the fake channels correctly
  5. It fixes compatibility with ViaVersion and Krypton

We use it in Grim Anticheat since we become platform-independent and added Fabric support.

Axionize avatar Apr 30 '25 18:04 Axionize