Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

NoSuchMethodError on startup #67

Closed
SlimeDog opened this issue Mar 23, 2023 · 42 comments
Closed

NoSuchMethodError on startup #67

SlimeDog opened this issue Mar 23, 2023 · 42 comments
Labels
Type: Bug A confirmed bug Type: Dependency Issue Issue is caused by one or multiple dependencies

Comments

@SlimeDog
Copy link

Platform

Spigot

Other platform

No response

What happened?

On server startup

>version
[10:03:02] [Server thread/INFO]: This server is running CraftBukkit version 3697-Spigot-6ad4b93-9381350 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
[10:03:02] [Server thread/INFO]: You are running the latest version
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Enabling AdvancedServerList v3.0.0-b1
[10:04:07] [Server thread/INFO]: [AdvancedServerList]            _____ _
[10:04:07] [Server thread/INFO]: [AdvancedServerList]     /\    / ____| |
[10:04:07] [Server thread/INFO]: [AdvancedServerList]    /  \  | (___ | |
[10:04:07] [Server thread/INFO]: [AdvancedServerList]   / /\ \  \___ \| |
[10:04:07] [Server thread/INFO]: [AdvancedServerList]  / ____ \ ____) | |____
[10:04:07] [Server thread/INFO]: [AdvancedServerList] /_/    \_\_____/|______|
[10:04:07] [Server thread/INFO]: [AdvancedServerList]
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Starting AdvancedServerList v3.0.0-b1...
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Platform: CraftBukkit 3697-Spigot-6ad4b93-9381350 (MC: 1.19.4)
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Loading config.yml...
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Successfully loaded config.yml!
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Loading profiles...
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Loaded default.yml
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Successfully loaded 1 profiles!
[10:04:07] [Server thread/INFO]: [AdvancedServerList] Loading Commands...
[10:04:07] [Server thread/ERROR]: Error occurred while enabling AdvancedServerList v3.0.0-b1 (Is it up to date?)
java.lang.NoSuchMethodError: 'org.bukkit.command.CommandMap org.bukkit.Server.getCommandMap()'
        at ch.andre601.advancedserverlist.spigot.SpigotCore.loadCommands(SpigotCore.java:75) ~[AdvancedServerList-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.AdvancedServerList.load(AdvancedServerList.java:136) ~[AdvancedServerList-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.AdvancedServerList.<init>(AdvancedServerList.java:63) ~[AdvancedServerList-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.spigot.SpigotCore.onEnable(SpigotCore.java:65) ~[AdvancedServerList-3.0.0-b1.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:533) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:447) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:589) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:414) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:250) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:975) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]

Steps to reproduce

  • Update to ASL 3.0.0-b1
  • Start server
  • Read console/log

Server List Profiles

config.yml sans comments and empty lines

unknown_player: "Anonymous"
unknown_player_uuid: "606e2ff0-ed77-4842-9d6c-e1d3321c7838"
disable_cache: false
check_updates: false

profiles/default.yml sans comments and empty lines

priority: 0
motd:
  - '&f &l{server_name}&r &f▪ {server_variant} {server_version_full}&r &f▪ private network&r'
  - '&r &6⊳&r&aCityWorld &6⊳&r&aExtraHard &6⊳&r&aGoT &6⊳&r&aLuckyBlock &6⊳&r&aSkyBlock &6⊳&r&aWinterland&r'
favicon: ''
playerCount:
  hidePlayers: false
  hover:
    - '&aWoof! Woof!'
    - '&aWho let the dogs in?'
  text: ''
  extraPlayers:
    enabled: false
    amount: 0
@Andre601
Copy link
Owner

Thanks for reporting.
Will look at it once I have time.

@Andre601
Copy link
Owner

Mind testing this version (Zip because GitHub hates jars)
AdvancedServerList-Bukkit-3.0.0-b1.zip

@Andre601 Andre601 added the Type: Bug A confirmed bug label Mar 23, 2023
@SlimeDog
Copy link
Author

SlimeDog commented Mar 24, 2023

Testing the version above (note same version string as the released version).

