1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Bug Spigot throws an error on player join

Discussion in 'Bugs & Feature Requests' started by Nightik, Jul 29, 2013.

  1. Hello,

    Iam recently started using plugin FAuthSec ( dev.bukkit.org/bukkit-mods/authsec/ ) which is updated to 1.6.2 version. On Bukkit everything is fine and working as intended. However on latest Spigot #1047 server gives an error on player join. Plugin itself is still working but it is annoying for sure to be spammed like that.

    Error which it gives is: http://pastebin.com/7bt3aQsq
    In log there appears to be problem with "java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener".

    I assume, since it is working perfectly on Bukkit, it could be Spigot problem related.

    Thanks!
     
  2. java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener

    java.lang.ClassNotFoundException: com.comphenix.protocol.events.PacketListener

    Not Spigot. You are missing a dependency for the plugin. ProtocolLib.
     
  3. Well plugin itself shouldnt need any dependency since without it on Bukkit it works as intended without any problem. Anyway, I tried to add ProtocolLib which seems fixed problem with "java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener" on Spigot. But now on Spigot plugin acts funky (no chunks are loaded, falling into void all the time, etc). And with latest ProtocolLib (tried even 2.5.1 dev version) Spigot shows after player log in this: "[WARNING] [ProtocolLib] [PacketFilterManager] [FAuthSec] Unsupported server packet ID in current Minecraft version: 204".

    Again, on Bukkit even with ProtocolLib everything is ok.

    So this must be still Spigot related. How come on Bukkit everything is ok and this wierd stuff is happening on Spigot? :/
     
  4. Sorry for bump, but any news on this? Is it possible that Spigot handle plugins differently than Bukkit?
     
  5. According to git repo, it has a dependency on FCorelib, which it builds in. But FCorelib depends on protocollib. So you need protocollib.
     

  6. No, not really. Spigot, as you probably already know, is a Bukkit fork. All you need to do is have ProtocolLib there, as the others have said.