ProtocolLib

3M Downloads

ProtocolLib responds with "plugin reloaders aren't supported"-message, even if you start the server like normal

Andre601 opened this issue ยท 8 comments

commented

Follow this template except for feature requests. Use pastebin when providing /protocol dump and any relevant errors.

Make sure you've done the following:

  • You're using the latest build for your server version
  • This isn't an issue caused by another plugin
  • You've checked for duplicate issues
  • You didn't use /reload

Debug paste link:
Not available, due to ProtocolLib not being enabled.

Description and relevant errors:
When starting the server (Spigot 1.13.1 with API method 1.13.1-R0.1-SNAPSHOT), ProtocolLib gives the message, that plugin-reloaders aren't supported, even tho the server was started like normal without any reloads, nor restarts.

This issue could be related to #518 and #523 since it also produces an error on startup, that could cause this message.

Screenshot of the Message:
image

Textversion of it:

[16:05:01] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v4.4.0-SNAPSHOT-b417
[16:05:01] [Server thread/ERROR]: ******************************************************
[16:05:01] [Server thread/ERROR]: *** ProtocolLib does not support plugin reloaders! ***
[16:05:01] [Server thread/ERROR]: *** Please use the built-in reload command!        ***
[16:05:01] [Server thread/ERROR]: ******************************************************
[16:05:01] [Server thread/INFO]: [ProtocolLib] Disabling ProtocolLib v4.4.0-SNAPSHOT-b417
commented

I just have my plugin, which uses protocolLib running on the server.
And I thought it would be related to the other mentioned issues, because PL starts with the same error like mentioned there.

commented

This probably isn't related to those other issues. Do you maybe have multiple versions of ProtocolLib running? Not sure how else something like this could happen.

commented

Does the plugin include ProtocolLib inside of itself? Check for com/comphenix/protocol in your jar

commented

My plugin uses ProtocolLib as a dependencies.
I don't know what I have to change in my code, to actually fix this problem...
My code is here and I use methods of ProtocolLib here and here

commented

@Andre601, add provided to your ProtocolLib dependency. This is not ProtocolLib's issue but yours as your plugin is copying PLibs classes to its jar.

It was clear for me, that my plugin causes the issues since, when I remove it does ProtocolLib work like normal.
I will try what you suggest and will respond later.

commented

@Andre601, add <scope>provided</scope> to your ProtocolLib dependency. This is not ProtocolLib's issue but yours as your plugin is copying PLibs classes to its jar.

commented

Looks like that finally fixed it. Thanks!

commented

ok so uhm......
I get this error here, when refreshing the serverlist to test the hovermessage:
https://hastebin.com/nokoliloxe.pl

As far as I understand it, should I override the onPacketSending?
This is the code for the hovermessage: https://hastebin.com/egufawagip.java