Paper 1.19.4-468
ProtocolLib 5.0.0-b617 (claims 1.19.4 compatibility, release a few hours ago)
AdvancedServerList 3.0.0-b1

Works great!

Spigot 1.19.4-3697
ProtocolLib 5.0.0-b617 (claims 1.19.4 compatibility, release a few hours ago)
AdvancedServerList 3.0.0-b1

On server startup

[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loading 6 libraries... please wait
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/spongepowered/configurate-yaml/4.1.2/configurate-yaml-4.1.2.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/spongepowered/configurate-core/4.1.2/configurate-core-4.1.2.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/io/leangen/geantyref/geantyref/1.3.11/geantyref-1.3.11.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/com/google/errorprone/error_prone_annotations/2.6.0/error_prone_annotations-2.6.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/yaml/snakeyaml/1.28/snakeyaml-1.28.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-api/4.12.0/adventure-api-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-key/4.12.0/adventure-key-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/examination-api/1.3.0/examination-api-1.3.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/examination-string/1.3.0/examination-string-1.3.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/annotations/23.0.0/annotations-23.0.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-minimessage/4.12.0/adventure-text-minimessage-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-legacy/4.12.0/adventure-text-serializer-legacy-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-bukkit/4.2.0/adventure-platform-bukkit-4.2.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-api/4.2.0/adventure-platform-api-4.2.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-bungeecord/4.2.0/adventure-text-serializer-bungeecord-4.2.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-nbt/4.12.0/adventure-nbt-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-gson/4.12.0/adventure-text-serializer-gson-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-gson-legacy-impl/4.12.0/adventure-text-serializer-gson-legacy-impl-4.12.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-facet/4.2.0/adventure-platform-facet-4.2.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-viaversion/4.2.0/adventure-platform-viaversion-4.2.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/com/squareup/okhttp3/okhttp/4.10.0/okhttp-4.10.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.31/kotlin-stdlib-jdk8-1.5.31.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.5.31/kotlin-stdlib-jdk7-1.5.31.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.31/kotlin-stdlib-common-1.5.31.jar
[18:16:21] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib/1.6.20/kotlin-stdlib-1.6.20.jar
[18:16:24] [Server thread/INFO]: [AdvancedServerList] Loading AdvancedServerList v3.0.0-b1
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Enabling AdvancedServerList v3.0.0-b1
[18:17:16] [Server thread/INFO]: [AdvancedServerList]            _____ _
[18:17:16] [Server thread/INFO]: [AdvancedServerList]     /\    / ____| |
[18:17:16] [Server thread/INFO]: [AdvancedServerList]    /  \  | (___ | |
[18:17:16] [Server thread/INFO]: [AdvancedServerList]   / /\ \  \___ \| |
[18:17:16] [Server thread/INFO]: [AdvancedServerList]  / ____ \ ____) | |____
[18:17:16] [Server thread/INFO]: [AdvancedServerList] /_/    \_\_____/|______|
[18:17:16] [Server thread/INFO]: [AdvancedServerList] 
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Starting AdvancedServerList v3.0.0-b1...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Platform: CraftBukkit 3697-Spigot-6ad4b93-9381350 (MC: 1.19.4)
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loading config.yml...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Successfully loaded config.yml!
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loading profiles...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loaded default.yml
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Successfully loaded 1 profiles!
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loading Commands...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Commands loaded!
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loading events...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Events loaded!
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loading playercache.json...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] No playercache.json file present. Skipping...
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Loading bStats metrics. Disable it in the global config under /plugins/bstats/
[18:17:16] [Server thread/INFO]: [AdvancedServerList] Metrics loaded!
[18:17:16] [Server thread/INFO]: [AdvancedServerList] AdvancedServerList is ready!
[18:27:57] [Netty Epoll Server IO #2/ERROR]: [AdvancedServerList] Unhandled exception occurred in onPacketSending(PacketEvent) for AdvancedServerList
java.lang.NullPointerException: Cannot read field "online" because "this.playerSample" is null
        at com.comphenix.protocol.wrappers.ping.ServerPingRecord.getPlayersOnline(ServerPingRecord.java:178) ~[?:?]
        at com.comphenix.protocol.wrappers.WrappedServerPing.getPlayersOnline(WrappedServerPing.java:208) ~[?:?]
        at ch.andre601.advancedserverlist.spigot.events.ProtocolLibEventWrapper.getOnlinePlayers(ProtocolLibEventWrapper.java:141) ~[?:?]
        at ch.andre601.advancedserverlist.core.events.PingEventHandler.handleEvent(PingEventHandler.java:49) ~[?:?]
        at ch.andre601.advancedserverlist.spigot.events.ProtocolLibEvents$2.onPacketSending(ProtocolLibEvents.java:74) ~[?:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[?:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
        at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:551) ~[?:?]
        at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:525) ~[?:?]
        at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:99) ~[?:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:571) ~[?:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.processPacketOutbound(NettyChannelProxy.java:266) ~[?:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:223) ~[?:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:233) ~[?:?]
        at net.minecraft.network.NetworkManager.a(NetworkManager.java:231) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.NetworkManager.b(NetworkManager.java:217) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.NetworkManager.a(NetworkManager.java:195) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.NetworkManager.a(NetworkManager.java:189) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.server.network.PacketStatusListener.a(PacketStatusListener.java:153) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.protocol.status.PacketStatusInStart.a(SourceFile:19) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.protocol.status.PacketStatusInStart.a(SourceFile:6) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.NetworkManager.a(NetworkManager.java:180) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.NetworkManager.a(NetworkManager.java:164) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:1) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at com.comphenix.protocol.injector.netty.channel.InboundPacketInterceptor.channelRead(InboundPacketInterceptor.java:28) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at net.minecraft.server.network.LegacyPingHandler.channelRead(LegacyPingHandler.java:91) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3697-Spigot-6ad4b93-9381350]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[netty-handler-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[netty-transport-classes-epoll-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[netty-transport-classes-epoll-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397) ~[netty-transport-classes-epoll-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]
[18:27:57] [Netty Epoll Server IO #2/ERROR]: Parameters:
  net.minecraft.network.protocol.status.PacketStatusOutServerInfo@664ffcaa[
    a=ServerPing[description=empty[siblings=[literal{BlackDog test server}]], players=Optional[ServerPingPlayerSample[max=25, online=0, sample=[]]], version=Optional[ServerData[name=Spigot 1.19.4, protocol=762]], favicon=Optional[a[iconBytes=[B@7220086f]], enforcesSecureChat=true]
  ]

@Andre601
Copy link
Owner

This one looks like a ProtocolLib bug.
While they added 1.19.4 is it WIP and bergerkiller pointed out it still doesn't support bundled packets or smth like that.

We have to wait and see.

@SlimeDog
Copy link
Author

As noted above, it works on Paper 1.19.4. However the following hex coding does not render. Am I doing something wrong?

  hover:
    - '<#ff0000>Woof! Woof!'

@Andre601
Copy link
Owner

As noted above, it works on Paper 1.19.4. However the following hex coding does not render. Am I doing something wrong?

  hover:
    - '<#ff0000>Woof! Woof!'

Hover doesn't support hex colours, so it could be an issue with that tbh.

@SlimeDog
Copy link
Author

Hover doesn't support hex colours, so it could be an issue with that tbh.

Oh, OK. Not a big thing. Is it planned?

@Andre601
Copy link
Owner

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.
Unlike MOTD is this one converted into a String, rather than a Component.

Only way this could ever be supported is by either using mods, or having Mojang add support for it (unlikely).

@Andre601 Andre601 added the Type: Dependency Issue Issue is caused by one or multiple dependencies label Mar 24, 2023
@SlimeDog
Copy link
Author

Are there different versions for proxies? AdvancedServerList 3.0.0-b1 fails on up-to-date versions

Bungee/Waterfall

[15:11:04 WARN]: Error loading plugin AdvancedServerList
java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:1013) ~[?:?]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
        at net.md_5.bungee.api.plugin.PluginClassloader.findClass(PluginClassloader.java:152) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:66) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:59) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
        at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:395) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:301) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at net.md_5.bungee.BungeeCord.start(BungeeCord.java:287) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:67) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:103) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:59) ~[waterfall-1.19-515.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:8a03f3d:515]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
        ... 13 more

