Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新 ProtocolLib 5.0 #3

Open
ApliNi opened this issue May 17, 2022 · 7 comments
Open

更新 ProtocolLib 5.0 #3

ApliNi opened this issue May 17, 2022 · 7 comments

Comments

@ApliNi
Copy link

ApliNi commented May 17, 2022

可以支持 ProtocolLib 5.0 吗?
其他插件需要新的ProtocolLib才能运行, 我无法再使用4.7版本

[00:08:35 INFO]: [ProtocolLib] Loading ProtocolLib v5.0.0-SNAPSHOT-b554
[00:08:36 INFO]: [HAProxyDetector] Loading HAProxyDetector v3.0.1
[00:08:36 INFO]: [ProtocolLib] Enabling ProtocolLib v5.0.0-SNAPSHOT-b554
[00:08:36 INFO]: [ProtocolLib] Started structure compiler thread.
[00:08:36 INFO]: [HAProxyDetector] Enabling HAProxyDetector v3.0.1*
[00:08:36 ERROR]: Error occurred while enabling HAProxyDetector v3.0.1 (Is it up to date?)
java.lang.NoClassDefFoundError: com/comphenix/protocol/injector/netty/ProtocolInjector
        at net.andylizi.haproxydetector.bukkit.BukkitMain.onEnable(BukkitMain.java:59) ~[haproxy-detector-3.0.1.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Purpur-1428]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Purpur-1428]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Purpur-1428]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Purpur-1428]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Purpur-1428]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[patched_1.17.1.jar:git-Purpur-1428]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1233) ~[patched_1.17.1.jar:git-Purpur-1428]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-1428]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: com.comphenix.protocol.injector.netty.ProtocolInjector
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:153) ~[patched_1.17.1.jar:git-Purpur-1428]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:105) ~[patched_1.17.1.jar:git-Purpur-1428]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        ... 10 more
[00:08:36 INFO]: [HAProxyDetector] Disabling HAProxyDetector v3.0.1
@andylizi
Copy link
Owner

看了一下,ProtocolLib 5.0.0 都还没正式发布呢,十天前这个版本号才第一次出现。我实在无法想象会有插件依赖这么新的版本……你可能指的是最近发布的 4.8.0?

最终肯定是打算跟进的,但我希望至少等到 5.0.0 正式发布吧,因为我看这次有一大堆修改,尤其是我插件依赖的注入逻辑部分,可能后面还会有改变。

@ApliNi
Copy link
Author

ApliNi commented Jul 15, 2022

似乎ProtocolLib很难发布正式版, 但只有5.0.0的开发板支持MC1.19. 是否能考虑提前一下?

@andylizi
Copy link
Owner

好吧,也是。一定要等正式版的话得不知道猴年马月了,何况这还是一个 major 版本。不过这种情况的话那就得两个版本都要想办法兼容了,头大……

最近这段时间太忙了,不过到了八月应该就有空了吧……

@andylizi
Copy link
Owner

咳咳,眼看就要八月底了,我汇报一下进度哈。

其实支持 5.0.0 的代码一周前已经写好了,我本地也简单测试了一下,应该没问题。之所以现在还没发布,是我看这不断改需求之后的代码组织的太烂了,想重构一下再发布。但现在麻烦事情一件接一件,一直没找到时间写完。

总而言之,快照版我先发出来,急得话可以先用着。至于正式版嘛……之后再说(逃

haproxy-detector-3.1.0-SNAPSHOT.jar.zip
(Github 不让上传 jar,记得解压 zip)

@NovaPixell
Copy link

咳咳,眼看就要八月底了,我汇报一下进度哈。

其实支持 5.0.0 的代码一周前已经写好了,我本地也简单测试了一下,应该没问题。之所以现在还没发布,是我看这不断改需求之后的代码组织的太烂了,想重构一下再发布。但现在麻烦事情一件接一件,一直没找到时间写完。

总而言之,快照版我先发出来,急得话可以先用着。至于正式版嘛……之后再说(逃

haproxy-detector-3.1.0-SNAPSHOT.jar.zip (Github 不让上传 jar,记得解压 zip)

Nice!

@chaojixiaomengxin
Copy link

chaojixiaomengxin commented Jul 30, 2023

现在ProtocolLib已经正式更新到5.0.0了吧

@fmfmqs
Copy link

fmfmqs commented Dec 12, 2023

已经在用着ProtocolLib-v5.1.1了orz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants