[1.16.x] ChatPacketFix 1.1

Fixes client disconnect when an invalid chat packet is sent

    Tested Minecraft Versions:
    • 1.16
    Getting disconnected from your server with following console error?

    ERROR java.lang.NullPointerException
    WARN java.lang.NullPointerException
    WARN at net.minecraft.server.v1_16_R3.PacketDataSerializer.a(PacketDataSerializer.java:203)
    WARN at net.minecraft.server.v1_16_R3.PacketPlayOutChat.b(PacketPlayOutChat.java:45)
    WARN at net.minecraft.server.v1_16_R3.PacketEncoder.encode(PacketEncoder.java:42)
    WARN at net.minecraft.server.v1_16_R3.PacketEncoder.encode(PacketEncoder.java:12)
    WARN at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
    WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    WARN at java.lang.reflect.Method.invoke(Method.java:498)

    As of 1.16 a new feature was introduced into minecraft that created new possibilities to screw up. More specifically, a new field of type UUID in chat packet used to identify chat message sender for minecraft's latest "mute players" function.
    That means this plugin only works on 1.16+.

    This plugin will fix broken chat packets and notifies you about the chat message in console, allowing you to quickly figure out which plugin caused it so you know where to look.


    Install the plugin.

    You will now be getting console messages informing you about content of the chat message that previously caused disconnect instead of actually disconnecting players.

    Now you can see the chat message content and should quickly figure out which plugin it comes from. Try updating it as well as all of it's dependencies. If that resolved the issue and you are no longer getting console messages from this plugin, you can safely uninstall it.

    If you were unable to get the faulty plugin fixed (updating or removing it) and don't want your console spammed by this plugin's messages, set verbose: false in config.yml. You will unfortunately need to keep this plugin installed.

Recent Updates

  1. 1.1