Velocity

[15:03:38 ERROR]: Unable to load plugin plugins/AdvancedServerList-3.0.0-b1.jar
com.velocitypowered.api.plugin.InvalidPluginException: The plugin file AdvancedServerList-3.0.0-b1.jar appears to be a Bukkit or BungeeCord plugin. Velocity does not support Bukkit or BungeeCord plugins.
        at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.getSerializedPluginInfo(JavaPluginLoader.java:154) ~[velocity-3.2.0-244.jar:3.2.0-SNAPSHOT (git-c7ba5255-b244)]
        at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.loadCandidate(JavaPluginLoader.java:64) ~[velocity-3.2.0-244.jar:3.2.0-SNAPSHOT (git-c7ba5255-b244)]
        at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:96) ~[velocity-3.2.0-244.jar:3.2.0-SNAPSHOT (git-c7ba5255-b244)]
        at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:345) ~[velocity-3.2.0-244.jar:3.2.0-SNAPSHOT (git-c7ba5255-b244)]
        at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:227) ~[velocity-3.2.0-244.jar:3.2.0-SNAPSHOT (git-c7ba5255-b244)]
        at com.velocitypowered.proxy.Velocity.main(Velocity.java:69) ~[velocity-3.2.0-244.jar:3.2.0-SNAPSHOT (git-c7ba5255-b244)]

@Andre601
Copy link
Owner

There obviously are.
There are separate downloads on GitHub and Modrinth respectively (There is a reason Spigot download links to the GH release).

@SlimeDog
Copy link
Author

OK. I was on Hangar, where there appeared to be only one release, but I was mistaken (it's a bit obscure).

@Andre601
Copy link
Owner

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.

@SlimeDog
Copy link
Author

All good on Bungee/Waterfall and Velocity. Thanks.

@Andre601
Copy link
Owner

ProtocolLib published a new version on their jenkins.
Would apreciate if you test with that.

@SlimeDog
Copy link
Author

Even though they fixed a breaking problem with a Citizens update (b2994), ProtocolLib b621 still doesn't play well with Citizens

[11:14:04] [Server thread/ERROR]: [Citizens] ProtocolLib support not enabled: enable debug to see error
[11:14:04] [Server thread/WARN]: java.lang.RuntimeException: Unable to find RelativeMovement (world.entity.RelativeMovement, EnumPlayerTeleportFlags, PacketPlayOutPosition$EnumPlayerTeleportFlags, network.protocol.game.PacketPlayOutPosition$EnumPlayerTeleportFlags)
[11:14:04] [Server thread/WARN]:        at com.comphenix.protocol.utility.MinecraftReflection.lambda$getMinecraftClass$3(MinecraftReflection.java:1446)
[11:14:04] [Server thread/WARN]:        at java.base/java.util.Optional.orElseThrow(Optional.java:403)
[11:14:04] [Server thread/WARN]:        at com.comphenix.protocol.utility.MinecraftReflection.getMinecraftClass(MinecraftReflection.java:1446)
[11:14:04] [Server thread/WARN]:        at net.citizensnpcs.ProtocolLibListener.<init>(ProtocolLibListener.java:46)
[11:14:04] [Server thread/WARN]:        at net.citizensnpcs.Citizens$CitizensLoadTask.run(Citizens.java:598)
[11:14:04] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:82)
[11:14:04] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:415)
[11:14:04] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1259)
[11:14:04] [Server thread/WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:388)
[11:14:04] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1200)
[11:14:04] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1017)
[11:14:04] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
[11:14:04] [Server thread/WARN]:        at java.base/java.lang.Thread.run(Thread.java:1589)

@SlimeDog
Copy link
Author

Spigot 1.19.4-3699
ProtocolLib

On server start-up, all looks good

