Question Error with the ProtocolLib plugin on PaperMC-1.20.6

Reizi

New member
Jun 12, 2024
2
0
1
When starting a local server on PaperMS, this error occurs and I can’t figure out how to solve it.
[22:31:24 INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.2.0-SNAPSHOT-679 [22:31:24 WARN]: [ProtocolLib] Version (MC: 1.20.6) has not yet been tested! Proceed with caution. [22:31:26 ERROR]: [ProtocolLib] Assuming package version: v1_20_R1 [22:31:26 ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib. If this problem hasn't already been reported, please open a ticket at https://github.com/dmulloy2/ProtocolLib/issues with the following data: Stack Trace: java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 10000, banned: 1000], type={ type input instanceof interface java.util.Map }} at ProtocolLib.jar//com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:352) at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.createNewRegister(PacketRegistry.java:183) at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:334) at ProtocolLib.jar//com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:369) at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:120) at ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121) at ProtocolLib.jar//com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183) at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59) at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18) at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:510) at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:286) at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) at java.base/java.lang.Thread.run(Thread.java:1583) Dump: Parameters: [NULL] Sender: com.comphenix.protocol.ProtocolLib@2935a1ca[ statistics=<null> packetTask=<null> tickCounter=0 configExpectedMod=-1 updater=com.comphenix.protocol.updater.SpigotUpdater@26d09140 redirectHandler=<null> scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@22ef5fa1 commandProtocol=<null> commandPacket=<null> commandFilter=<null> packetLogging=<null> skipDisable=false isEnabled=false loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@4a13ce5e server=CraftServer{serverName=Paper,serverVersion=1.20.6-138-906df69,minecraftVersion=1.20.6} file=plugins\.paper-remapped\ProtocolLib.jar description=org.bukkit.plugin.PluginDescriptionFile@2e0dd6b8 pluginMeta=org.bukkit.plugin.PluginDescriptionFile@2e0dd6b8 dataFolder=plugins\ProtocolLib classLoader=PluginClassLoader{plugin=ProtocolLib v5.2.0-SNAPSHOT-679, pluginEnabled=false, url=plugins\.paper-remapped\ProtocolLib.jar} naggable=true newConfig=YamlConfiguration[path='', root='YamlConfiguration'] configFile=plugins\ProtocolLib\config.yml logger=com.destroystokyo.paper.utils.PaperPluginLogger@42f88959 lifecycleEventManager=io.papermc.paper.plugin.lifecycle.event.PaperLifecycleEventManager@3902c372 allowsLifecycleRegistration=true ] Version: ProtocolLib v5.2.0-SNAPSHOT-679 Java Version: 21.0.3 Server: 1.20.6-138-906df69 (MC: 1.20.6) [22:31:27 INFO]: [ProtocolLib] Enabling ProtocolLib v5.2.0-SNAPSHOT-679 [22:31:27 ERROR]: ****************************************************** [22:31:27 ERROR]: *** ProtocolLib does not support plugin reloaders! *** [22:31:27 ERROR]: *** Please use the built-in reload command! *** [22:31:27 ERROR]: ****************************************************** [22:31:27 INFO]: [ProtocolLib] Disabling ProtocolLib v5.2.0-SNAPSHOT-679
 
Logs
https://paste.gg/p/anonymous/3d607629a66343f5958327dfe6fce3b1
Timings
https://timings.aikar.co/dev/?id=555a9af4e7bb4e8c942e4e0a34f6ca71
Version Output
[22:38:07] This server is running Paper version 1.20.6-138-master@906df69 (2024-06-10T06:32:15Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.20.6-137-bd5867a (MC: 1.20.6)
Solution
I'd recommend updating ProtocolLib. Their build page states that version 5.2.0 only works up to Minecraft 1.20.4. Version 5.3.0 works for 1.20.5 and later, which is what you are using.

stefvanschie

Moderator
Staff member
Dec 17, 2021
120
7
18
18
I'd recommend updating ProtocolLib. Their build page states that version 5.2.0 only works up to Minecraft 1.20.4. Version 5.3.0 works for 1.20.5 and later, which is what you are using.
 
Solution