Elytrium / FastMOTD

A MOTD plugin for Velocity that caches network packets. This helps it be the fastest one of the MOTD plugins.
GNU Affero General Public License v3.0
63 stars 13 forks source link

Compatibility issues with PacketEvents #37

Open SaltedYuY opened 1 month ago

SaltedYuY commented 1 month ago

Velocity version: 3.3.0-SNAPSHOT-build410 FastMOTD version: 1.0.7 Use default configuration file (with check for updates turned off)

I am pleased to learn that the FastMotd plugin has been updated to address several previous issues. I have installed the plugin into my server's plugin folder and attempted to run it. However, upon pinging the server using Minecraft, I encountered a problem where the server continuously displayed 'pinging' and eventually failed to respond.

As shown in the picture: image

I have identified a compatibility issue with the plugin: when it is installed alongside PacketEvents, an exception is thrown. Removing PacketEvents allows the server to be detected normally.

I believe this to be a critical bug since many plugins rely on PacketEvents for their functionality. I hope you can address this issue in a future update.

This is my log file: latest.log

UserNugget commented 1 month ago

Can you try to reproduce this issue with the latest FastMOTD dev-build and direct-write enabled in the config? After some testing it seems that this issue was fixed. (but via ignoring PacketEvents)