[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loading 6 libraries... please wait
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/spongepowered/configurate-yaml/4.1.2/configurate-yaml-4.1.2.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/spongepowered/configurate-core/4.1.2/configurate-core-4.1.2.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/io/leangen/geantyref/geantyref/1.3.11/geantyref-1.3.11.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/com/google/errorprone/error_prone_annotations/2.6.0/error_prone_annotations-2.6.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/yaml/snakeyaml/1.28/snakeyaml-1.28.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-api/4.12.0/adventure-api-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-key/4.12.0/adventure-key-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/examination-api/1.3.0/examination-api-1.3.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/examination-string/1.3.0/examination-string-1.3.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/annotations/23.0.0/annotations-23.0.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-minimessage/4.12.0/adventure-text-minimessage-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-legacy/4.12.0/adventure-text-serializer-legacy-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-bukkit/4.2.0/adventure-platform-bukkit-4.2.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-api/4.2.0/adventure-platform-api-4.2.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-bungeecord/4.2.0/adventure-text-serializer-bungeecord-4.2.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-nbt/4.12.0/adventure-nbt-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-gson/4.12.0/adventure-text-serializer-gson-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-text-serializer-gson-legacy-impl/4.12.0/adventure-text-serializer-gson-legacy-impl-4.12.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-facet/4.2.0/adventure-platform-facet-4.2.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/net/kyori/adventure-platform-viaversion/4.2.0/adventure-platform-viaversion-4.2.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/com/squareup/okhttp3/okhttp/4.10.0/okhttp-4.10.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/com/squareup/okio/okio-jvm/3.0.0/okio-jvm-3.0.0.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.31/kotlin-stdlib-jdk8-1.5.31.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.5.31/kotlin-stdlib-jdk7-1.5.31.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.31/kotlin-stdlib-common-1.5.31.jar
[11:24:14] [Server thread/INFO]: [AdvancedServerList] Loaded library /home/ram/MC/libraries/org/jetbrains/kotlin/kotlin-stdlib/1.6.20/kotlin-stdlib-1.6.20.jar
[11:24:17] [Server thread/INFO]: [AdvancedServerList] Loading AdvancedServerList v3.0.0-b1
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Enabling AdvancedServerList v3.0.0-b1
[11:24:58] [Server thread/INFO]: [AdvancedServerList]            _____ _
[11:24:58] [Server thread/INFO]: [AdvancedServerList]     /\    / ____| |
[11:24:58] [Server thread/INFO]: [AdvancedServerList]    /  \  | (___ | |
[11:24:58] [Server thread/INFO]: [AdvancedServerList]   / /\ \  \___ \| |
[11:24:58] [Server thread/INFO]: [AdvancedServerList]  / ____ \ ____) | |____
[11:24:58] [Server thread/INFO]: [AdvancedServerList] /_/    \_\_____/|______|
[11:24:58] [Server thread/INFO]: [AdvancedServerList] 
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Starting AdvancedServerList v3.0.0-b1...
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Platform: CraftBukkit 3699-Spigot-6ad4b93-f92c945 (MC: 1.19.4)
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loading config.yml...
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Successfully loaded config.yml!
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loading profiles...
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loaded default.yml
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Successfully loaded 1 profiles!
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loading Commands...
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Commands loaded!
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loading events...
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Events loaded!
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loading playercache.json...
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loaded 1 players into cache!
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Loading bStats metrics. Disable it in the global config under /plugins/bstats/
[11:24:58] [Server thread/INFO]: [AdvancedServerList] Metrics loaded!
[11:24:58] [Server thread/INFO]: [AdvancedServerList] AdvancedServerList is ready!

but the MOTD does not display. Profile is the same as on Paper, which displays correctly.

On reload

>asl reload
[11:32:47] [Server thread/WARN]: Unexpected exception while parsing console command "asl reload"
org.bukkit.command.CommandException: Unhandled exception executing command 'asl' in plugin AdvancedServerList v3.0.0-b1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:841) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchServerCommand(CraftServer.java:826) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.dedicated.DedicatedServer.bh(DedicatedServer.java:413) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:389) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1200) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1017) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Caused by: java.lang.NoSuchMethodError: 'void org.bukkit.command.CommandSender.sendMessage(net.kyori.adventure.text.Component)'
        at ch.andre601.advancedserverlist.paper.commands.PaperCmdSender.sendMsg(PaperCmdSender.java:47) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.interfaces.commands.CmdSender.sendPrefixedMsg(CmdSender.java:42) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.commands.CommandHandler$Reload.handle(CommandHandler.java:99) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.commands.CommandHandler.handle(CommandHandler.java:61) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.bukkit.commands.CmdAdvancedServerList.onCommand(CmdAdvancedServerList.java:68) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        ... 9 more

@Andre601
Copy link
Owner

>asl reload
[11:32:47] [Server thread/WARN]: Unexpected exception while parsing console command "asl reload"
org.bukkit.command.CommandException: Unhandled exception executing command 'asl' in plugin AdvancedServerList v3.0.0-b1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:841) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchServerCommand(CraftServer.java:826) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.dedicated.DedicatedServer.bh(DedicatedServer.java:413) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:389) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1200) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1017) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Caused by: java.lang.NoSuchMethodError: 'void org.bukkit.command.CommandSender.sendMessage(net.kyori.adventure.text.Component)'
        at ch.andre601.advancedserverlist.paper.commands.PaperCmdSender.sendMsg(PaperCmdSender.java:47) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.interfaces.commands.CmdSender.sendPrefixedMsg(CmdSender.java:42) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.commands.CommandHandler$Reload.handle(CommandHandler.java:99) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.core.commands.CommandHandler.handle(CommandHandler.java:61) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at ch.andre601.advancedserverlist.bukkit.commands.CmdAdvancedServerList.onCommand(CmdAdvancedServerList.java:68) ~[AdvancedServerList-Bukkit-3.0.0-b1.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        ... 9 more

That's... interesting.
It looks like the plugin uses the wrong platform-specific Command sender?

@SlimeDog
Copy link
Author

It looks like the plugin uses the wrong platform-specific Command sender?

Well, yes.

@Andre601
Copy link
Owner

Could you try out this build? I've split up the command handling into their own classes to avoid this issue:

AdvancedServerList-Bukkit-3.0.0-b1.zip

@Andre601
Copy link
Owner

Oh actually... I see the issue I made 🤦

I've used new CmdAdvancedServerList(this) in the SpigotCore class when I actually should add the BukkitAudiences there too, as that's the one that distinguishes the different servers from each other...
I actually make a new build that fixes this.

@Andre601
Copy link
Owner

Here's the next build.
AdvancedServerList-Bukkit-3.0.0-b1.zip

@SlimeDog
Copy link
Author

No errors on start-up or reload, but the MOTD still doesn't display.

It would be really helpful if you didn't reuse version strings. I've tried three different 3.0.0-b1

md5=fc127a92ce55561f31fa7d5b6c12db0f  AdvancedServerList-Bukkit-3.0.0-b1.jar   Mar 23 12:19
md5=44bbda00fdcd2dcb946be869aaf3e176  AdvancedServerList-Bukkit-3.0.0-b1.jar   Mar 26 11:51
md5=6daabe5bfb8de07e7684b7d06de45fbc  AdvancedServerList-Bukkit-3.0.0-b1.jar   Mar 26 11:56

@Andre601
Copy link
Owner

No errors on start-up or reload, but the MOTD still doesn't display.

It would be really helpful if you didn't reuse version strings. I've tried three different 3.0.0-b1

md5=fc127a92ce55561f31fa7d5b6c12db0f  AdvancedServerList-Bukkit-3.0.0-b1.jar   Mar 23 12:19
md5=44bbda00fdcd2dcb946be869aaf3e176  AdvancedServerList-Bukkit-3.0.0-b1.jar   Mar 26 11:51
md5=6daabe5bfb8de07e7684b7d06de45fbc  AdvancedServerList-Bukkit-3.0.0-b1.jar   Mar 26 11:56

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.

@SlimeDog
Copy link
Author

SlimeDog commented Mar 26, 2023

Could you test it on Spigot and identify the issue? With my profile?

@Andre601
Copy link
Owner

There seems to be a few new builds with ProtocolLib including one that fixes player samples... So maybe that fixed MOTD too?
Will try some smaller testings, but in all honesty am I not that concerned about Spigot here...

@SlimeDog
Copy link
Author

There seems to be a few new builds with ProtocolLib

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.

I not that concerned about Spigot

That is your choice, of course. But if it doesn't work on Spigot, perhaps you want to go the route of ChessCraft, Insights and some others, and publish that it's Paper only.

@Andre601
Copy link
Owner

That is your choice, of course. But if it doesn't work on Spigot, perhaps you want to go the route of ChessCraft, Insights and some others, and publish that it's Paper only.

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.

@SlimeDog
Copy link
Author

Thanks for the info. I will keep testing ProtocolLib updates, and anything you care to post. All I can guarantee is fast turnaround.

@SlimeDog
Copy link
Author

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.

@Andre601
Copy link
Owner

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.

dmulloy2/ProtocolLib#2268

@SlimeDog
Copy link
Author

Just to keep track: it's still an issue with ProtocolLib 5.0.0-b625.

@Andre601
Copy link
Owner

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).

