WindSpigot icon indicating copy to clipboard operation
WindSpigot copied to clipboard

tcpshield plugin broken

Open Minecon724 opened this issue 3 years ago • 6 comments

Describe the bug A clear and concise description of what the bug is. [TCPShield] Plugin TCPShield v2.5 has failed to register events for class net.tcpshield.tcpshield.bukkit.paper.handler.PaperHandshakeHandler because com/destroystokyo/paper/event/server/PaperServerListPingEvent does not exist.

Bug on latest Is the bug on the latest version of WindSpigot? yes

To Reproduce Steps to reproduce the behavior:

  1. download the plugin

Expected behavior A clear and concise description of what you expected to happen. obv

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. it does work on legacy paper

Minecon724 avatar May 28 '22 15:05 Minecon724

This seems to be due to the backport of a modern Paper event. This makes the plugin think that it is running on modern Paper, and causes it to listen to events that aren't even on WindSpigot.

windcolor-dev avatar May 29 '22 18:05 windcolor-dev

so is it possible to fix?

Minecon724 avatar May 29 '22 18:05 Minecon724

Removing the backported event should fix it, but it seems like you will need ProtocolLib to run the plugin.

windcolor-dev avatar May 29 '22 18:05 windcolor-dev

It's caused by the plugin finding PlayerHandshakeEvent and also expecting PaperServerListPingEvent. Another possible fix would be to implement PaperServerListPingEvent which would probably be better.

ghost avatar May 29 '22 18:05 ghost

so?

Minecon724 avatar Jun 05 '22 09:06 Minecon724

@windcolor-dev I beg for your attention here

rwdsji avatar Jul 12 '22 23:07 rwdsji