-
-
Notifications
You must be signed in to change notification settings - Fork 3
NoSuchMethodError on startup #67
Comments
Thanks for reporting. |
Mind testing this version (Zip because GitHub hates jars) |
Testing the version above (note same version string as the released version). Paper 1.19.4-468 Works great! Spigot 1.19.4-3697 On server startup
|
This one looks like a ProtocolLib bug. We have to wait and see. |
As noted above, it works on Paper 1.19.4. However the following hex coding does not render. Am I doing something wrong?
|
Hover doesn't support hex colours, so it could be an issue with that tbh. |
Oh, OK. Not a big thing. Is it planned? |
Can't be supported, as MC itself doesn't support that. That's usually only players there, so it's not expected to support features from JSON components. Only way this could ever be supported is by either using mods, or having Mojang add support for it (unlikely). |
Are there different versions for proxies? AdvancedServerList 3.0.0-b1 fails on up-to-date versions Bungee/Waterfall
Velocity
|
There obviously are. |
OK. I was on Hangar, where there appeared to be only one release, but I was mistaken (it's a bit obscure). |
Right now I do the same on Hangar as I do on Spigot, since I don't have the patience to manually make 3 individual updates (or more precisely 3 separate setups for the individual platforms). If there was a tool to automate this for the hangar API I would gladly use it, but as of right now... I rather wait until mc-publish has proper support. |
All good on Bungee/Waterfall and Velocity. Thanks. |
ProtocolLib published a new version on their jenkins. |
Even though they fixed a breaking problem with a Citizens update (b2994), ProtocolLib b621 still doesn't play well with Citizens
|
Spigot 1.19.4-3699 On server start-up, all looks good
but the MOTD does not display. Profile is the same as on Paper, which displays correctly. On reload
|
That's... interesting. |
Well, yes. |
Could you try out this build? I've split up the command handling into their own classes to avoid this issue: |
Oh actually... I see the issue I made 🤦 I've used |
Here's the next build. |
No errors on start-up or It would be really helpful if you didn't reuse version strings. I've tried three different 3.0.0-b1
|
I can't say why it wouldn't work for you... It could be a ProtocolLib issue for all I know, given you try it on a Spigot server. |
Could you test it on Spigot and identify the issue? With my profile? |
There seems to be a few new builds with ProtocolLib including one that fixes player samples... So maybe that fixed MOTD too? |
I try new builds of ProtocolLib and AdvancedServerList as soon as they are available. That includes ProtocolLib 5.0.5-b624, which is the latest as of a few minutes ago. So far, no joy.
That is your choice, of course. But if it doesn't work on Spigot, perhaps you want to go the route of |
Well, I do want to support it as good as I can... I just hate its limited support on a lot of things and the general reliance on ProtocolLib here, as from my own testing, the plugin tries to set the MOTD and other things but ProtocolLib seems to just... ignore it? It probs is a missing change they made but it's annoying either way... It would help if they had some proper docs on latest dev builds of their API to try out, because I wouldn't be surprised if I was outdated even tho I use their v5 snapshot. |
Thanks for the info. I will keep testing ProtocolLib updates, and anything you care to post. All I can guarantee is fast turnaround. |
TBF, I run a Spigot server only to test/certify my own plugins. When I want to play, I run Paper. Like much of the rest of the world, if bStats is a reliable guide as to the numbers. |
Made an issue on PL GitHub in the hopes that it can be fixed somehow. Feel free to provide any extra info there you think could be necessary. |
Just to keep track: it's still an issue with ProtocolLib 5.0.0-b625. |
Not sure if this one here works... I've made it that the changed WrappedServerPing is writen back into the PacketEvent, as it is now a immutable class in MC (Server Ping is a record now). |
No. Broken on both variants.
[10:10:55] [Netty Epoll Server IO #1/INFO]: [AdvancedServerList] MOTD:
|
That looks to me like a wrong formatted yaml file. |
Same errors, in same configuration as above, with profiles/default.yml changed to use double-quotes (sans comments and empty lines)
|
Note that the examples in
|
Okay... Looks like some strange behaviour of String.format and the usage of It's debug lines tho, so it shouldn't affect stuff. |
With Thanks. |
So no more errors? |
With |
Good. Then I'll prepare a release tomorrow, so that this can be fixed. |
Confirmed fixed in the released version. Thanks. |
Platform
Spigot
Other platform
No response
What happened?
On server startup
Steps to reproduce
Server List Profiles
profiles/default.yml sans comments and empty lines
The text was updated successfully, but these errors were encountered: