所以,我正在为我的Minecraft服务器制作一个板条箱插件等等,这不是重点。
奇怪的是,plugin.yml
文件到目前为止一直运行良好,在过去的一周里,每次我导出并测试它时,它都很好。但是现在我突然得到一个错误,老实说我不知道这是什么。我已经尝试过使用Google搜索,但是发现的所有内容似乎都无济于事。
错误:
31.05 07:27:24 [Server] ERROR Could not load 'plugins/ALCrates.jar' in folder 'plugins'
31.05 07:27:24 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
31.05 07:27:24 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:162) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
31.05 07:27:24 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
31.05 07:27:24 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
31.05 07:27:24 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
31.05 07:27:24 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
31.05 07:27:24 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
31.05 07:27:24 [Server] INFO Caused by: java.util.zip.ZipException: invalid CEN header (bad signature)
31.05 07:27:24 [Server] INFO at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_212]
31.05 07:27:24 [Server] INFO at java.util.zip.ZipFile.<init>(ZipFile.java:225) ~[?:1.8.0_212]
31.05 07:27:24 [Server] INFO at java.util.zip.ZipFile.<init>(ZipFile.java:155) ~[?:1.8.0_212]
31.05 07:27:24 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:166) ~[?:1.8.0_212]
31.05 07:27:24 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:130) ~[?:1.8.0_212]
31.05 07:27:24 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
31.05 07:27:24 [Server] INFO ... 5 more
plugin.yml
:
name: ALCrates
author: Synysterrr
version: 1.0
main: me.syn.alcrates.main.Main
description: Custom Crates for AfterLife
commands:
alcrates:
aliases: [alcrate, crates, crate]
description: Base Command
有什么想法吗?