ToolBelt

9.6k Downloads

Won't load in mcpc-plus-1.7.4-R04

DadYoshi opened this issue ยท 4 comments

commented

Errors below:

3:43:01 PM SEVERE: Could not load 'plugins\ToolBelt.jar' in folder 'plugins'\par
3:43:01 PM org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml\par
\cf2 3:43:01 PM \tab at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:194)\par
3:43:01 PM \tab at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133)\par
3:43:01 PM \tab at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:298)\par
3:43:01 PM \tab at cpw.mods.fml.common.event.FMLServerAboutToStartEvent.(FMLServerAboutToStartEvent.java:29)\par
\cf1 3:43:02 PM \tab at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\par
3:43:02 PM \tab at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\par
3:43:02 PM \tab at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\par
\cf2 3:43:02 PM \tab at java.lang.reflect.Constructor.newInstance(Unknown Source)\par
3:43:02 PM \tab at cpw.mods.fml.common.LoaderState.getEvent(LoaderState.java:84)\par
3:43:02 PM \tab at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)\par
3:43:02 PM \tab at cpw.mods.fml.common.Loader.serverAboutToStart(Loader.java:793)\par
3:43:02 PM \tab at cpw.mods.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:263)\par
3:43:02 PM \tab at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:290)\par
3:43:02 PM \tab at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:621)\par
3:43:02 PM \tab at java.lang.Thread.run(Unknown Source)\par
3:43:02 PM Caused by: java.util.zip.ZipException: error in opening zip file\par
3:43:03 PM \tab at java.util.zip.ZipFile.open(Native Method)\par
3:43:03 PM \tab at java.util.zip.ZipFile.(Unknown Source)\par
\cf1 3:43:03 PM Mapping loaded 7 packages, 7454 classes, 25708 fields, 51030 methods, flags 3ff6\par
3:43:04 PM Loaded inheritance map of 883 classes\par
\cf2 3:43:04 PM \tab at java.util.zip.ZipFile.(Unknown Source)\par
3:43:04 PM \tab at java.util.jar.JarFile.(Unknown Source)\par
3:43:04 PM \tab at java.util.jar.JarFile.(Unknown Source)\par
3:43:04 PM \tab at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:182)\par
\cf1 3:43:04 PM \tab ... 14 more\par
}

commented

Hmm, I've not done any testing or work with mcpc-plus before, so I'm starting from zero here.

A quick googleing on the name lead me to:
http://ci.md-5.net/job/MCPC-Plus/
From which I downloaded:
http://ci.md-5.net/job/MCPC-Plus/lastSuccessfulBuild/artifact/build/distributions/mcpc-plus-1.7.2-R0.4-forge1033-installer.jar

I ran that and had it install the server to a directory. From there I ran:
java -jar mcpc-plus-1.7.2-R0.4-forge1033-B47.jar

This did a bunch of setup. One thing it did is create a "plugins" folder. I copied ToolBelt.jar version 0.9 into that folder, and entered "reload" on the console. This spit out a bunch of text including the lines below:
Feb 22, 2014 11:52:09 PM org.bukkit.plugin.PluginLogger log INFO: [ToolBelt] Loading ToolBelt v0.9 Feb 22, 2014 11:52:09 PM org.bukkit.plugin.PluginLogger log INFO: [ToolBelt] Enabling ToolBelt v0.9 Feb 22, 2014 11:52:09 PM com.github.peter200lx.toolbelt.ToolBelt loadConf INFO: [ToolBelt][loadConf] config.yml copied from .jar (likely first run)

Based on the fact that I'm seeing that output, it seems like mcpc-plus is at least loading ToolBelt fine.

Could you please give more information such as where you got your version of mcpc-plus, and a link to the server jar that you are running? I currently do not have enough information to help you. My plugin is written for Bukkit, and I can't guarantee compatibility with other random server types, but I can try and reproduce your problem if you give me more information.

commented

Looks like running the install did the trick. It loads fine now. Thanks for checking into this. I LOVE this mod.

commented

Glad to hear it's working for ya!

commented

Here is good tutorial with scripts that does all of this http://youtu.be/wMfGjSC6O4Q