AdvancedServerList-Bukkit-3.0.0-b2.zip

@SlimeDog
Copy link
Author

No. Broken on both variants.
On Paper 1.19.4-477
``
[10:08:50] [Netty Epoll Server IO #2/INFO]: [AdvancedServerList] MOTD:
[10:08:50] [Netty Epoll Server IO #2/ERROR]: Could not pass event PaperServerListPingEventImpl to AdvancedServerList v3.0.0-b2
java.util.UnknownFormatConversionException: Conversion = '<'
at java.util.Formatter.parse(Formatter.java:2842) ~[?:?]
at java.util.Formatter.format(Formatter.java:2763) ~[?:?]
at java.util.Formatter.format(Formatter.java:2717) ~[?:?]
at java.lang.String.format(String.java:4150) ~[?:?]
at ch.andre601.advancedserverlist.bukkit.logging.BukkitLogger.info(BukkitLogger.java:43) ~[AdvancedServerList-Bukkit-3.0.0-b2.jar:?]
at ch.andre601.advancedserverlist.core.events.PingEventHandler.handleEvent(PingEventHandler.java:80) ~[AdvancedServerList-Bukkit-3.0.0-b2.jar:?]
at ch.andre601.advancedserverlist.paper.events.PaperPingEvent.onPaperServerListPing(PaperPingEvent.java:45) ~[AdvancedServerList-Bukkit-3.0.0-b2.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor806.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:git-Paper-477]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.19.4.jar:git-Paper-477]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.19.4.jar:git-Paper-477]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at com.destroystokyo.paper.network.PaperLegacyStatusClient.processRequest(PaperLegacyStatusClient.java:50) ~[paper-1.19.4.jar:?]
at net.minecraft.server.network.LegacyQueryHandler.readLegacy1_6(LegacyQueryHandler.java:191) ~[?:?]
at net.minecraft.server.network.LegacyQueryHandler.channelRead(LegacyQueryHandler.java:86) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[netty-handler-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152) ~[netty-handler-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[netty-transport-classes-epoll-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[netty-transport-classes-epoll-4.1.87.Final.jar:4.1.87.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397) ~[netty-transport-classes-epoll-4.1.87.Final.jar:4.1.87.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]

On Spigot 1.19.4-3699

[10:10:55] [Netty Epoll Server IO #1/INFO]: [AdvancedServerList] MOTD:
[10:10:55] [Netty Epoll Server IO #3/ERROR]: [AdvancedServerList] Unhandled exception occurred in onPacketSending(PacketEvent) for AdvancedServerList
java.util.UnknownFormatConversionException: Conversion = '<'
at java.util.Formatter.parse(Formatter.java:2842) ~[?:?]
at java.util.Formatter.format(Formatter.java:2763) ~[?:?]
at java.util.Formatter.format(Formatter.java:2717) ~[?:?]
at java.lang.String.format(String.java:4150) ~[?:?]
at ch.andre601.advancedserverlist.bukkit.logging.BukkitLogger.info(BukkitLogger.java:43) ~[?:?]
at ch.andre601.advancedserverlist.core.events.PingEventHandler.handleEvent(PingEventHandler.java:80) ~[?:?]
at ch.andre601.advancedserverlist.spigot.events.ProtocolLibEvents$2.onPacketSending(ProtocolLibEvents.java:74) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:208) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeUnpackedPacketSending(SortedPacketListenerList.java:193) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:139) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:551) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:525) ~[?:?]
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:100) ~[?:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:566) ~[?:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.processPacketOutbound(NettyChannelProxy.java:266) ~[?:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:223) ~[?:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:233) ~[?:?]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:231) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.NetworkManager.b(NetworkManager.java:217) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:195) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:189) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.server.network.PacketStatusListener.a(PacketStatusListener.java:153) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.protocol.status.PacketStatusInStart.a(SourceFile:19) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.protocol.status.PacketStatusInStart.a(SourceFile:6) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:180) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:164) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:1) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at com.comphenix.protocol.injector.netty.channel.InboundPacketInterceptor.channelRead(InboundPacketInterceptor.java:28) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308) ~[netty-codec-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at net.minecraft.server.network.LegacyPingHandler.channelRead(LegacyPingHandler.java:91) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3699-Spigot-6ad4b93-f92c945]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[netty-handler-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[netty-transport-classes-epoll-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[netty-transport-classes-epoll-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397) ~[netty-transport-classes-epoll-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]

@Andre601
Copy link
Owner

That looks to me like a wrong formatted yaml file.
Make sure that any text using <> is in (double) quotes.

@SlimeDog
Copy link
Author

SlimeDog commented Mar 28, 2023

Same errors, in same configuration as above, with profiles/default.yml changed to use double-quotes (sans comments and empty lines)

priority: 0
motd:
  - "<white> <bold>%server_name%</bold> ▪ %server_variant% %server_version_full% ▪ private network</white>"
  - "<gold> ⊳</gold><green>CityWorld</green> <gold>⊳</gold><green>ExtraHard</green> <gold>⊳</gold><green>GoT</green> <gold>⊳</gold><green>LuckyBlock</green> <gold>⊳</gold><green>SkyBlock</green> <gold>⊳</gold><green>Winterland</green>"
favicon: ''
playerCount:
  hidePlayers: false
  hover:
    - "<green>Woof! Woof!"
    - "<green>Who let the dogs in?"
  text: ''
  extraPlayers:
    enabled: false
    amount: 0

@SlimeDog
Copy link
Author

SlimeDog commented Mar 28, 2023

Note that the examples in profiles/default.yml use single-quotes.

#profiles:
#  - motd:
#      - '<aqua>Line 1'
#      - '<aqua>Line 2'
#    favicon: ''
#    playerCount:
#      hidePlayers: false
#      hover:
#        - '<green>Line 1'
#        - '<green>Line 2'
#        - '<green>Line 3'
#      text: ''
#      extraPlayers:
#        enabled: false
#        amount: 0

@Andre601
Copy link
Owner

Okay... Looks like some strange behaviour of String.format and the usage of <...

It's debug lines tho, so it shouldn't affect stuff.
Fixed version (hopefully):
AdvancedServerList-Bukkit-3.0.0-b2_v2.zip

@SlimeDog
Copy link
Author

With profiles/default.yml above, AdvancedServerList-Bukkit-3.0.0-b2_v2 works on Spigot 1.19.4-3699 and Paper 1.19.4-477 with ProtocolLib 5.0.0-b626.

Thanks.

@Andre601
Copy link
Owner

So no more errors?

@SlimeDog
Copy link
Author

With profiles/default.yml above, AdvancedServerList-Bukkit-3.0.0-b2_v2 works on Spigot 1.19.4-3699 and Paper 1.19.4-477 with ProtocolLib 5.0.0-b626, without errors.

@Andre601
Copy link
Owner

Good. Then I'll prepare a release tomorrow, so that this can be fixed.

@SlimeDog
Copy link
Author

Confirmed fixed in the released version. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug A confirmed bug Type: Dependency Issue Issue is caused by one or multiple dependencies
Projects
None yet
Development

No branches or pull requests

2 participants