After installing ProtocolStringReplacer, HUB cannot be used. The plug-in version used is the latest version.The current version of the server is 1.20.1 paper
[Bug] Unable to use HUB normally
#5316 opened by Unknown 2 years ago
Are any errors reported? What happens to the HUD? How does it appear?
There is no error and it can be started normally. After entering the server, the player cannot view any hub, and the default hud cannot be viewed either.
Related instructions can be entered normally without any errors.
Without any more information, I can't really help you. My suggestion would be to drop that plugin, because it's obviously the culprit here. I'll keep this ticket open in the case you provide any more details or I get around to testing compatibility manually.
[22:01:08 INFO]: realpq issued server command: /huds layout realpq add gradient-layout-side
[22:01:08 ERROR]: [MythicHUD] [ACF] Exception in command: mythichuds layout realpq add gradient-layout-side
[22:01:08 ERROR]: [MythicHUD] [ACF] java.lang.IllegalStateException: zip file closed
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:846)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:338)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.util.jar.JarFile.getEntry(JarFile.java:516)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:471)
[22:01:08 ERROR]: [MythicHUD] [ACF] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:195)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
[22:01:08 ERROR]: [MythicHUD] [ACF] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155)
[22:01:08 ERROR]: [MythicHUD] [ACF] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MMOCore-1.12.1-55.jar//net.Indyuce.mmocore.comp.placeholder.RPGPlaceholders.onRequest(RPGPlaceholders.java:61)
[22:01:08 ERROR]: [MythicHUD] [ACF] at PlaceholderAPI-2.11.6 (1).jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[22:01:08 ERROR]: [MythicHUD] [ACF] at PlaceholderAPI-2.11.6 (1).jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[22:01:08 ERROR]: [MythicHUD] [ACF] at PlaceholderAPI-2.11.6 (1).jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.comp.parser.PlaceholderAPIParser.parse(PlaceholderAPIParser.java:11)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.manager.ParserManagerImpl.parse(ParserManagerImpl.java:31)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.hud.active.layer.TextActiveLayer.lambda$new$0(TextActiveLayer.java:38)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.hud.active.layer.TextActiveLayer.update(TextActiveLayer.java:56)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.hud.active.layer.TextActiveLayer.<init>(TextActiveLayer.java:43)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.hud.active.layer.ActiveLayer.getLayer(ActiveLayer.java:34)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.hud.active.element.ActiveElement.<init>(ActiveElement.java:37)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.hud.active.element.ActiveLayout.<init>(ActiveLayout.java:23)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.api.HudHolder.addLayout(HudHolder.java:162)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.command.MythicHUDCommand.onLayoutCommand(MythicHUDCommand.java:53)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.libraries.acf.RegisteredCommand.invoke(RegisteredCommand.java:152)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.libraries.acf.BaseCommand.executeCommand(BaseCommand.java:578)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.libraries.acf.BaseCommand.execute(BaseCommand.java:513)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.libraries.acf.RootCommand.execute(RootCommand.java:99)
[22:01:08 ERROR]: [MythicHUD] [ACF] at MythicHUD-1.0.0.jar//io.lumine.mythichud.libraries.acf.BukkitRootCommand.execute(BukkitRootCommand.java:84)
[22:01:08 ERROR]: [MythicHUD] [ACF] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155)
[22:01:08 ERROR]: [MythicHUD] [ACF] at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:987)
[22:01:08 ERROR]: [MythicHUD] [ACF] at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64)
[22:01:08 ERROR]: [MythicHUD] [ACF] at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:324)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:308)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2354)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.network.PlayerConnection.lambda$handleChatCommand$21(PlayerConnection.java:2314)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.util.thread.IAsyncTaskHandler.b(IAsyncTaskHandler.java:59)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.TickTask.run(TickTask.java:18)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1338)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1315)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1308)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.p_(MinecraftServer.java:1286)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[22:01:08 ERROR]: [MythicHUD] [ACF] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)
[22:01:08 ERROR]: [MythicHUD] [ACF] at java.base/java.lang.Thread.run(Thread.java:1583)
I found the problem. It was that mmocore and hud had some conflicts that prevented them from loading. I am currently using the latest versions.
The problem is that MMOcore conflicts with this plugin
Conflicts how? The error you provided above leads me to believe MMOCore is requesting a class from a plugin that is disabled.
I used a robot to analyze this error and it said java.lang.IllegalStateException: zip file closed, which usually means that a ZIP file (usually the plugin's own JAR file) was accidentally closed during the loading or running of the plugin.
Are there any plugins on your server that are disabled? Particularly dependencies or soft dependencies of MMOCore?
Can you send your whole server log and send upload it here?
I am editing now, please wait
I am from China, so my English may not be very standard.
[Legacy attachment omitted]
Do you need me to provide the corresponding plug-in?
The version of MMOCore you are using is not compatible with your version of MythicLib/MythicMobs.
[22:25:15] [Server thread/ERROR]: Error occurred while enabling MMOCore v1.12.1-SNAPSHOT (Is it up to date?)
java.lang.NoClassDefFoundError: io/lumine/mythic/lib/util/FileUtils
at net.Indyuce.mmocore.manager.ConfigManager.<init>(ConfigManager.java:49) ~[MMOCore-1.12.1-55.jar:?]
at net.Indyuce.mmocore.MMOCore.initializePlugin(MMOCore.java:304) ~[MMOCore-1.12.1-55.jar:?]
at net.Indyuce.mmocore.MMOCore.onEnable(MMOCore.java:213) ~[MMOCore-1.12.1-55.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-196]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:642) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:635) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:434) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: io.lumine.mythic.lib.util.FileUtils
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:183) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 15 more
The errors you are receiving from MythicHUD are caused by this incompatibility. Updating MMOCore and/or MythicLib/MythicMobs will fix the errors you are encountering.
I'm updating to the latest version now, please try it.
The plugins used are all the latest versions. The problems encountered are the two plugins MMOCore and ProtocolStringReplacer. The MythicHUD plugin cannot load the hud when the two plugins are running at the same time. Uninstalling any of them will load the hud normally. The ProtocolStringReplacer plugin is free and very important to me. It can translate and replace the corresponding characters. MMOCore is paid, but it is indispensable for RPG skill release.